From owner-freebsd-stable@freebsd.org Wed Feb 22 10:02:04 2017 Return-Path: Delivered-To: freebsd-stable@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 12415CE839B for ; Wed, 22 Feb 2017 10:02:04 +0000 (UTC) (envelope-from freebsd@omnilan.de) Received: from mx0.gentlemail.de (mx0.gentlemail.de [IPv6:2a00:e10:2800::a130]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A468011EA for ; Wed, 22 Feb 2017 10:02:03 +0000 (UTC) (envelope-from freebsd@omnilan.de) Received: from mh0.gentlemail.de (mh0.gentlemail.de [78.138.80.135]) by mx0.gentlemail.de (8.14.5/8.14.5) with ESMTP id v1MA1xH2018095; Wed, 22 Feb 2017 11:01:59 +0100 (CET) (envelope-from freebsd@omnilan.de) Received: from titan.inop.mo1.omnilan.net (titan.inop.mo1.omnilan.net [IPv6:2001:a60:f0bb:1::3:1]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mh0.gentlemail.de (Postfix) with ESMTPSA id 71432693; Wed, 22 Feb 2017 11:01:59 +0100 (CET) Message-ID: <58AD6196.8030908@omnilan.de> Date: Wed, 22 Feb 2017 11:01:58 +0100 From: Harry Schmalzbauer Organization: OmniLAN User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; de-DE; rv:1.9.2.8) Gecko/20100906 Lightning/1.0b2 Thunderbird/3.1.2 MIME-Version: 1.0 To: Ingeborg Hellemo CC: freebsd-stable@freebsd.org Subject: Re: FreeBSD 11.0, bxe and lagg References: <201702211023.v1LANQSL003773@halvsju.cc.uit.no> In-Reply-To: <201702211023.v1LANQSL003773@halvsju.cc.uit.no> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: ACL 119 matched, not delayed by milter-greylist-4.2.7 (mx0.gentlemail.de [78.138.80.130]); Wed, 22 Feb 2017 11:01:59 +0100 (CET) X-Milter: Spamilter (Reciever: mx0.gentlemail.de; Sender-ip: 78.138.80.135; Sender-helo: mh0.gentlemail.de; ) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Feb 2017 10:02:04 -0000 Bezüglich Ingeborg Hellemo's Nachricht vom 21.02.2017 11:23 (localtime): > Trond.Endrestol@fagskolen.gjovik.no said: >> Why does lagg0 refer to bge2 and bge3 in the ifconfig output, and not to >> bxe2 and bxe3? > My bad! No cut and paste from the console of the host without net. Wrote most > of it by hand but ended up using cut and paste from another host and forgot to > edit. > > Correct lines: > laggproto lacp lagghash l2,l3,l4 > laggport: bxe2 flags=0<> > laggport: bxe3 flags=0<> > There are known problems with laggproto lacp and if_bxe(4) due to full-duplex detection I guess. Workarround seems to be putting if_bxe(4) into promisc mode. See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213606 Especially comment #8 and #13! Mabye you can add your report to that bug, to raise it's priority. Using if_lagg(4) with laggproto lacp and if_igb(4) doesn't show any problems here on 11(-stable). I also think there were LACPDU changes forcing the switch to be set to active mode, but a very quick look didn't reveal a matching commit, so maybe I'm wrong. Anyway, in your case it seems if_bxe(4) is the root cause, not a configuration mismatch. -harry