From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 577A9B582 for ; Fri, 20 Feb 2015 17:09:37 +0100 (CET) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga101.fm.intel.com with ESMTP; 20 Feb 2015 08:09:35 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.09,615,1418112000"; d="scan'208";a="654872566" Received: from unknown (HELO Sent) ([10.217.248.178]) by orsmga001.jf.intel.com with SMTP; 20 Feb 2015 08:09:34 -0800 Received: by Sent (sSMTP sendmail emulation); Fri, 20 Feb 2015 17:09:32 +0200 From: Michal Jastrzebski To: dev@dpdk.org Date: Fri, 20 Feb 2015 17:09:17 +0100 Message-Id: <1424448563-8680-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 v4 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: Fri, 20 Feb 2015 16:09:37 -0000 v4 changes: - license year modified - aded license to rte_eth_bond_alb files - removed RTE_EXEC_ENV_BAREMETAL in #define 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 | 39 ++ 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 | 289 ++++++++++ lib/librte_pmd_bond/rte_eth_bond_alb.h | 142 +++++ 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, 2354 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