Why interface speed of 10G (10000Mb/s) is not getting set on a '1/10-Gigabit Server Adapter' ?
SOLUTION 已验证 - 已更新 2014年三月19日05:18 -
环境
- Red Hat Enterprise Linux (Any version)
- NetXen Incorporated NX3031 Multifunction 1/10-Gigabit Server Adapter
问题
- In
lspci
output, card is getting displayed as1/10-Gigabit server adapter
,but still the maximumspeed
that can be configured is1G (1000mb/s)
, why ? - Below is the
ethtool
output:
Settings for eth2:
Supported ports: [ TP ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Half 1000baseT/Full
Supports auto-negotiation: Yes
Advertised link modes: 100baseT/Half 100baseT/Full
1000baseT/Half 1000baseT/Full
Advertised auto-negotiation: Yes
Speed: 1000Mb/s
Duplex: Full
Port: Twisted Pair
PHYAD: 2
Transceiver: external
Auto-negotiation: off
Supports Wake-on: g
Wake-on: g
Link detected: yes
- Setting a
speed
of10000Mb/s
fails with error.
决议
- Even if the card reports
10G
/1/10-Gigabit Server Adapter
inlspci
output, but as per information from hardware vendor (HP) it is not capable of 10G. - As shown in
ethtool
the maximum speed which this card support is1000baseT/Half 1000baseT/Full
:
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Half 1000baseT/Full <<---
根源
ethtool
display the details fetched from the underlying hardware depending upon its supported features. If required feature is not seen then its an problem of underlying hardware. Here in this case HP confirmed that its not a 10G capable card even if inlspci
output1/10-Gigabit Server Adapter
is seen.
诊断步骤
- Check the maximum speed supported by NIC in
ethtool ethX
output againstsupported link modes
field. - If there is no 10G seen
(10000T/Half)
seen, then in order to have 10gig speed, check with hardware vendor to find whether the underlying hardware has a support for 10Gig link speed or whether it requires any upgrades to support it.