summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorPablo de Lara <pablo.de.lara.guarch@intel.com>2018-07-05 03:07:58 +0100
committerPablo de Lara <pablo.de.lara.guarch@intel.com>2018-07-11 03:57:24 +0200
commite1fc5b7690a8e913367c7c6f14c08a5ec750419e (patch)
tree81d330eba9c64a5f197697ed0856b01510c365fe /config
parent2925e0c190f57dccf31b5b716f50a83fd469d123 (diff)
downloaddpdk-e1fc5b7690a8e913367c7c6f14c08a5ec750419e.zip
dpdk-e1fc5b7690a8e913367c7c6f14c08a5ec750419e.tar.gz
dpdk-e1fc5b7690a8e913367c7c6f14c08a5ec750419e.tar.xz
cryptodev: remove max number of sessions parameter
Most crypto PMDs do not have a limitation of the number of the sessions that can be handled internally. The value that was set before was not actually used at all, since the sessions are created at the application level. Therefore, this value is not parsed from the initial crypto parameters anymore and it is set to 0, meaning that there is no actual limit. Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com> Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
Diffstat (limited to 'config')
-rw-r--r--config/common_base7
-rw-r--r--config/rte_config.h7
2 files changed, 0 insertions, 14 deletions
diff --git a/config/common_base b/config/common_base
index b69b2da..e4241db 100644
--- a/config/common_base
+++ b/config/common_base
@@ -470,14 +470,12 @@ CONFIG_RTE_LIBRTE_PMD_ARMV8_CRYPTO_DEBUG=n
# Compile NXP DPAA2 crypto sec driver for CAAM HW
#
CONFIG_RTE_LIBRTE_PMD_DPAA2_SEC=n
-CONFIG_RTE_DPAA2_SEC_PMD_MAX_NB_SESSIONS=2048
#
# NXP DPAA caam - crypto driver
#
CONFIG_RTE_LIBRTE_PMD_DPAA_SEC=n
CONFIG_RTE_LIBRTE_DPAA_MAX_CRYPTODEV=4
-CONFIG_RTE_DPAA_SEC_PMD_MAX_NB_SESSIONS=2048
#
# Compile PMD for QuickAssist based devices
@@ -496,11 +494,6 @@ CONFIG_RTE_LIBRTE_PMD_VIRTIO_CRYPTO=y
# Number of maximum virtio crypto devices
#
CONFIG_RTE_MAX_VIRTIO_CRYPTO=32
-#
-# Number of sessions to create in the session memory pool
-# on a single virtio crypto device.
-#
-CONFIG_RTE_VIRTIO_CRYPTO_PMD_MAX_NB_SESSIONS=1024
#
# Compile PMD for AESNI backed device
diff --git a/config/rte_config.h b/config/rte_config.h
index 0ba0ead..8a3432a 100644
--- a/config/rte_config.h
+++ b/config/rte_config.h
@@ -90,15 +90,8 @@
#define RTE_PMD_QAT_MAX_PCI_DEVICES 48
/* virtio crypto defines */
-#define RTE_VIRTIO_CRYPTO_PMD_MAX_NB_SESSIONS 1024
#define RTE_MAX_VIRTIO_CRYPTO 32
-/* DPAA2_SEC */
-#define RTE_DPAA2_SEC_PMD_MAX_NB_SESSIONS 2048
-
-/* DPAA_SEC */
-#define RTE_DPAA_SEC_PMD_MAX_NB_SESSIONS 2048
-
/* DPAA SEC max cryptodev devices*/
#define RTE_LIBRTE_DPAA_MAX_CRYPTODEV 4