From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michal Jastrzebski Subject: [PATCH 0/4] Link Bonding mode 6 support (ALB) Date: Fri, 30 Jan 2015 11:57:40 +0100 Message-ID: <1422615464-4432-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 (4): net: changed arp_hdr struct declaration. bond: added link bonding mode 6 implementation. bond: add debug info for mode 6 link bonding bond: added example application for link bonding mode 6. app/test-pmd/icmpecho.c | 27 +- config/common_linuxapp | 2 +- examples/bond/Makefile | 57 ++ examples/bond/main.c | 790 ++++++++++++++++++++++++++++ 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 | 9 + lib/librte_pmd_bond/rte_eth_bond_alb.c | 251 +++++++++ lib/librte_pmd_bond/rte_eth_bond_alb.h | 109 ++++ lib/librte_pmd_bond/rte_eth_bond_api.c | 6 + lib/librte_pmd_bond/rte_eth_bond_args.c | 1 + lib/librte_pmd_bond/rte_eth_bond_pmd.c | 355 ++++++++++++- lib/librte_pmd_bond/rte_eth_bond_private.h | 2 + 14 files changed, 1623 insertions(+), 46 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