This RFC is an update for the existing RFC IPSec Inline and look aside crypto offload http://dpdk.org/ml/archives/dev/2017-August/072900.html
It provides a few updates on the general rte_security APIs, adds security ops struct pointer to the net devices, implements the support on the IXGBE PMD and support in the IPsec sample application. Radu Nicolau (5): mbuff: added security offload flags ethdev: added security ops struct pointer rte_security: updates and enabled security operations for ethdev ixgbe: enable inline ipsec examples/ipsec-secgw: enabled inline ipsec config/common_base | 1 + drivers/net/ixgbe/Makefile | 4 +- drivers/net/ixgbe/ixgbe_ethdev.c | 3 + drivers/net/ixgbe/ixgbe_ethdev.h | 10 +- drivers/net/ixgbe/ixgbe_ipsec.c | 617 +++++++++++++++++++++++++ drivers/net/ixgbe/ixgbe_ipsec.h | 142 ++++++ drivers/net/ixgbe/ixgbe_rxtx.c | 33 +- drivers/net/ixgbe/ixgbe_rxtx_vec_sse.c | 44 ++ examples/ipsec-secgw/esp.c | 26 +- examples/ipsec-secgw/ipsec.c | 61 ++- examples/ipsec-secgw/ipsec.h | 2 + examples/ipsec-secgw/sa.c | 65 ++- lib/Makefile | 1 + lib/librte_cryptodev/rte_cryptodev_pmd.h | 4 +- lib/librte_cryptodev/rte_cryptodev_version.map | 10 + lib/librte_cryptodev/rte_security.c | 34 +- lib/librte_cryptodev/rte_security.h | 12 +- lib/librte_ether/rte_ethdev.h | 1 + lib/librte_mbuf/rte_mbuf.h | 19 +- 19 files changed, 1036 insertions(+), 53 deletions(-) create mode 100644 drivers/net/ixgbe/ixgbe_ipsec.c create mode 100644 drivers/net/ixgbe/ixgbe_ipsec.h -- 2.7.5