summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhers <s3m2e1.6star@gmail.com>2018-09-04 16:30:37 +0430
committerDamjan Marion <dmarion@me.com>2018-09-12 10:10:57 +0000
commit0b48cdead5adf07fe684bd909a6f5282e249184c (patch)
tree892c704cadbc9e2b3e5818d9ea14be619ec140c6
parent768c290093083f9be00e86df58c65e316ddf3e00 (diff)
device flags will set in dpdk_update_link_state.
Change-Id: If74acb0168bed2201d2a8b47bf3f860540d1574b Signed-off-by: Khers <s3m2e1.6star@gmail.com>
-rw-r--r--src/plugins/dpdk/device/device.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/plugins/dpdk/device/device.c b/src/plugins/dpdk/device/device.c
index fcabe6e2dd6..b4001337aca 100644
--- a/src/plugins/dpdk/device/device.c
+++ b/src/plugins/dpdk/device/device.c
@@ -450,8 +450,6 @@ dpdk_interface_admin_up_down (vnet_main_t * vnm, u32 hw_if_index, u32 flags)
if (is_up)
{
- vnet_hw_interface_set_flags (vnm, xd->hw_if_index,
- VNET_HW_INTERFACE_FLAG_LINK_UP);
if ((xd->flags & DPDK_DEVICE_FLAG_ADMIN_UP) == 0)
dpdk_device_start (xd);
xd->flags |= DPDK_DEVICE_FLAG_ADMIN_UP;