From nobody Wed Nov 26 03:07:32 2025 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4dGPch1mQdz6JGJ6 for ; Wed, 26 Nov 2025 03:07:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4dGPch1Kwpz3GbD for ; Wed, 26 Nov 2025 03:07:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1764126452; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=v3GTBCLisvWnS1P+O2Gzgl6B85ny9l7SSOU4eazyC50=; b=v0hlTqpJt3oYYh/iblDm6dA9I2dhDGhGMvu3BBnNeKhcMZZyhah7gKwL6wFosqZf8C8YXB Mel+YP980KHzidfMlq14HRCL2trE61uRfDtx1bzeExI2Jt/rNdievc5pGMLlsCoZzr7KCB CguL8JEhX05sKaLQo9K4hmnMTDkgZLXAhPQ9JpZUZAxOxMnHMuEzy+T+jaEMwVUvYjdpyG W0w9K4wg1WD4EMvWd5KYc6KweUEuCBfLF5nJkfjR0kIigO+JlAy4+azLyAbSHGkGX1DMy3 o1Iw6QtRSn/u5WdXa9i1GcYwBl+m6k8I6mS7oUvMw786qmEWwC+ByUqmoA3Nag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1764126452; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=v3GTBCLisvWnS1P+O2Gzgl6B85ny9l7SSOU4eazyC50=; b=hHWZCEYGemukKWA0wBjv//nd+yPmml39AIBI2PGAt/DFLvLkjZTM0mPc0VZgYYlQyF6HO6 TnK5vQjsXdAXgO/9yPCpHIER4ClGQ5ajexMdpsF/kcHtNGOdp1+LNxtK1GCMCLnoB6U6UG mnbIe1gy16UUcdNCKOa5bIZFBF6IMmulhMtgreu6JPwwyvRxRsyRGOJQYcGf5FaRZl5Xpi fr5mQt9+ELGUpuddlIQZBcUIUVkR3/ZXZLZfSkeeZhrKMcnypcJYFBWGIq/x5xqyRVz8V5 0o2MSzeHDGDK6BysKNhMRoWmGadcvEIm3mF/8Kmn5YieA9nAiDyZpiqvK7A2EQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1764126452; a=rsa-sha256; cv=none; b=JvEzMtAHdinR7XqJGI21gHdKc8Kz17zqgc7NeOPSg+lmgMswAjbnNfcvgpoNkmXFwDLnMa 7y4Ml0/EIFHmDv8hHOpSyJMgl0aEPX7ACaD4TWEu1NxyjV/nnTFnjUQ/PDd0jEjBGSI+0i jtJgYnu1doc2znktf0z/UgB23uU69HeNQ75+Zjx1B+6ryblWO5KEHb/et56WQURBunb5Zb BZjA7zLSYo0VXp3rX7+fswsO4XeAmrwfbLsR4VjAvJifrP196PRrgg8vMEXh38HjBHa8QD aQRM0h1dCvSI78izl9FD4325YVylGf1pfRP2Le/LB2HxzlqW+DR21I/wQAL99Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4dGPch0nRVzCxS for ; Wed, 26 Nov 2025 03:07:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 5AQ37WUq075147 for ; Wed, 26 Nov 2025 03:07:32 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5AQ37WSU075146 for net@FreeBSD.org; Wed, 26 Nov 2025 03:07:32 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 290973] qlnxe: nic aggregation (using lagg) not working unless promiscuous mode is enabled Date: Wed, 26 Nov 2025 03:07:32 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 14.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: zlei@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: zlei@FreeBSD.org X-Bugzilla-Flags: mfc-stable15? mfc-stable14? mfc-stable13? X-Bugzilla-Changed-Fields: assigned_to flagtypes.name bug_severity bug_status Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D290973 Zhenlei Huang changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|net@FreeBSD.org |zlei@FreeBSD.org Flags| |mfc-stable15?, | |mfc-stable14?, | |mfc-stable13? Severity|Affects Only Me |Affects Some People Status|New |In Progress --- Comment #4 from Zhenlei Huang --- (In reply to peter.sopko+freebsd.org from comment #3) > I tried capturing traffic on the ql0 interface when it is not set to prom= isc mode > using the command you suggested, but there appears to be absolutely no tr= affic > captured at all... Actually the interface should at least send out LACP packets when it is a member of lagg interface. I have managed to repeat this issue. There're two issue with qlnxe(4) curre= ntly are identified. The first one is, the out path ( if_transmit ) lacks ETHER_BPF_MTAP and thus bpf(4) does not have a chance to see the outgoing packets. The second one is, there's a small initialization bug, that when the qlnxe(= 4) is not flagged up, aka `ifconfig ql0 up`, setup the multicast addresses ( a= ka SIOCADDMULTI ioctl ) is a noop, and the interface will not be programmed wi= th desired multicast filter, hence the slow protocol multicast traffic ( dest 01:80:c2:00:00:02 ) are all dropped by the interface. That can be identifie= d by the statistic, ``` # sysctl dev.ql.0.hwstat.mac_filter_discards dev.ql.0.hwstat.mac_filter_discards: 284 ``` To workaround the second issue, you may want to put the qlnxe(4) interface = into up status before adding it to lagg(4), ``` # ifconfig ql0 up # ifconfig ql1 up # ifconfig lagg0 create # ifconfig lagg0 laggproto lacp laggport ql0 laggport ql1 # ifconfig lagg0 up # ifconfig lagg0 lagg0: flags=3D1008843 met= ric 0 mtu 1500 =20=20=20=20=20=20=20 options=3D8d07bb ether f4:e9:d4:xx:xx:xx hwaddr 00:00:00:00:00:00 laggproto lacp lagghash l2,l3,l4 laggport: ql0 flags=3D1c laggport: ql1 flags=3D1c groups: lagg media: Ethernet autoselect status: active nd6 options=3D29 ``` I'm preparing the fix. --=20 You are receiving this mail because: You are the assignee for the bug.=