Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Jun 2016 13:25:14 +0200
From:      Borja Marcos <borjam@sarenet.es>
To:        freebsd-net@freebsd.org
Subject:   Problem with ixgbe and lagg
Message-ID:  <57007695-E755-4B7C-97E2-6B0F3258E769@sarenet.es>

next in thread | raw e-mail | index | archive | help


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@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@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.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?57007695-E755-4B7C-97E2-6B0F3258E769>