From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michal Jastrzebski Subject: [PATCH v2 0/6] Link Bonding mode 6 support (ALB) Date: Fri, 13 Feb 2015 16:16:04 +0100 Message-ID: <1423840570-6452-1-git-send-email-michalx.k.jastrzebski@intel.com> To: dev-VfR2kkLFssw@public.gmane.org Return-path: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" 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