bond: add mode 6
authorMaciej Gajdzica <maciejx.t.gajdzica@intel.com>
Fri, 20 Feb 2015 16:09:19 +0000 (17:09 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 20 Feb 2015 21:17:52 +0000 (22:17 +0100)
commit06fe78b98ccdfe08f20794ea7744eb0f66252978
tree322835bdeb9efc27648b80331ae8ba203ee21a7d
parent31db4d38de72445be9e33cc017b4e1de13826051
bond: add mode 6

This mode includes adaptive TLB and receive load balancing (RLB). In RLB
the bonding driver intercepts ARP replies send by local system and
overwrites its source MAC address, so that different peers send data to
the server on different slave interfaces. When local system sends ARP
request, it saves IP information from it. When ARP reply from that peer
is received, its MAC is stored, one of slave MACs assigned and ARP reply
send to that peer.

Signed-off-by: Maciej Gajdzica <maciejx.t.gajdzica@intel.com>
Signed-off-by: Michal Jastrzebski <michalx.k.jastrzebski@intel.com>
Signed-off-by: Daniel Mrzyglod <danielx.t.mrzyglod@intel.com>
Acked-by: Declan Doherty <declan.doherty@intel.com>
lib/librte_pmd_bond/Makefile
lib/librte_pmd_bond/rte_eth_bond.h
lib/librte_pmd_bond/rte_eth_bond_alb.c [new file with mode: 0644]
lib/librte_pmd_bond/rte_eth_bond_alb.h [new file with mode: 0644]
lib/librte_pmd_bond/rte_eth_bond_api.c
lib/librte_pmd_bond/rte_eth_bond_args.c
lib/librte_pmd_bond/rte_eth_bond_pmd.c
lib/librte_pmd_bond/rte_eth_bond_private.h