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.
v4: * Fixed ESP_IN_UDP macro and moved it to ipsec-secgw application 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 (3): crypto/octeontx2: add UDP encapsulation support 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 | 9 ++ 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 | 3 + examples/ipsec-secgw/ipsec.c | 10 ++ examples/ipsec-secgw/ipsec.h | 2 + examples/ipsec-secgw/sa.c | 18 +++ examples/ipsec-secgw/sad.h | 7 +- 14 files changed, 195 insertions(+), 90 deletions(-) -- 2.27.0