From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id C54F8B38B for ; Mon, 1 Sep 2014 10:27:30 +0200 (CEST) Received: from azsmga001.ch.intel.com ([10.2.17.19]) by fmsmga102.fm.intel.com with ESMTP; 01 Sep 2014 01:31:55 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.04,441,1406617200"; d="scan'208";a="474376168" Received: from irvmail001.ir.intel.com ([163.33.26.43]) by azsmga001.ch.intel.com with ESMTP; 01 Sep 2014 01:31:34 -0700 Received: from sivswdev02.ir.intel.com (sivswdev02.ir.intel.com [10.237.217.46]) by irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id s818VXGV010170; Mon, 1 Sep 2014 09:31:33 +0100 Received: from sivswdev02.ir.intel.com (localhost [127.0.0.1]) by sivswdev02.ir.intel.com with ESMTP id s818VXUA002089; Mon, 1 Sep 2014 09:31:33 +0100 Received: (from dwdohert@localhost) by sivswdev02.ir.intel.com with id s818VWg4002085; Mon, 1 Sep 2014 09:31:32 +0100 From: Declan Doherty To: dev@dpdk.org Date: Mon, 1 Sep 2014 09:31:23 +0100 Message-Id: <1409560289-29558-1-git-send-email-declan.doherty@intel.com> X-Mailer: git-send-email 1.7.0.7 In-Reply-To: <1408456313-28812-1-git-send-email-declan.doherty@intel.com> References: <1408456313-28812-1-git-send-email-declan.doherty@intel.com> Subject: [dpdk-dev] [PATCH v2 0/6] link bonding 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: Mon, 01 Sep 2014 08:27:31 -0000 This patch set adds support for link status interrupt in the link bonding pmd. It also contains some patches to tidy up the code structure and to of the link bonding code and to fix bugs relating to transmission failures in the under lying slave pmd which could lead to leaked mbufs. V2 addresses issues with the logic around the handling of fail transmissions. In this version all modei behave in a manner similar to a standard PMD, returning the number of successfully transmitted mbufs and with the failing mbufs at the end of bufs array for freeing / retansmission by the application software Declan Doherty (6): bond: link status interrupt support bond: removing switch statement from rx burst method bond: fix naming inconsistency in tx_burst_round_robin bond: free mbufs if transmission fails in bonding tx_burst functions test app: adding support for generating variable sized packets testpmd: adding parameter to reconfig method to set socket_id when adding new port to portlist app/test-pmd/cmdline.c | 2 +- app/test-pmd/testpmd.c | 3 +- app/test-pmd/testpmd.h | 2 +- app/test/packet_burst_generator.c | 22 +- app/test/packet_burst_generator.h | 6 +- app/test/test_link_bonding.c | 620 +++++++++++++++++++++++++++++--- app/test/virtual_pmd.c | 80 ++++- app/test/virtual_pmd.h | 7 + lib/librte_pmd_bond/rte_eth_bond_api.c | 4 + lib/librte_pmd_bond/rte_eth_bond_pmd.c | 161 ++++++--- 10 files changed, 779 insertions(+), 128 deletions(-)