summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorFiona Trahe <fiona.trahe@intel.com>2018-07-23 14:06:51 +0100
committerPablo de Lara <pablo.de.lara.guarch@intel.com>2018-07-25 08:19:54 +0200
commit1947bd18580bfd2eff1f72913fe140df9cda60fd (patch)
treef38e1057da33476871da187ae7dab404f3e47e37 /config
parent944027acd48e59611c88d2ce76d7c7286cd6c9d3 (diff)
downloaddpdk-1947bd18580bfd2eff1f72913fe140df9cda60fd.zip
dpdk-1947bd18580bfd2eff1f72913fe140df9cda60fd.tar.gz
dpdk-1947bd18580bfd2eff1f72913fe140df9cda60fd.tar.xz
compress/qat: support scatter-gather buffers
This patch adds Scatter-Gather List (SGL) feature to QAT compression PMD. Signed-off-by: Tomasz Jozwiak <tomaszx.jozwiak@intel.com> Signed-off-by: Fiona Trahe <fiona.trahe@intel.com>
Diffstat (limited to 'config')
-rw-r--r--config/common_base1
-rw-r--r--config/rte_config.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/config/common_base b/config/common_base
index a061c21..6d82b91 100644
--- a/config/common_base
+++ b/config/common_base
@@ -499,6 +499,7 @@ CONFIG_RTE_LIBRTE_PMD_QAT_SYM=n
# Max. number of QuickAssist devices, which can be detected and attached
#
CONFIG_RTE_PMD_QAT_MAX_PCI_DEVICES=48
+CONFIG_RTE_PMD_QAT_COMP_SGL_MAX_SEGMENTS=16
#
# Compile PMD for virtio crypto devices
diff --git a/config/rte_config.h b/config/rte_config.h
index 28f04b4..a8e4797 100644
--- a/config/rte_config.h
+++ b/config/rte_config.h
@@ -89,6 +89,7 @@
/* QuickAssist device */
/* Max. number of QuickAssist devices which can be attached */
#define RTE_PMD_QAT_MAX_PCI_DEVICES 48
+#define RTE_PMD_QAT_COMP_SGL_MAX_SEGMENTS 16
/* virtio crypto defines */
#define RTE_MAX_VIRTIO_CRYPTO 32