]> Pileus Git - ~andy/linux/commit
bonding: Add new layer2+3 hash for xor/802.3ad modes
authorJay Vosburgh <fubar@us.ibm.com>
Fri, 7 Dec 2007 07:40:34 +0000 (23:40 -0800)
committerJeff Garzik <jeff@garzik.org>
Fri, 7 Dec 2007 20:00:32 +0000 (15:00 -0500)
commit6f6652be183c8c7cb99c646dd7494ab45e4833ba
tree8ab3acaa0f7887aad46d0a1dd10f800312d657fa
parentb63bb739a1d24f395c09f88ff43c54c736a60453
bonding: Add new layer2+3 hash for xor/802.3ad modes

  Add new hash for balance-xor and 802.3ad modes.  Originally
 submitted by "Glenn Griffin" <ggriffin.kernel@gmail.com>; modified by
 Jay Vosburgh to move setting of hash policy out of line, tweak the
 documentation update and add version update to 3.2.2.

Glenn's original comment follows:

Included is a patch for a new xmit_hash_policy for the bonding driver
that selects slaves based on MAC and IP information.  This is a middle
ground between what currently exists in the layer2 only policy and the
layer3+4 policy.  This policy strives to be fully 802.3ad compliant by
transmitting every packet of any particular flow over the same link.
As documented the layer3+4 policy is not fully compliant for extreme
cases such as ip fragmentation, so this policy is a nice compromise
for environments that require full compliance but desire more than the
layer2 only policy.

Signed-off-by: "Glenn Griffin" <ggriffin.kernel@gmail.com>
Signed-off-by: Jay Vosburgh <fubar@us.ibm.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Documentation/networking/bonding.txt
drivers/net/bonding/bond_main.c
drivers/net/bonding/bonding.h
include/linux/if_bonding.h