]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd0bc67f31b3d03190c6cb0ea5211dbc2b3cbb48a
tree4f067e6175f3a1814365aa040da760e5a5fdacb6
parentd2d6c7a3e81e65c567e28225e30dff18669de1f6
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: 91f007e83b61 ("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