On 13/02/15 15:16, Michal Jastrzebski wrote: > 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 >
Series Acked-by: Declan Doherty <declan.doherty at intel.com>