]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit43905d2a26f2afb1eb5054bcc1ffa008c5657795
treeba6c1b23aaf1eb5489ef5e95cc5a45da70bf1321
parent6bf718e0ae7ec796b70df5e364a789c010c3eb17
net-bonding: Adding support for throughputs larger than 65536 Mbps

This updates the bonding driver to support v2.6.27-rc3 enhancements
(c5ddb7d4 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