Summary: | Intel x553 100baseTX full-duplex mode not supported | ||
---|---|---|---|
Product: | Base System | Reporter: | Jérôme-Charles LALLEMAND <jeromecharles.lallemand> |
Component: | kern | Assignee: | freebsd-net (Nobody) <net> |
Status: | Closed Works As Intended | ||
Severity: | Affects Many People | CC: | ae, erj, eugen, jeffrey.e.pieper, sbruno |
Priority: | --- | Keywords: | IntelNetworking |
Version: | 11.2-RELEASE | ||
Hardware: | arm64 | ||
OS: | Any |
Description
Jérôme-Charles LALLEMAND
2018-12-04 11:30:01 UTC
Does this card support 100BaseTX? You can look at `ifconfig -m ix0` output to be sure. It seems to support it: ifconfig -m ix0 ix0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 9000 options=e53ffb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,LRO,WOL_UCAST,WOL_MCAST,WOL_MAGIC,VLAN_HWFILTER,VLAN_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6> ether ac:1f:6b:46... hwaddr ac:1f:6b:46... media: Ethernet autoselect status: no carrier supported media: media autoselect media 10baseT/UTP media 100baseTX media 1000baseT Tried with the last Driver from Intel: ixgbe 3.3.6 (https://downloadcenter.intel.com/download/14688/Ethernet-Intel-Network-Adapters-Driver-for-PCIe-10-Gigabit-Network-Connections-Under-FreeBSD-) => Same issue The motherboard is a SuperMicro A2SDi-8C-HLN4F (https://www.supermicro.com/products/motherboard/atom/A2SDi-8C-HLN4F.cfm) The network adapter is : Quad Gigabit Ethernet LAN via Intel® C3000 SoC This is not a bug. ixgbe devices do not support forcing speed using ifconfig, only forced advertisement using sysctl. You need to use the advertise_speed sysctl: [root@test ~]# sysctl dev.ix.0.advertise_speed dev.ix.0.advertise_speed: 6 [root@test ~]# sysctl -x dev.ix.0.advertise_speed dev.ix.0.advertise_speed: 0x00000006 [root@test ~]# sysctl -d dev.ix.0.advertise_speed dev.ix.0.advertise_speed: Control advertised link speed using these flags: 0x1 - advertise 100M 0x2 - advertise 1G 0x4 - advertise 10G 0x8 - advertise 10M 100M and 10M are only supported on certain adapters. (In reply to Jeff Pieper from comment #4) > This is not a bug. ixgbe devices do not support forcing speed using ifconfig, > only forced advertisement using sysctl. That's not good as it breaks POLA. Why can't it emulate forcing speed by means if ifconfig with internal forced advertisement of specified speed only (if it's supported by the adapter)? There is no "new" functionality here. This has been the behavior since ixgbe was introduced in 2008. The X553 is 1G/100M/10M (not 10G). If I plug the interface on a Cisco interface 10/100 with speed auto duplex auto it works and negociate 100-Full. But in my configuration the switch interface is forced in 100-Full and it does not work. On my server: sysctl dev.ix.0.advertise_speed dev.ix.0.advertise_speed: 11 sysctl -d dev.ix.0.advertise_speed dev.ix.0.advertise_speed: Control advertised link speed using these flags: 0x1 - advertise 100M 0x2 - advertise 1G 0x4 - advertise 10G 0x8 - advertise 10M 100M and 10M are only supported on certain adapters. sysctl dev.ix.0.advertise_speed=0x1 dev.ix.0.advertise_speed: 11 -> 1 It does not work either. I'm guessing, the duplex is still auto-neg on the ix0. Any idea to force the speed AND the duplex on this interface ? I think this hardware only supports 100M speeds via autonegotiation. Does your switch support autonegotiation? If it doesn't, it sounds like it isn't compatible with your switch. I have not find anywhere that the card support enforcing 100M-Full. As you said, it might only support 100M Autoneg. We'll use it with in 100M-Auto configuration. Thanks for your support. |