]> git.baikalelectronics.ru Git - kernel.git/commit
octeontx2-af: cn10k: mcs: Install a default TCAM for normal traffic
authorGeetha sowjanya <gakula@marvell.com>
Sat, 1 Oct 2022 04:59:45 +0000 (10:29 +0530)
committerDavid S. Miller <davem@davemloft.net>
Mon, 3 Oct 2022 11:50:19 +0000 (12:50 +0100)
commit3433ef6a122ebc72cc857a29263be2adfdd0bfde
tree3e9c6c8a88b834bd4dd8b861873b553d0cbe03b8
parent0d3300b2bb03f61fb79644e0e9fc07b96aee6187
octeontx2-af: cn10k: mcs: Install a default TCAM for normal traffic

Out of all the TCAM entries, reserve last TX and RX TCAM flow
entry(low priority) so that normal traffic can be sent out and
received. The traffic which needs macsec processing hits the
high priority TCAM flows. Also install a FLR handler to free
the allocated resources for PF/VF.

Signed-off-by: Geetha sowjanya <gakula@marvell.com>
Signed-off-by: Sunil Goutham <sgoutham@marvell.com>
Signed-off-by: Subbaraya Sundeep <sbhatta@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/octeontx2/af/mcs.c
drivers/net/ethernet/marvell/octeontx2/af/mcs_rvu_if.c
drivers/net/ethernet/marvell/octeontx2/af/rvu.h