This series adds lookaside IPsec UDP encapsulation and transport mode support. The functionality has been tested with ipsec-secgw application running in lookaside protocol offload mode.
v3: * Supported UDP encapsulation for IPv6 packets * Fixed if condition v2: * Supported per SA UDP encapsulation in ipsec-secgw * Added new packet type for UDP-ESP packets in mbuf Tejasree Kondoj (4): crypto/octeontx2: add UDP encapsulation support mbuf: add packet type for UDP-ESP tunnel packets examples/ipsec-secgw: add UDP encapsulation support crypto/octeontx2: support lookaside IPv4 transport mode doc/guides/cryptodevs/octeontx2.rst | 2 + doc/guides/rel_notes/release_21_05.rst | 14 ++ doc/guides/sample_app_ug/ipsec_secgw.rst | 15 +- drivers/crypto/octeontx2/otx2_cryptodev_ops.c | 7 +- drivers/crypto/octeontx2/otx2_cryptodev_sec.c | 145 +++++++++--------- drivers/crypto/octeontx2/otx2_cryptodev_sec.h | 4 +- drivers/crypto/octeontx2/otx2_ipsec_po.h | 6 + drivers/crypto/octeontx2/otx2_ipsec_po_ops.h | 8 +- examples/ipsec-secgw/ipsec-secgw.c | 49 +++++- examples/ipsec-secgw/ipsec-secgw.h | 2 + examples/ipsec-secgw/ipsec.c | 9 ++ examples/ipsec-secgw/ipsec.h | 2 + examples/ipsec-secgw/sa.c | 18 +++ examples/ipsec-secgw/sad.h | 6 +- lib/librte_mbuf/rte_mbuf_ptype.h | 21 +++ 15 files changed, 218 insertions(+), 90 deletions(-) -- 2.27.0