octeontx2-af: Install TC filter rules in hardware based on priority
authorSuman Ghosh <sumang@marvell.com>
Fri, 21 Jul 2023 04:39:25 +0000 (10:09 +0530)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 25 Jul 2023 07:44:19 +0000 (09:44 +0200)
commitec87f05402f592d27507e1aa6b2fd21c486f2cc0
treed2eb6b1faadfd450a490e39caefad61182036c54
parentb8dc6d6ce93142ccd4c976003bb6c25d63aac2ce
octeontx2-af: Install TC filter rules in hardware based on priority

As of today, hardware does not support installing tc filter
rules based on priority. This patch adds support to install
the hardware rules based on priority. The final hardware rules
will not be dependent on rule installation order, it will be strictly
priority based, same as software.

Signed-off-by: Suman Ghosh <sumang@marvell.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Link: https://lore.kernel.org/r/20230721043925.2627806-1-sumang@marvell.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/marvell/octeontx2/af/mbox.h
drivers/net/ethernet/marvell/octeontx2/af/rvu_npc_fs.c
drivers/net/ethernet/marvell/octeontx2/af/rvu_switch.c
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
drivers/net/ethernet/marvell/octeontx2/nic/otx2_devlink.c
drivers/net/ethernet/marvell/octeontx2/nic/otx2_ethtool.c
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
drivers/net/ethernet/marvell/octeontx2/nic/otx2_tc.c