Problem with ixgbe and lagg
Borja Marcos
borjam at sarenet.es
Wed Jun 8 11:25:24 UTC 2016
Hello,
I am unable to set up a LACP based interface with lagg and a two ports Intel 10 GbE card.
When not using lagg, the interfaces work. However, an ifconfig shows that media is not properly detected.
ix2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=e407bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,LRO,VLAN_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6>
ether 0c:c4:7a:bd:70:26
inet 10.0.5.109 netmask 0xffffff00 broadcast 10.0.5.255
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
media: Ethernet autoselect (Unknown <rxpause,txpause>)
status: active
I am using copper SFP+ cables, and just in case I have tried two different ones: one from Brocade and another one from Prolabs.
The PCI identifiers are:
% pciconf -lv pci0:130:0:0
ix2 at pci0:130:0:0: class=0x020000 card=0x061115d9 chip=0x10fb8086 rev=0x01 hdr=0x00
vendor = 'Intel Corporation'
device = '82599ES 10-Gigabit SFI/SFP+ Network Connection'
class = network
subclass = ethernet
% pciconf -lv pci0:130:0:1
ix3 at pci0:130:0:1: class=0x020000 card=0x061115d9 chip=0x10fb8086 rev=0x01 hdr=0x00
vendor = 'Intel Corporation'
device = '82599ES 10-Gigabit SFI/SFP+ Network Connection'
class = network
subclass = ethernet
When plugging the Brocade SFP I get the following message:
ix2: Detected phy_type 13
And creating the lagg interface in debug mode I see this:
Jun 8 13:16:44 e1 kernel: lagg0: link state changed to UP
Jun 8 13:16:44 e1 kernel: ix2: media changed 0x0 -> 0x639, ether = 1, fdx = 0, link = 1
Jun 8 13:16:44 e1 kernel: ix2: partner timeout changed
Jun 8 13:16:44 e1 kernel: ix2: -> UNSELECTED
Jun 8 13:16:44 e1 kernel: ix3: media changed 0x0 -> 0x639, ether = 1, fdx = 0, link = 1
Jun 8 13:16:44 e1 devd: Executing '/etc/rc.d/dhclient quietstart lagg0'
Jun 8 13:16:44 e1 kernel: ix3: partner timeout changed
Jun 8 13:16:44 e1 kernel: ix3: -> UNSELECTED
Jun 8 13:16:44 e1 kernel: ix3: media changed 0x639 -> 0x20, ether = 1, fdx = 0, link = 0
Jun 8 13:16:44 e1 kernel: ix3: link state changed to DOWN
Jun 8 13:16:46 e1 kernel: ix3: media changed 0x20 -> 0x639, ether = 1, fdx = 0, link = 1
Jun 8 13:16:46 e1 kernel: ix3: link state changed to UP
Jun 8 13:16:46 e1 devd: Executing '/etc/rc.d/dhclient quietstart ix3’
Any ideas? Maybe lagg is confused because it can’t detect the interface speed?
Thanks!
Borja.
More information about the freebsd-net
mailing list