aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/dpdk/device/common.c
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2022-01-05 21:26:51 +0100
committerFlorin Coras <florin.coras@gmail.com>2022-01-05 22:05:39 +0000
commitdd801665604e94139c5ee0b3efe3fa2a3bd6e433 (patch)
treec00a76f04f8ccdc82be685c2376073a170ea1290 /src/plugins/dpdk/device/common.c
parentdbec8fa67f3910c2f6db9f302d3aed3e3c5226af (diff)
dpdk: no need to copy default tx conf
Type: improvement Change-Id: Ifd5201c101da7f4fb63f9b64280a6ec35b2af6a0 Signed-off-by: Damjan Marion <damarion@cisco.com>
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);