[dpdk-dev] [PATCH 0/4] Link Bonding mode 6 support (ALB)

Michal Jastrzebski michalx.k.jastrzebski at intel.com
Fri Jan 30 11:57:40 CET 2015


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



More information about the dev mailing list