bonding: fix 802.3ad support for 5G and 50G speeds
authorThibaut Collet <thibaut.collet@6wind.com>
Thu, 8 Jun 2017 09:18:11 +0000 (11:18 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 8 Jun 2017 20:05:40 +0000 (16:05 -0400)
commitc7c550670afda2e16f9e2d06a1473885312eb6b5
tree4f067e6175f3a1814365aa040da760e5a5fdacb6
parentdaa6630a310fe2ad90ce5f7d2d196cd0353ef4fa
bonding: fix 802.3ad support for 5G and 50G speeds

This patch adds [5|50] Gbps enum definition, and fixes
aggregated bandwidth calculation based on above slave links.

Fixes: c9a70d43461d ("net-next: ethtool: Added port speed macros.")
Signed-off-by: Thibaut Collet <thibaut.collet@6wind.com>
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Acked-by: Andy Gospodarek <andy@greyhouse.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_3ad.c