dpdk-ipsec: store buffer index into crypto-op private 47/17547/5
authorKingwel Xie <kingwel.xie@ericsson.com>
Wed, 13 Feb 2019 07:48:41 +0000 (02:48 -0500)
committerSergio Gonzalez Monroy <sergio.gonzalez.monroy@outlook.com>
Fri, 15 Feb 2019 14:58:33 +0000 (14:58 +0000)
commit3b3464eef5914d33e0925d6c2122c08b18c904f7
tree4e1a319969cdd45c75d1f656998bdd269e887593
parentf620f665ad27e2b6c9d3999ddbb134414d8d076e
dpdk-ipsec: store buffer index into crypto-op private

don't have to convert from mbuf to vlib_buffer then buffer index
save a few clock cycles in crypto-input

plus, a bit improvements of CLI
1. show more information, resource placement & qp stats
2. clear dpdk qp statistics

cleanup cli as sugguested by Sergio Gonzalez Monroy

Change-Id: Ic4fd65bfa9a6b05b344a9a40c554990dde072d19
Signed-off-by: Kingwel Xie <kingwel.xie@ericsson.com>
src/plugins/dpdk/ipsec/cli.c
src/plugins/dpdk/ipsec/crypto_node.c
src/plugins/dpdk/ipsec/esp_decrypt.c
src/plugins/dpdk/ipsec/esp_encrypt.c
src/plugins/dpdk/ipsec/ipsec.h