aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/bonding/cli.c
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2018-09-21 18:11:33 +0200
committerDamjan Marion <dmarion@me.com>2018-09-26 08:11:53 +0000
commitcefe1341c6a536ebe161d97ab6fb10db95e57d05 (patch)
tree1e5c664f00591459b62ca487434c6fbc96bff586 /src/vnet/bonding/cli.c
parentf0b42f48b8a1dc582a230b195c855789189ff233 (diff)
bond: tx perf improvements
Change-Id: I0c3f2add35ad9fc11308b7a2a2c69ffd8472dd2e Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vnet/bonding/cli.c')
-rw-r--r--src/vnet/bonding/cli.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/vnet/bonding/cli.c b/src/vnet/bonding/cli.c
index 83a512ea8bc..ec34b47351e 100644
--- a/src/vnet/bonding/cli.c
+++ b/src/vnet/bonding/cli.c
@@ -456,7 +456,6 @@ bond_enslave (vlib_main_t * vm, bond_enslave_args_t * args)
}
pool_get (bm->neighbors, sif);
memset (sif, 0, sizeof (*sif));
- clib_spinlock_init (&sif->lockp);
sw = pool_elt_at_index (im->sw_interfaces, args->slave);
sif->port_enabled = sw->flags & VNET_SW_INTERFACE_FLAG_ADMIN_UP;
sif->sw_if_index = sw->sw_if_index;