From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id E664EB4C5 for ; Fri, 13 Feb 2015 16:16:50 +0100 (CET) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga102.jf.intel.com with ESMTP; 13 Feb 2015 07:12:57 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.09,571,1418112000"; d="scan'208";a="651788862" Received: from unknown (HELO Sent) ([10.217.248.74]) by orsmga001.jf.intel.com with SMTP; 13 Feb 2015 07:16:47 -0800 Received: by Sent (sSMTP sendmail emulation); Fri, 13 Feb 2015 16:16:24 +0200 From: Michal Jastrzebski To: dev@dpdk.org Date: Fri, 13 Feb 2015 16:16:04 +0100 Message-Id: <1423840570-6452-1-git-send-email-michalx.k.jastrzebski@intel.com> X-Mailer: git-send-email 2.1.1 Subject: [dpdk-dev] [PATCH v2 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, 13 Feb 2015 15:16:51 -0000 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. Michal Jastrzebski (6): net: changed arp_hdr struct declaration bond: add link bonding mode 6 implementation bond: add debug info for mode 6 link bonding bond: add example application for link bonding mode 6 bond: modify TLB unit tests bond: add unit tests 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 | 422 ++++++++++++++- app/test/test_pmd_perf.c | 3 +- app/test/virtual_pmd.c | 103 ++-- app/test/virtual_pmd.h | 5 +- config/common_linuxapp | 3 +- examples/bond/Makefile | 57 ++ examples/bond/main.c | 792 ++++++++++++++++++++++++++++ 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, 2257 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