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 C6365B6C9 for ; Thu, 19 Feb 2015 18:27:16 +0100 (CET) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga101.jf.intel.com with ESMTP; 19 Feb 2015 09:27:15 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.09,609,1418112000"; d="scan'208";a="687999762" Received: from unknown (HELO Sent) ([10.217.248.178]) by orsmga002.jf.intel.com with SMTP; 19 Feb 2015 09:27:13 -0800 Received: by Sent (sSMTP sendmail emulation); Thu, 19 Feb 2015 18:26:30 +0200 From: Michal Jastrzebski To: dev@dpdk.org Date: Thu, 19 Feb 2015 18:26:13 +0100 Message-Id: <1424366779-14256-1-git-send-email-michalx.k.jastrzebski@intel.com> X-Mailer: git-send-email 2.1.1 In-Reply-To: <1423840570-6452-1-git-send-email-michalx.k.jastrzebski@intel.com> References: <1423840570-6452-1-git-send-email-michalx.k.jastrzebski@intel.com> Subject: [dpdk-dev] [PATCH v3 0/6] Link Bonding mode 6 support (ALB) 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: Thu, 19 Feb 2015 17:27:17 -0000 v3 changes: - completed description for mode 5 unit tests patch - fixed errors required by checkpatch.pl - moved patch version changes from patches to cover-letter v2 changes: in mode 6 patch 2/6: - add VLAN support - fixed sending duplicated ARPupdates - fixed assigning slaves for next clients - fixed TLB mode in debug patch 3/6: - add IPv4 RX/TX information - add mode6_debug(..) function in the example application patch 4/6: - remove count parameter from send command - fixed quit command to use cmdline_quit(cl) - add echo function - all IPv4 packets will be retransmitted. Bonding driver will use TLB policy - this will show how TX works in mode 6 - remove unused structures rx_conf_default and tx_conf_default - add VLAN support - remove unnecessary comments - nodify show command in term of printing DEBUG informations This patchset add support for link bonding mode 6. Additionally it changes an arp_header structure definition. Also a basic example is introduced. Using this example, Bonding will configure each client ARP table, that packets from each client will be received on different slave, mode 6 uses round-robin policy to assign slave to client IP address. Daniel Mrzyglod (1): bond: modify TLB unit tests Maciej Gajdzica (3): net: changed arp_hdr struct declaration bond: add link bonding mode 6 implementation bond: add unit tests for link bonding mode 6. Michal Jastrzebski (2): bond: add debug info for mode 6 link bonding bond: add example application for link bonding mode 6 app/test-pmd/icmpecho.c | 27 +- app/test/packet_burst_generator.c | 41 +- app/test/packet_burst_generator.h | 11 +- app/test/test_link_bonding.c | 450 +++++++++++++++- app/test/test_pmd_perf.c | 3 +- app/test/virtual_pmd.c | 109 ++-- app/test/virtual_pmd.h | 5 +- config/common_linuxapp | 3 +- examples/bond/Makefile | 57 ++ examples/bond/main.c | 796 ++++++++++++++++++++++++++++ examples/bond/main.h | 46 ++ lib/librte_net/rte_arp.h | 13 +- lib/librte_pmd_bond/Makefile | 1 + lib/librte_pmd_bond/rte_eth_bond.h | 11 +- lib/librte_pmd_bond/rte_eth_bond_alb.c | 256 +++++++++ lib/librte_pmd_bond/rte_eth_bond_alb.h | 109 ++++ lib/librte_pmd_bond/rte_eth_bond_api.c | 28 +- lib/librte_pmd_bond/rte_eth_bond_args.c | 3 +- lib/librte_pmd_bond/rte_eth_bond_pmd.c | 460 ++++++++++++++-- lib/librte_pmd_bond/rte_eth_bond_private.h | 12 + 20 files changed, 2295 insertions(+), 146 deletions(-) create mode 100644 examples/bond/Makefile create mode 100644 examples/bond/main.c create mode 100644 examples/bond/main.h create mode 100644 lib/librte_pmd_bond/rte_eth_bond_alb.c create mode 100644 lib/librte_pmd_bond/rte_eth_bond_alb.h -- 1.7.9.5