Incorrect media (1000baseSX instead of 1000baseT) shown in ifconfig with INTEL X520-T2 10G Dual-port Ethernet Server Adapter, RJ45/2 when connecting to the gigabit switch with copper ports: ix0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=407bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,LRO,VLAN_HWTSO> ether 00:1e:67:07:80:d8 media: Ethernet autoselect (1000baseSX <full-duplex>) status: active ix1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=407bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,LRO,VLAN_HWTSO> ether 00:1e:67:07:80:d8 media: Ethernet autoselect (1000baseSX <full-duplex>) status: active Current network adapter doesn't have optic ports or modules, only built- in copper ports. That's why can't gather this interfaces with other gigabit in lagg with lacp (but this is another problem fixed in PR: 176097). Fix: Quick and dirty hack is to replace the IFM_1000_SX with IFM_1000_T in ixgbe.c: How-To-Repeat: Simply ifconfig ixX up, where X is the number of interface.
Responsible Changed From-To: freebsd-bugs->freebsd-net Over to maintainer(s).
Wow, this has been here for a while.
Is this change correct for ixgbe(4) ... it would apply to if_ix.c now.
Hello, My patch is quick and dirty hack, you will need to add some fuzzy logic to do it correct. So, please don't apply it directly, because it will breaks some normal behavior.
The media types should be properly handled on either stable/10 or 11. I tested the driver on an X520-T2 a couple days ago, and 10Gbase-T and 1000baseT media types showed up.
Please retest and reopen if this is still an issue.