octeontx2-af: Add filter profiles in hardware to extract packet headers
authorSuman Ghosh <sumang@marvell.com>
Wed, 24 Jan 2024 09:53:38 +0000 (15:23 +0530)
committerDavid S. Miller <davem@davemloft.net>
Mon, 29 Jan 2024 11:28:41 +0000 (11:28 +0000)
commitc57e32fb29f20535bfa8b5ec45285d0bf0370ecd
treea97e51fec76a128d4d57a2e1a6c3037a347f12c7
parentbeb53f32698ff9cd0ca442c1f856ea0ecfb82be3
octeontx2-af: Add filter profiles in hardware to extract packet headers

This patch adds hardware profile supports for extracting packet headers.
It makes sure that hardware is capabale of extracting ICMP, CPT, ERSPAN
headers.

Signed-off-by: Suman Ghosh <sumang@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/octeontx2/af/mbox.h
drivers/net/ethernet/marvell/octeontx2/af/npc.h
drivers/net/ethernet/marvell/octeontx2/af/npc_profile.h
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c