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

Michal Jastrzebski michalx.k.jastrzebski at intel.com
Thu Feb 19 18:26:13 CET 2015


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                       |   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, 2295 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



More information about the dev mailing list