summaryrefslogtreecommitdiffstats
path: root/src/vnet/interface_output.c
diff options
context:
space:
mode:
authorSteven Luong <sluong@cisco.com>2019-08-27 07:43:27 -0700
committerDamjan Marion <dmarion@me.com>2019-09-25 22:06:43 +0000
commit34f17c44729a470e483394adb46d759b525c4b01 (patch)
treec8242159b2cbce7362d12cb805290914c9b0d92c /src/vnet/interface_output.c
parentd4895f2fcf96de62e07569cf831e1d49e33c4fb7 (diff)
interface: Remove residual dpdk bonding code
dpdk bonding code was removed in 19.08. However, there are still references to VNET_SW_INTERFACE_FLAG_BOND_SLAVE which was set by the already removed code. Type: fix Signed-off-by: Steven Luong <sluong@cisco.com> Change-Id: I949a7281e6273f2733dd7532cc4a3bb4f3ce30de (cherry picked from commit 5ad541eeaa428c6a88c40e2088cdaabc0748c9df)
Diffstat (limited to 'src/vnet/interface_output.c')
-rw-r--r--src/vnet/interface_output.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/vnet/interface_output.c b/src/vnet/interface_output.c
index 21a1f84b36e..30462532fed 100644
--- a/src/vnet/interface_output.c
+++ b/src/vnet/interface_output.c
@@ -506,8 +506,7 @@ vnet_interface_output_node_inline_gso (vlib_main_t * vm,
si = vnet_get_sw_interface (vnm, rt->sw_if_index);
hi = vnet_get_sup_hw_interface (vnm, rt->sw_if_index);
- if (!(si->flags & (VNET_SW_INTERFACE_FLAG_ADMIN_UP |
- VNET_SW_INTERFACE_FLAG_BOND_SLAVE)) ||
+ if (!(si->flags & VNET_SW_INTERFACE_FLAG_ADMIN_UP) ||
!(hi->flags & VNET_HW_INTERFACE_FLAG_LINK_UP))
{
vlib_simple_counter_main_t *cm;