summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArek Kusztal <arkadiuszx.kusztal@intel.com>2017-01-04 08:37:32 +0000
committerPablo de Lara <pablo.de.lara.guarch@intel.com>2017-01-18 21:48:56 +0100
commit50256b7f008c7f3687b31f4715d204d407f368b3 (patch)
tree37afa20a10b397dedc9d8c1272bf2307dd241152
parentb5350285ce6ef3c66730f5d69f442bddb40f416b (diff)
downloaddpdk-50256b7f008c7f3687b31f4715d204d407f368b3.zip
dpdk-50256b7f008c7f3687b31f4715d204d407f368b3.tar.gz
dpdk-50256b7f008c7f3687b31f4715d204d407f368b3.tar.xz
crypto/qat: add scatter gather to feature flags
This commit adds scatter gather option to Intel(R) QuickAssist Technology driver feature flags. Signed-off-by: Arek Kusztal <arkadiuszx.kusztal@intel.com> Acked-by: Fiona Trahe <fiona.trahe@intel.com>
-rw-r--r--drivers/crypto/qat/rte_qat_cryptodev.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/crypto/qat/rte_qat_cryptodev.c b/drivers/crypto/qat/rte_qat_cryptodev.c
index 1e7ee61..9594067 100644
--- a/drivers/crypto/qat/rte_qat_cryptodev.c
+++ b/drivers/crypto/qat/rte_qat_cryptodev.c
@@ -100,7 +100,8 @@ crypto_qat_dev_init(__attribute__((unused)) struct rte_cryptodev_driver *crypto_
cryptodev->feature_flags = RTE_CRYPTODEV_FF_SYMMETRIC_CRYPTO |
RTE_CRYPTODEV_FF_HW_ACCELERATED |
- RTE_CRYPTODEV_FF_SYM_OPERATION_CHAINING;
+ RTE_CRYPTODEV_FF_SYM_OPERATION_CHAINING |
+ RTE_CRYPTODEV_FF_MBUF_SCATTER_GATHER;
internals = cryptodev->data->dev_private;
internals->max_nb_sessions = RTE_QAT_PMD_MAX_NB_SESSIONS;