From owner-freebsd-net@freebsd.org Wed Jun 8 11:25:24 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5DB69B6F7D2 for ; Wed, 8 Jun 2016 11:25:24 +0000 (UTC) (envelope-from borjam@sarenet.es) Received: from cu01176b.smtpx.saremail.com (cu01176b.smtpx.saremail.com [195.16.151.151]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2462A1348 for ; Wed, 8 Jun 2016 11:25:23 +0000 (UTC) (envelope-from borjam@sarenet.es) Received: from [172.16.8.36] (izaro.sarenet.es [192.148.167.11]) by proxypop01.sare.net (Postfix) with ESMTPSA id 07ABF9DF321 for ; Wed, 8 Jun 2016 13:25:15 +0200 (CEST) From: Borja Marcos Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Problem with ixgbe and lagg Message-Id: <57007695-E755-4B7C-97E2-6B0F3258E769@sarenet.es> Date: Wed, 8 Jun 2016 13:25:14 +0200 To: freebsd-net@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) X-Mailer: Apple Mail (2.3124) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Jun 2016 11:25:24 -0000 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 metric 0 mtu = 1500 = options=3De407bb ether 0c:c4:7a:bd:70:26 inet 10.0.5.109 netmask 0xffffff00 broadcast 10.0.5.255=20 nd6 options=3D29 media: Ethernet autoselect (Unknown ) 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.