diff options
author | Suman Ghosh <sumang@marvell.com> | 2023-07-21 07:39:25 +0300 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2023-07-25 10:44:19 +0300 |
commit | ec87f05402f592d27507e1aa6b2fd21c486f2cc0 (patch) | |
tree | d2eb6b1faadfd450a490e39caefad61182036c54 /drivers/net/ethernet/marvell/octeontx2/nic/otx2_devlink.c | |
parent | b8dc6d6ce93142ccd4c976003bb6c25d63aac2ce (diff) | |
download | linux-ec87f05402f592d27507e1aa6b2fd21c486f2cc0.tar.xz |
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>
Diffstat (limited to 'drivers/net/ethernet/marvell/octeontx2/nic/otx2_devlink.c')
-rw-r--r-- | drivers/net/ethernet/marvell/octeontx2/nic/otx2_devlink.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/marvell/octeontx2/nic/otx2_devlink.c b/drivers/net/ethernet/marvell/octeontx2/nic/otx2_devlink.c index 63ef7c41d18d..4e1130496573 100644 --- a/drivers/net/ethernet/marvell/octeontx2/nic/otx2_devlink.c +++ b/drivers/net/ethernet/marvell/octeontx2/nic/otx2_devlink.c @@ -41,7 +41,6 @@ static int otx2_dl_mcam_count_set(struct devlink *devlink, u32 id, return 0; otx2_alloc_mcam_entries(pfvf, ctx->val.vu16); - otx2_tc_alloc_ent_bitmap(pfvf); return 0; } |