aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/dpdk/device/init.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/init.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/init.c')
-rw-r--r--src/plugins/dpdk/device/init.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/plugins/dpdk/device/init.c b/src/plugins/dpdk/device/init.c
index 80d85a856de..05d1e74f088 100644
--- a/src/plugins/dpdk/device/init.c
+++ b/src/plugins/dpdk/device/init.c
@@ -362,9 +362,6 @@ dpdk_lib_init (dpdk_main_t * dm)
else
last_pci_addr.as_u32 = ~0;
- clib_memcpy (&xd->tx_conf, &di.default_txconf,
- sizeof (struct rte_eth_txconf));
-
if (di.rx_offload_capa & DEV_RX_OFFLOAD_IPV4_CKSUM)
{
xd->port_conf.rxmode.offloads |= DEV_RX_OFFLOAD_IPV4_CKSUM;