net-bonding: Adding support for throughputs larger than 65536 Mbps
authorDavid Decotigny <decot@google.com>
Wed, 13 Apr 2011 15:22:31 +0000 (15:22 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 15 Apr 2011 05:00:32 +0000 (22:00 -0700)
commit5d30530efbb811f875786d788ae1c5d79547c3a4
treeba6c1b23aaf1eb5489ef5e95cc5a45da70bf1321
parent65cce19c07756c2b2b51595c967dda93b0727027
net-bonding: Adding support for throughputs larger than 65536 Mbps

This updates the bonding driver to support v2.6.27-rc3 enhancements
(b11f8d8c aka. "ethtool: Expand ethtool_cmd.speed to 32 bits") which
allow to encode the Mbps link speed on 32-bits (Max 4 Pbps) instead of
16 (Max 65536 Mbps).

This patch also attempts to compact struct slave by reordering its
fields.

Signed-off-by: David Decotigny <decot@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_main.c
drivers/net/bonding/bonding.h