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)
Oct 30 2024, 1:23 AM
Unknown Object (File)
Oct 23 2024, 7:53 AM
Unknown Object (File)
Oct 23 2024, 7:53 AM
Unknown Object (File)
Oct 23 2024, 7:46 AM
Unknown Object (File)
Sep 19 2024, 7:54 PM
Unknown Object (File)
Sep 19 2024, 10:53 AM
Unknown Object (File)
Sep 19 2024, 10:41 AM
Unknown Object (File)
Sep 14 2024, 8:12 PM
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