From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id EA93137B1 for ; Sun, 12 Jun 2016 19:11:35 +0200 (CEST) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga103.jf.intel.com with ESMTP; 12 Jun 2016 10:11:35 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.26,462,1459839600"; d="scan'208";a="1000407695" Received: from irvmail001.ir.intel.com ([163.33.26.43]) by fmsmga002.fm.intel.com with ESMTP; 12 Jun 2016 10:11:33 -0700 Received: from sivswdev01.ir.intel.com (sivswdev01.ir.intel.com [10.237.217.45]) by irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id u5CHBWDN019936; Sun, 12 Jun 2016 18:11:32 +0100 Received: from sivswdev01.ir.intel.com (localhost [127.0.0.1]) by sivswdev01.ir.intel.com with ESMTP id u5CHBWjO010152; Sun, 12 Jun 2016 18:11:32 +0100 Received: (from bairemon@localhost) by sivswdev01.ir.intel.com with id u5CHBWj1010147; Sun, 12 Jun 2016 18:11:32 +0100 From: Bernard Iremonger To: dev@dpdk.org Cc: declan.doherty@intel.com, konstantin.ananyev@intel.com, Bernard Iremonger Date: Sun, 12 Jun 2016 18:11:25 +0100 Message-Id: <1465751489-10111-1-git-send-email-bernard.iremonger@intel.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1464280727-25752-2-git-send-email-bernard.iremonger@intel.com> References: <1464280727-25752-2-git-send-email-bernard.iremonger@intel.com> Subject: [dpdk-dev] [PATCH v3 0/4] bonding: locks X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Jun 2016 17:11:36 -0000 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