net/octeontx2: support non-ethernet L2 header
authorAnoob Joseph <anoobj@marvell.com>
Thu, 1 Jul 2021 09:29:29 +0000 (14:59 +0530)
committerJerin Jacob <jerinj@marvell.com>
Mon, 12 Jul 2021 12:04:42 +0000 (14:04 +0200)
commitec8f303c6574981781b3de29c315d7fc3e8d6098
tree90f16cfb6893f5ca7714954d85486d827df74fb1
parent71c5085bfbe09b1dd93b0691ecfdf626ac1e9e12
net/octeontx2: support non-ethernet L2 header

In the inline inound path, a custom header would be present at L3 which
has sequence number & SPI. L2 need to be adjusted such that the eventual
packet would have L3 after L2. Remove assumption of L2 type in this
handling.

Signed-off-by: Anoob Joseph <anoobj@marvell.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
drivers/crypto/octeontx2/otx2_ipsec_anti_replay.h
drivers/crypto/octeontx2/otx2_ipsec_fp.h
drivers/net/octeontx2/otx2_rx.h