octeontx2-pf: offload DMAC filters to CGX/RPM block
DMAC filtering can be achieved by either NPC MCAM rules or CGX/RPM MAC filters. Currently we are achieving this by NPC MCAM rules. This patch offloads DMAC filters to CGX/RPM MAC filters instead of NPC MCAM rules. Offloading DMAC filter to CGX/RPM block helps in reducing traffic to NPC block and save MCAM rules Signed-off-by:Hariprasad Kelam <hkelam@marvell.com> Signed-off-by:
Sunil Kovvuri Goutham <sgoutham@marvell.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- drivers/net/ethernet/marvell/octeontx2/nic/Makefile 1 addition, 1 deletiondrivers/net/ethernet/marvell/octeontx2/nic/Makefile
- drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c 3 additions, 0 deletionsdrivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c
- drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h 11 additions, 0 deletionsdrivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
- drivers/net/ethernet/marvell/octeontx2/nic/otx2_dmac_flt.c 173 additions, 0 deletionsdrivers/net/ethernet/marvell/octeontx2/nic/otx2_dmac_flt.c
- drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c 220 additions, 9 deletionsdrivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
- drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c 9 additions, 0 deletionsdrivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c
Please register or sign in to comment