summaryrefslogtreecommitdiffstats
path: root/src/plugins/dpdk/device/common.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/dpdk/device/common.c')
-rw-r--r--src/plugins/dpdk/device/common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/dpdk/device/common.c b/src/plugins/dpdk/device/common.c
index 19c0c32243d..f77e377e14c 100644
--- a/src/plugins/dpdk/device/common.c
+++ b/src/plugins/dpdk/device/common.c
@@ -103,12 +103,12 @@ dpdk_device_setup (dpdk_device_t * xd)
for (j = 0; j < xd->conf.n_tx_queues; j++)
{
rv = rte_eth_tx_queue_setup (xd->port_id, j, xd->conf.n_tx_desc,
- xd->cpu_socket, &xd->tx_conf);
+ xd->cpu_socket, 0);
/* retry with any other CPU socket */
if (rv < 0)
rv = rte_eth_tx_queue_setup (xd->port_id, j, xd->conf.n_tx_desc,
- SOCKET_ID_ANY, &xd->tx_conf);
+ SOCKET_ID_ANY, 0);
if (rv < 0)
dpdk_device_error (xd, "rte_eth_tx_queue_setup", rv);