From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernard Iremonger Subject: [PATCH 0/5] bonding: locks Date: Thu, 5 May 2016 16:14:55 +0100 Message-ID: <1462461300-9962-1-git-send-email-bernard.iremonger@intel.com> Cc: declan.doherty@intel.com, Bernard Iremonger To: dev@dpdk.org Return-path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 194D85686 for ; Thu, 5 May 2016 17:38:48 +0200 (CEST) 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" Replace spinlock with read/write lock. Add read/write locks where needed to protect active_slave_count and active_slaves[]. With read/write locks in place remove memcpy of slaves. Bernard Iremonger (5): bonding: replace spinlock with read/write lock bonding: add read/write lock to rx/tx burst functions bonding: remove memcopy of slaves from rx/tx burst function bonding: add read/write lock to stop function bonding: add read/write lock to the link_update function drivers/net/bonding/rte_eth_bond_api.c | 10 +- drivers/net/bonding/rte_eth_bond_pmd.c | 219 ++++++++++++++++------------- drivers/net/bonding/rte_eth_bond_private.h | 6 +- 3 files changed, 131 insertions(+), 104 deletions(-) -- 2.6.3