summaryrefslogtreecommitdiff
path: root/drivers/net
diff options
context:
space:
mode:
authorFan Zhang <roy.fan.zhang@intel.com>2019-01-10 14:50:11 +0000
committerPablo de Lara <pablo.de.lara.guarch@intel.com>2019-01-10 16:57:22 +0100
commit725d2a7fbf717d9a6189ac9b49bad2b4f5391a60 (patch)
tree8cbcd118956e2125190f4366c087d4317dce0df1 /drivers/net
parent11fdbf1b78660e058a059b02504065935b9ff730 (diff)
downloaddpdk-725d2a7fbf717d9a6189ac9b49bad2b4f5391a60.zip
dpdk-725d2a7fbf717d9a6189ac9b49bad2b4f5391a60.tar.gz
dpdk-725d2a7fbf717d9a6189ac9b49bad2b4f5391a60.tar.xz
cryptodev: change queue pair configure structure
This patch changes the cryptodev queue pair configure structure to enable two mempool passed into cryptodev PMD simutaneously. Signed-off-by: Fan Zhang <roy.fan.zhang@intel.com> Acked-by: Fiona Trahe <fiona.trahe@intel.com> Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com> Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/softnic/rte_eth_softnic_cryptodev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/softnic/rte_eth_softnic_cryptodev.c b/drivers/net/softnic/rte_eth_softnic_cryptodev.c
index 1480f6d..f031d88 100644
--- a/drivers/net/softnic/rte_eth_softnic_cryptodev.c
+++ b/drivers/net/softnic/rte_eth_softnic_cryptodev.c
@@ -101,7 +101,7 @@ softnic_cryptodev_create(struct pmd_internals *p,
queue_conf.nb_descriptors = params->queue_size;
for (i = 0; i < params->n_queues; i++) {
status = rte_cryptodev_queue_pair_setup(dev_id, i,
- &queue_conf, socket_id, NULL);
+ &queue_conf, socket_id);
if (status < 0)
return NULL;
}