summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorFiona Trahe <fiona.trahe@intel.com>2018-06-13 14:14:16 +0200
committerPablo de Lara <pablo.de.lara.guarch@intel.com>2018-06-28 01:25:33 +0200
commit26c198ff344698954a3e335d0e2b769909300eab (patch)
tree694fa18641ece9e994cf607e3bbc3844f81a88b4 /config
parent878a24bdd105f6b4c45f099315405f66dd41c827 (diff)
downloaddpdk-26c198ff344698954a3e335d0e2b769909300eab.zip
dpdk-26c198ff344698954a3e335d0e2b769909300eab.tar.gz
dpdk-26c198ff344698954a3e335d0e2b769909300eab.tar.xz
crypto/qat: add max PCI devices to config file
Added CONFIG_RTE_PMD_QAT_MAX_PCI_DEVICES to build config files. Signed-off-by: Tomasz Jozwiak <tomaszx.jozwiak@intel.com>
Diffstat (limited to 'config')
-rw-r--r--config/common_base4
-rw-r--r--config/rte_config.h2
2 files changed, 6 insertions, 0 deletions
diff --git a/config/common_base b/config/common_base
index fcf3a1f..c290b1c 100644
--- a/config/common_base
+++ b/config/common_base
@@ -495,6 +495,10 @@ CONFIG_RTE_LIBRTE_PMD_QAT_DEBUG_DRIVER=n
# on a single QuickAssist device.
#
CONFIG_RTE_QAT_PMD_MAX_NB_SESSIONS=2048
+#
+# Max. number of QuickAssist devices, which can be detected and attached
+#
+CONFIG_RTE_PMD_QAT_MAX_PCI_DEVICES=48
#
# Compile PMD for virtio crypto devices
diff --git a/config/rte_config.h b/config/rte_config.h
index a1d0175..e353d8d 100644
--- a/config/rte_config.h
+++ b/config/rte_config.h
@@ -91,6 +91,8 @@
*/
/* QuickAssist device */
#define RTE_QAT_PMD_MAX_NB_SESSIONS 2048
+/* Max. number of QuickAssist devices which can be attached */
+#define RTE_PMD_QAT_MAX_PCI_DEVICES 48
/* virtio crypto defines */
#define RTE_VIRTIO_CRYPTO_PMD_MAX_NB_SESSIONS 1024