summaryrefslogtreecommitdiffstats
path: root/src/vnet/interface.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.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.c')
-rw-r--r--src/vnet/interface.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/vnet/interface.c b/src/vnet/interface.c
index 889ba50cc7a..9aaca46f74a 100644
--- a/src/vnet/interface.c
+++ b/src/vnet/interface.c
@@ -394,15 +394,6 @@ vnet_sw_interface_set_flags_helper (vnet_main_t * vnm, u32 sw_if_index,
}
}
- /* Do not change state for slave link of bonded interfaces */
- if (si->flags & VNET_SW_INTERFACE_FLAG_BOND_SLAVE)
- {
- error = clib_error_return
- (0, "not allowed as %U belong to a BondEthernet interface",
- format_vnet_sw_interface_name, vnm, si);
- goto done;
- }
-
/* Already in the desired state? */
if ((si->flags & mask) == flags)
goto done;