From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernard Iremonger Subject: [PATCH v2 0/6] bonding: locks Date: Thu, 26 May 2016 17:38:41 +0100 Message-ID: <1464280727-25752-1-git-send-email-bernard.iremonger@intel.com> References: <1462461300-9962-1-git-send-email-bernard.iremonger@intel.com> Cc: declan.doherty@intel.com, konstantin.ananyev@intel.com, Bernard Iremonger To: dev@dpdk.org Return-path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 9933F3794 for ; Thu, 26 May 2016 18:38:56 +0200 (CEST) In-Reply-To: <1462461300-9962-1-git-send-email-bernard.iremonger@intel.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 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 (6): 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: add spinlock to stop function bonding: add spinlock to link update function bonding: remove memcpy from burst functions drivers/net/bonding/rte_eth_bond_api.c | 52 +++++++- drivers/net/bonding/rte_eth_bond_pmd.c | 196 ++++++++++++++++++----------- drivers/net/bonding/rte_eth_bond_private.h | 4 +- 3 files changed, 173 insertions(+), 79 deletions(-) -- 2.6.3