commit | fe723dff0fa4181ddb8116e72bc67d00d4239cb6 | [log] [tgz] |
---|---|---|
author | Manish Awasthi <manish.awasthi@cavium.com> | Thu Mar 16 16:16:17 2017 -0700 |
committer | David S. Miller <davem@davemloft.net> | Thu Mar 16 21:40:29 2017 -0700 |
tree | 09fb14f3a354766e29a4525e4698da528c118b11 | |
parent | 513d2d01b7df2ac7e2a3482cbefcacc83c174b55 [diff] |
liquidio: fix wrong information about link modes reported to ethtool Information reported to ethtool about link modes is wrong for 25G NIC. Fix it by checking for presence of 25G NIC, checking the link speed reported by NIC firmware, and then assigning proper values to the ethtool_link_ksettings struct. Signed-off-by: Manish Awasthi <manish.awasthi@cavium.com> Signed-off-by: Felix Manlunas <felix.manlunas@cavium.com> Signed-off-by: David S. Miller <davem@davemloft.net>