Re: [net-next PATCH] octeontx2-pf: Install TC filter rules in hardware based on priority

From: Sunil Kovvuri
Date: Wed Jul 12 2023 - 15:17:07 EST


On Thu, Jul 13, 2023 at 12:10 AM Suman Ghosh <sumang@xxxxxxxxxxx> wrote:
>
> 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@xxxxxxxxxxx>
> ---
> .../net/ethernet/marvell/octeontx2/af/mbox.h | 9 +-
> .../marvell/octeontx2/af/rvu_npc_fs.c | 10 +-
> .../marvell/octeontx2/af/rvu_switch.c | 6 +-
> .../marvell/octeontx2/nic/otx2_common.h | 11 +-
> .../marvell/octeontx2/nic/otx2_devlink.c | 1 -
> .../marvell/octeontx2/nic/otx2_flows.c | 2 +
> .../ethernet/marvell/octeontx2/nic/otx2_tc.c | 315 +++++++++++++-----
> 7 files changed, 251 insertions(+), 103 deletions(-)
>

>

Suman,

net-next is not yet open, please check the status here
http://vger.kernel.org/~davem/net-next.html

Thanks,
Sunil.