Add rte_security (lookaside protocol - IPsec) support in crypto_cn10k. IPsec operations can be offloaded to CPT's SE and IE engines, which can process IPsec protcol operations including atomic sequence number increment (for outbound operations) and anti replay window check (for inbound operations).
Depends-on: series-17212 ("Add CPT in Marvell CNXK common driver") Depends-on: series-17213 ("Add Marvell CNXK crypto PMDs") Anoob Joseph (1): crypto/cnxk: add security capabilities Srujana Challa (1): crypto/cnxk: add security ctx skeleton Tejasree Kondoj (2): crypto/cnxk: add security session ops crypto/cnxk: add security handling in datapath ops drivers/crypto/cnxk/cn10k_cryptodev.c | 12 + drivers/crypto/cnxk/cn10k_cryptodev_ops.c | 78 +++- drivers/crypto/cnxk/cn10k_ipsec.c | 520 ++++++++++++++++++++++ drivers/crypto/cnxk/cn10k_ipsec.h | 38 ++ drivers/crypto/cnxk/cn10k_ipsec_la_ops.h | 74 +++ drivers/crypto/cnxk/cnxk_cryptodev.h | 4 + drivers/crypto/cnxk/cnxk_cryptodev_capabilities.c | 114 +++++ drivers/crypto/cnxk/cnxk_cryptodev_capabilities.h | 9 +- drivers/crypto/cnxk/cnxk_cryptodev_sec.c | 48 ++ drivers/crypto/cnxk/cnxk_cryptodev_sec.h | 14 + drivers/crypto/cnxk/cnxk_ipsec.h | 18 + drivers/crypto/cnxk/meson.build | 4 +- 12 files changed, 930 insertions(+), 3 deletions(-) create mode 100644 drivers/crypto/cnxk/cn10k_ipsec.c create mode 100644 drivers/crypto/cnxk/cn10k_ipsec.h create mode 100644 drivers/crypto/cnxk/cn10k_ipsec_la_ops.h create mode 100644 drivers/crypto/cnxk/cnxk_cryptodev_sec.c create mode 100644 drivers/crypto/cnxk/cnxk_cryptodev_sec.h create mode 100644 drivers/crypto/cnxk/cnxk_ipsec.h -- 2.7.4