summaryrefslogtreecommitdiffstats
path: root/src/vnet/interface.c
diff options
context:
space:
mode:
authorSteven Luong <sluong@cisco.com>2019-08-27 07:43:27 -0700
committerDave Barach <openvpp@barachs.net>2019-08-27 19:19:23 +0000
commit5ad541eeaa428c6a88c40e2088cdaabc0748c9df (patch)
tree74e3d546fb39effe6cbe596cf3447b63b12274cb /src/vnet/interface.c
parent458089bbad9cf5bef6cf8119f23fc44e66b36ad3 (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
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;