From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 1EC5E6A87 for ; Tue, 30 Sep 2014 11:51:32 +0200 (CEST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga101.jf.intel.com with ESMTP; 30 Sep 2014 02:58:06 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.04,625,1406617200"; d="scan'208";a="610781437" Received: from irvmail001.ir.intel.com ([163.33.26.43]) by orsmga002.jf.intel.com with ESMTP; 30 Sep 2014 02:58:04 -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 s8U9w31q009029; Tue, 30 Sep 2014 10:58:03 +0100 Received: from sivswdev02.ir.intel.com (localhost [127.0.0.1]) by sivswdev02.ir.intel.com with ESMTP id s8U9w3uk008229; Tue, 30 Sep 2014 10:58:03 +0100 Received: (from dwdohert@localhost) by sivswdev02.ir.intel.com with id s8U9w3ld008221; Tue, 30 Sep 2014 10:58:03 +0100 From: Declan Doherty To: dev@dpdk.org Date: Tue, 30 Sep 2014 10:57:51 +0100 Message-Id: <1412071079-7355-1-git-send-email-declan.doherty@intel.com> X-Mailer: git-send-email 1.7.12.2 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 v4 0/8] 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: Tue, 30 Sep 2014 09:51:35 -0000 v4: - Rebased to account for changes in master. - Fix for rte_eth_bond_slaves_get() introduced in v3 patch set - Addressed issue around disabling/enabling link status polling around adding/ removing slaves devices. v3 : - Typo fix for the bond free mbufs patch. - Rebased to account for changes in the mbuf patches. - Add support for slave devices which don't support link status interrupts - Tidy up the link bonding unit test so that all tests use the new test macros. v2 : Addresses issues with the logic around the handling of fail transmissions. In this version all modes 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 / retransmission by the application software v1: 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. Declan Doherty (8): 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 packet testpmd: adding parameter to reconfig method to set socket_id when adding new port to portlist bond: lsc polling support bond: unit test test macro refactor app/test-pmd/cmdline.c | 65 +- app/test-pmd/testpmd.c | 3 +- app/test-pmd/testpmd.h | 2 +- app/test/packet_burst_generator.c | 25 +- app/test/packet_burst_generator.h | 6 +- app/test/test.h | 7 +- app/test/test_link_bonding.c | 3342 ++++++++++++++-------------- app/test/virtual_pmd.c | 97 +- app/test/virtual_pmd.h | 53 +- lib/librte_pmd_bond/rte_eth_bond.h | 80 + lib/librte_pmd_bond/rte_eth_bond_api.c | 319 ++- lib/librte_pmd_bond/rte_eth_bond_args.c | 30 +- lib/librte_pmd_bond/rte_eth_bond_pmd.c | 550 +++-- lib/librte_pmd_bond/rte_eth_bond_private.h | 71 +- 14 files changed, 2692 insertions(+), 1958 deletions(-) -- 1.7.12.2