Add spinlock to bonding rx and tx queues. Take spinlock in rx and tx burst functions. Take all spinlocks in slave add and remove functions. With spinlocks in place remove memcpy of slaves.
Changes in v3: Rebase to latest master. Drop patches 4 and 5 from v2 patchset. Update commit messages on patches. Changes in v2: Replace patch 1. Add patch 2 and reorder patches. Add spinlock to bonding rx and tx queues. Take all spinlocks in slave add and remove functions. Replace readlocks with spinlocks. Bernard Iremonger (4): bonding: add spinlock to rx and tx queues bonding: grab queue spinlocks in slave add and remove bonding: take queue spinlock in rx/tx burst functions bonding: remove memcpy from burst functions drivers/net/bonding/rte_eth_bond_api.c | 52 +++++++- drivers/net/bonding/rte_eth_bond_pmd.c | 189 ++++++++++++++++++----------- drivers/net/bonding/rte_eth_bond_private.h | 4 +- 3 files changed, 167 insertions(+), 78 deletions(-) -- 2.6.3