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.=20

When not using lagg, the interfaces work. However, an ifconfig shows =
that media is not properly detected.

ix2: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu =
1500
	=
options=3De407bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCS=
UM,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=20
	nd6 options=3D29<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=3D0x020000 card=3D0x061115d9 =
chip=3D0x10fb8086 rev=3D0x01 hdr=3D0x00
    vendor     =3D 'Intel Corporation'
    device     =3D '82599ES 10-Gigabit SFI/SFP+ Network Connection'
    class      =3D network
    subclass   =3D ethernet

% pciconf -lv pci0:130:0:1
ix3@pci0:130:0:1:	class=3D0x020000 card=3D0x061115d9 =
chip=3D0x10fb8086 rev=3D0x01 hdr=3D0x00
    vendor     =3D 'Intel Corporation'
    device     =3D '82599ES 10-Gigabit SFI/SFP+ Network Connection'
    class      =3D network
    subclass   =3D 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 =3D 1, =
fdx =3D 0, link =3D 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 =3D 1, =
fdx =3D 0, link =3D 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 =3D =
1, fdx =3D 0, link =3D 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 =3D =
1, fdx =3D 0, link =3D 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=E2=80=
=99




Any ideas? Maybe lagg is confused because it can=E2=80=99t 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>