octeontx2-af: Limit KPU parsing for GTPU packets
authorKiran Kumar K <kirankumark@marvell.com>
Fri, 24 Sep 2021 06:18:50 +0000 (11:48 +0530)
committerDavid S. Miller <davem@davemloft.net>
Sun, 26 Sep 2021 10:26:17 +0000 (11:26 +0100)
commit2fae469ae23849036185e758527583dd7cab2723
tree0e42fee65463380739584274dce1d61b6361d75d
parent24aa160d537534812b0040666378f94c09eed3bf
octeontx2-af: Limit KPU parsing for GTPU packets

With current KPU profile, while parsing GTPU packets, GTPU payload
is also being parsed and GTPU PDU payload is being treated as IPV4
data, which is not correct. In case of GTPU packets, parsing should
be stopped after identifying the GTPU. Adding changes to limit KPU
profile parsing for GTPU payload.

Signed-off-by: Kiran Kumar K <kirankumark@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/octeontx2/af/npc_profile.h