summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuraj Sloboda <jsloboda@cisco.com>2016-12-08 11:51:53 +0100
committerJuraj Sloboda <jsloboda@cisco.com>2016-12-08 11:56:09 +0100
commitb1135432d7b8c91d19fe463308c882880c9d60e7 (patch)
treebf82ef80d2af1887a512b245c90b01196d771ea3
parent5c3bfab7862cac29aa1c589f89158ec00f99fe19 (diff)
Fix bug in code for setting dpdk interface descriptors (VPP-552)
Change-Id: I6401b745eeb402ec980e86dc179b774d341c4764 Signed-off-by: Juraj Sloboda <jsloboda@cisco.com>
-rw-r--r--vnet/vnet/devices/dpdk/cli.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vnet/vnet/devices/dpdk/cli.c b/vnet/vnet/devices/dpdk/cli.c
index fffa0c9afe0..538a00fd975 100644
--- a/vnet/vnet/devices/dpdk/cli.c
+++ b/vnet/vnet/devices/dpdk/cli.c
@@ -307,7 +307,7 @@ set_dpdk_if_desc (vlib_main_t * vm, unformat_input_t * input,
xd->nb_rx_desc = nb_rx_desc;
if (nb_tx_desc != (u32) ~ 0)
- xd->nb_rx_desc = nb_rx_desc;
+ xd->nb_tx_desc = nb_tx_desc;
rv = dpdk_port_setup (dm, xd);