dpdk: deprecate ipsec backend
Type: refactor DPDK crypto devices are now accessible via the async infra, so there is no need for the DPDK ipsec plugin. In addition this patch fixes the problem that cryptodev backend not working when master core and worker cores lies in different numa nodes. Signed-off-by: Fan Zhang <roy.fan.zhang@intel.com> Signed-off-by: Neale Ranns <neale@graphiant.com> Change-Id: Ie8516bea706248c7bc25abac53a9c656bb8247d9
This commit is contained in:
@ -117,8 +117,7 @@ dpdk_esp_encrypt_inline (vlib_main_t * vm,
|
||||
{
|
||||
u32 n_left_from, *from, *to_next, next_index, thread_index;
|
||||
ipsec_main_t *im = &ipsec_main;
|
||||
vnet_main_t *vnm = im->vnet_main;
|
||||
vnet_interface_main_t *vim = &vnm->interface_main;
|
||||
vnet_main_t *vnm = vnet_get_main ();
|
||||
u32 thread_idx = vlib_get_thread_index ();
|
||||
dpdk_crypto_main_t *dcm = &dpdk_crypto_main;
|
||||
crypto_resource_t *res = 0;
|
@ -18,6 +18,7 @@
|
||||
#include <vnet/vnet.h>
|
||||
#include <vppinfra/cache.h>
|
||||
#include <vnet/ipsec/ipsec.h>
|
||||
#include <vnet/ipsec/ipsec_sa.h>
|
||||
|
||||
#undef always_inline
|
||||
#include <rte_config.h>
|
@ -134,24 +134,15 @@ add_vpp_plugin(dpdk
|
||||
device/format.c
|
||||
device/init.c
|
||||
device/node.c
|
||||
ipsec/cli.c
|
||||
ipsec/crypto_node.c
|
||||
ipsec/esp_decrypt.c
|
||||
ipsec/esp_encrypt.c
|
||||
ipsec/ipsec.c
|
||||
cryptodev/${DPDK_CRYPTODEV_SOURCE}.c
|
||||
|
||||
MULTIARCH_SOURCES
|
||||
buffer.c
|
||||
device/device.c
|
||||
device/node.c
|
||||
ipsec/crypto_node.c
|
||||
ipsec/esp_decrypt.c
|
||||
ipsec/esp_encrypt.c
|
||||
|
||||
INSTALL_HEADERS
|
||||
device/dpdk.h
|
||||
ipsec/ipsec.h
|
||||
|
||||
LINK_FLAGS
|
||||
"${DPDK_LINK_FLAGS}"
|
||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user