summaryrefslogtreecommitdiff
path: root/config/rte_config.h
diff options
context:
space:
mode:
authorAbhinandan Gujjar <abhinandan.gujjar@intel.com>2018-05-09 13:47:59 +0530
committerJerin Jacob <jerin.jacob@caviumnetworks.com>2018-05-10 14:08:46 +0200
commit7901eac3409a0d74acb38087d929e4a0b0ffca6e (patch)
tree65e30ae560b7dfde20e6f48f0e249ae94031529d /config/rte_config.h
parent9dc1bd7326324d29cf13d117836b5376a62814a4 (diff)
downloaddpdk-7901eac3409a0d74acb38087d929e4a0b0ffca6e.zip
dpdk-7901eac3409a0d74acb38087d929e4a0b0ffca6e.tar.gz
dpdk-7901eac3409a0d74acb38087d929e4a0b0ffca6e.tar.xz
eventdev: add crypto adapter implementation
This patch adds common code for the crypto adapter to support SW and HW based transfer mechanisms. The adapter uses an EAL service core function for SW based packet transfer and uses the eventdev PMD functions to configure HW based packet transfer between the crypto device and the event device. This patch also adds adapter to the meson build system & updates the necessary makefile & map file. Signed-off-by: Abhinandan Gujjar <abhinandan.gujjar@intel.com> Signed-off-by: Nikhil Rao <nikhil.rao@intel.com> Signed-off-by: Gage Eads <gage.eads@intel.com> Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
Diffstat (limited to 'config/rte_config.h')
-rw-r--r--config/rte_config.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/rte_config.h b/config/rte_config.h
index 6d2fa79..04f6377 100644
--- a/config/rte_config.h
+++ b/config/rte_config.h
@@ -61,6 +61,7 @@
#define RTE_EVENT_MAX_DEVS 16
#define RTE_EVENT_MAX_QUEUES_PER_DEV 64
#define RTE_EVENT_TIMER_ADAPTER_NUM_MAX 32
+#define RTE_EVENT_CRYPTO_ADAPTER_MAX_INSTANCE 32
/* rawdev defines */
#define RTE_RAWDEV_MAX_DEVS 10