diff options
author | 2016-12-08 11:51:53 +0100 | |
---|---|---|
committer | 2016-12-08 11:56:09 +0100 | |
commit | b1135432d7b8c91d19fe463308c882880c9d60e7 (patch) | |
tree | bf82ef80d2af1887a512b245c90b01196d771ea3 /vnet | |
parent | 5c3bfab7862cac29aa1c589f89158ec00f99fe19 (diff) |
Fix bug in code for setting dpdk interface descriptors (VPP-552)
Change-Id: I6401b745eeb402ec980e86dc179b774d341c4764
Signed-off-by: Juraj Sloboda <jsloboda@cisco.com>
Diffstat (limited to 'vnet')
-rw-r--r-- | vnet/vnet/devices/dpdk/cli.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vnet/vnet/devices/dpdk/cli.c b/vnet/vnet/devices/dpdk/cli.c index fffa0c9a..538a00fd 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); |