Page MenuHomeFreeBSD

Incorrect media for INTEL X540T 10G.
ClosedPublic

Authored by araujo on Sep 23 2014, 9:59 AM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 24 2022, 7:58 PM
Unknown Object (File)
Mar 30 2017, 8:38 PM
Unknown Object (File)
Jan 7 2017, 10:03 AM
Unknown Object (File)
Nov 20 2016, 10:12 PM
Unknown Object (File)
Nov 20 2016, 9:44 PM
Unknown Object (File)
Nov 16 2016, 4:16 AM
Unknown Object (File)
Oct 2 2016, 1:35 PM
Unknown Object (File)
Jul 26 2016, 7:01 AM
Subscribers
None

Details

Summary

The ixgbe(4) set the media as 1000baseSX instead of 1000baseT for copper cables NIC.

Example before patch:
BSDBuild# ifconfig ix0
ix0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=8407bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,LRO,VLAN_HWTSO>
ether 00:08:9b:d4:6b:6e
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
media: Ethernet autoselect (1000baseSX <full-duplex>)
status: active

Example after patch:
BSDBuild# ifconfig ix0
ix0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=8407bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,LRO,VLAN_HWTSO>
ether 00:08:9b:d4:6b:6e
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active

Test Plan

Just set any Intel 10G interface copper cables and the media becomes 1000baseSX when you connect in a switch 1Gb.

There is a bug report about this problem as well: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=183920

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

araujo retitled this revision from to Incorrect media for INTEL X540T 10G..
araujo updated this object.
araujo edited the test plan for this revision. (Show Details)
jfv edited edge metadata.
This revision is now accepted and ready to land.Feb 18 2015, 7:27 PM