]> www.infradead.org Git - users/hch/xfs.git/commit
octeontx2-af: fix detection of IP layer
authorMichal Mazur <mmazur2@marvell.com>
Wed, 10 Jul 2024 07:51:25 +0000 (13:21 +0530)
committerDavid S. Miller <davem@davemloft.net>
Fri, 12 Jul 2024 12:42:00 +0000 (13:42 +0100)
commit404dc0fd6fb0bb942b18008c6f8c0320b80aca20
treef5020049a6f24d9b41a237ec9ab5013f6f79d8d7
parent845fe19139ab5a1ee303a3bee327e3191c3938af
octeontx2-af: fix detection of IP layer

Checksum and length checks are not enabled for IPv4 header with
options and IPv6 with extension headers.
To fix this a change in enum npc_kpu_lc_ltype is required which will
allow adjustment of LTYPE_MASK to detect all types of IP headers.

Fixes: 21e6699e5cd6 ("octeontx2-af: Add NPC KPU profile")
Signed-off-by: Michal Mazur <mmazur2@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/octeontx2/af/npc.h