summaryrefslogtreecommitdiffstats
path: root/src/vnet/interface/runtime.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet/interface/runtime.c')
-rw-r--r--src/vnet/interface/runtime.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/vnet/interface/runtime.c b/src/vnet/interface/runtime.c
index f4c09beffd7..019d3ee28d0 100644
--- a/src/vnet/interface/runtime.c
+++ b/src/vnet/interface/runtime.c
@@ -103,20 +103,12 @@ vnet_hw_if_update_runtime_data (vnet_main_t *vnm, u32 hw_if_index)
pool_foreach (rxq, im->hw_if_rx_queues)
{
u32 ti = rxq->thread_index;
- uword flags;
hi = vnet_get_hw_interface (vnm, rxq->hw_if_index);
if (hi->input_node_index != node_index)
continue;
- flags = vnet_sw_interface_get_flags (vnm, hi->sw_if_index);
- if ((flags & VNET_SW_INTERFACE_FLAG_ADMIN_UP) == 0)
- {
- log_debug ("skip interface %v (admin down)", hi->name);
- continue;
- }
-
if (rxq->mode == VNET_HW_IF_RX_MODE_INTERRUPT ||
rxq->mode == VNET_HW_IF_RX_MODE_ADAPTIVE)
last_int = clib_max (last_int, rxq - im->hw_if_rx_queues);