summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorFiona Trahe <fiona.trahe@intel.com>2018-10-26 19:18:30 +0100
committerThomas Monjalon <thomas@monjalon.net>2018-10-27 01:30:21 +0200
commita124830a6f00cf767372f98542449b7470f3dfab (patch)
treef02c8e2508c9543878418f45625cd6e048c38179 /config
parenta72a1ef34e75f40efc0a2051f55d555af9138e9c (diff)
downloaddpdk-a124830a6f00cf767372f98542449b7470f3dfab.zip
dpdk-a124830a6f00cf767372f98542449b7470f3dfab.tar.gz
dpdk-a124830a6f00cf767372f98542449b7470f3dfab.tar.xz
compress/qat: enable dynamic huffman encoding
Enable dynamic huffman encoding in the QAT comp PMD. Signed-off-by: Tomasz Jozwiak <tomaszx.jozwiak@intel.com> Signed-off-by: Fiona Trahe <fiona.trahe@intel.com> Acked-by: Arek Kusztal <arkadiuszx.kusztal@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 38beaab..b68278b 100644
--- a/config/common_base
+++ b/config/common_base
@@ -537,6 +537,7 @@ CONFIG_RTE_LIBRTE_PMD_QAT_SYM=n
#
CONFIG_RTE_PMD_QAT_MAX_PCI_DEVICES=48
CONFIG_RTE_PMD_QAT_COMP_SGL_MAX_SEGMENTS=16
+CONFIG_RTE_PMD_QAT_COMP_IM_BUFFER_SIZE=65536
#
# Compile PMD for virtio crypto devices
diff --git a/config/rte_config.h b/config/rte_config.h
index 816e6f8..333fb0b 100644
--- a/config/rte_config.h
+++ b/config/rte_config.h
@@ -95,6 +95,7 @@
/* 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
+#define RTE_PMD_QAT_COMP_IM_BUFFER_SIZE 65536
/* virtio crypto defines */
#define RTE_MAX_VIRTIO_CRYPTO 32