dpdk/ipsec: rework plus improved cli commands 18/8518/5
authorSergio Gonzalez Monroy <sergio.gonzalez.monroy@intel.com>
Sat, 26 Aug 2017 14:22:05 +0000 (15:22 +0100)
committerDamjan Marion <dmarion.lists@gmail.com>
Thu, 5 Oct 2017 09:54:34 +0000 (09:54 +0000)
commitdb93cd971320301eb21403caabada7a3ec6a4cce
tree01c57f4f476a97805411a74d665eedb72331f91e
parent7939f904600018aeed9d8cc9d19ca37c7e96f3d1
dpdk/ipsec: rework plus improved cli commands

This patch reworks the DPDK ipsec implementation including the cryptodev
management as well as replacing new cli commands for better usability.

For the data path:
 - The dpdk-esp-encrypt-post node is not necessary anymore.
 - IPv4 packets in the decrypt path are sent to ip4-input-no-checksum instead
 of ip4-input.

The DPDK cryptodev cli commands are replaced by the following new commands:
 - show dpdk crypto devices
 - show dpdk crypto placement [verbose]
 - set dpdk crypto placement (<device> <thread> | auto)
 - clear dpdk crypto placement <device> [<thread>]
 - show dpdk crypto pools

Change-Id: I47324517ede82d3e6e0e9f9c71c1a3433714b27b
Signed-off-by: Sergio Gonzalez Monroy <sergio.gonzalez.monroy@intel.com>
15 files changed:
dpdk/Makefile
src/plugins/dpdk.am
src/plugins/dpdk/ipsec/cli.c
src/plugins/dpdk/ipsec/crypto_node.c
src/plugins/dpdk/ipsec/esp.h [deleted file]
src/plugins/dpdk/ipsec/esp_decrypt.c
src/plugins/dpdk/ipsec/esp_encrypt.c
src/plugins/dpdk/ipsec/ipsec.c
src/plugins/dpdk/ipsec/ipsec.h
src/vnet.am
src/vnet/ipsec/esp.h
src/vnet/ipsec/esp_format.c [new file with mode: 0644]
src/vnet/ipsec/ipsec.c
src/vnet/ipsec/ipsec.h
src/vnet/ipsec/ipsec_if.c