net/octeontx2: add replay check for inline inbound packets
authorAnkur Dwivedi <adwivedi@marvell.com>
Fri, 18 Sep 2020 11:09:43 +0000 (16:39 +0530)
committerAkhil Goyal <akhil.goyal@nxp.com>
Wed, 14 Oct 2020 20:22:06 +0000 (22:22 +0200)
commitd698fa5469acab59e935e13ffe453b77be9c69ac
treee598213418d90f3055e6decc7f626b5df84dc0f0
parente91b4f45ff548c1bbcdc478a3a2a63bbcf181799
net/octeontx2: add replay check for inline inbound packets

The function handling anti replay is added. If replay window
is enabled the rx packets will be validated against the window. The
rx offload fails in case of error.

Signed-off-by: Ankur Dwivedi <adwivedi@marvell.com>
Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
drivers/crypto/octeontx2/otx2_ipsec_anti_replay.h [new file with mode: 0644]
drivers/net/octeontx2/otx2_rx.h