aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/dpdk/device/format.c
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2017-04-05 12:28:38 +0200
committerDave Barach <openvpp@barachs.net>2017-04-11 16:26:11 +0000
commit3a7956383420a1d2f5f28b5bd3d3b3f5dda0420d (patch)
tree88b0ba24635a6d100faee5de26f15a84c2cdd27d /src/plugins/dpdk/device/format.c
parent361abefcf86abeafc02a16d2a73e00409af5e66a (diff)
dpdk: use common interface placement infra
This pathch deprecates "show dpdk placement" and "set dpdk placement" CLI commands. Change-Id: I4e052ec3e8b8e6c54b4816e1e689e5b7a24892db Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/plugins/dpdk/device/format.c')
-rw-r--r--src/plugins/dpdk/device/format.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/dpdk/device/format.c b/src/plugins/dpdk/device/format.c
index a09a3f83b57..f1cca3f7e5f 100644
--- a/src/plugins/dpdk/device/format.c
+++ b/src/plugins/dpdk/device/format.c
@@ -295,7 +295,7 @@ format_dpdk_link_status (u8 * s, va_list * args)
dpdk_device_t *xd = va_arg (*args, dpdk_device_t *);
struct rte_eth_link *l = &xd->link;
vnet_main_t *vnm = vnet_get_main ();
- vnet_hw_interface_t *hi = vnet_get_hw_interface (vnm, xd->vlib_hw_if_index);
+ vnet_hw_interface_t *hi = vnet_get_hw_interface (vnm, xd->hw_if_index);
s = format (s, "%s ", l->link_status ? "up" : "down");
if (l->link_status)