bonding: Introduce 4 AD link speed to fix agg_bandwidth
authorJianhua Xie <Jianhua.Xie@freescale.com>
Wed, 19 Nov 2014 08:48:59 +0000 (16:48 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 20 Nov 2014 00:10:16 +0000 (19:10 -0500)
commit424c3232b04ac97176d105ffaaed80edcaa19b92
tree05879684b0f93bdbac3a0db4de021e9d9ce7b537
parentcb8dda90c28e2a13a007ef675a25db6a79991630
bonding: Introduce 4 AD link speed to fix agg_bandwidth

This patch adds [2.5|20|40|56] Gbps enum definition, and fixes
aggregated bandwidth calculation based on above slave links.

CC: Jay Vosburgh <j.vosburgh@gmail.com>
CC: Veaceslav Falico <vfalico@gmail.com>
CC: Andy Gospodarek <andy@greyhouse.net>
CC: David S. Miller <davem@davemloft.net>
Signed-off-by: Jianhua Xie <jianhua.xie@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_3ad.c