From nobody Thu Aug 31 03:50:49 2023 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 4RbnJD2mqwz4rfCr for ; Thu, 31 Aug 2023 03:50:52 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RbnJD1kDvz3bDD for ; Thu, 31 Aug 2023 03:50:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1693453852; a=rsa-sha256; cv=none; b=LQIqOr+YxTZtxab2M1xjGVRCB6asbb4xjo5ueDZOa7Lnt6G/bcV191dC7ro7ClYMxdlJ7D 2yti8pBp6mwi2SRTSHvcurdo0hDv3/+4qkbsIOn7uRLTrq87MfIDvBJ+7/fcsoBxT14oBa AJaYYQo7dvGwhU7qcnKg6FHpdnBZipwAVFrr4Kaqdx2cWu7SBwyYFZQ/IxCeqiF1EpFbJH Zz2yycz6N3PDEJ765Z5F64OUC3HE5c4xkh+NgCFGnUl5WeZP/hP+MbHub0UuJJ8+/fx6Nq EjWTX7Ch3xadHCPhcHE9OCfBh6qn6WcTiRQr8Bo2jRNrKmeKvSVfEQL2AH/uGg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1693453852; 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=AAB6GndVpeNwojzNu1gu7ijwOAPwLP9mqfisdr233Us=; b=Y+T+O5oOUNQTbqeuNIS6iYioU2ZfII0JS/vBUbA6120wg1zoRy3h9raxaWE6FKsu6ADgBk TV4ou/YC401IDvYuoLviAceQR7TMhcE518tdljkizbDZ4lkyM5AiKNV1PToQCcaTPAnuEV wwFS0Q2HJniRs/suFmDhbe+LVIhyz87bilLLnTwZf4TNpetKYxB17EiWIz+x/jTYFhxJMB E+GNtoPPRDte3pVkEYgErrVIRGWaWqslriv1zfBU0u3CpIAorNu6xOzpwbfAIdwyETBBs7 T58Err5VdmQNnNOVzGrTyu0hLLa5OMR43a1fl3kFyCs3FTMaUJXthfwziDtOaA== 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 4RbnJD0pmZz12FK for ; Thu, 31 Aug 2023 03:50:52 +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 37V3oqBs091120 for ; Thu, 31 Aug 2023 03:50:52 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 37V3oqoP091119 for net@FreeBSD.org; Thu, 31 Aug 2023 03:50:52 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 221122] Attaching interface to a bridge stops all traffic on uplink NIC for few seconds Date: Thu, 31 Aug 2023 03:50:49 +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: 11.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: spork@bway.net X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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=3D221122 spork@bway.net changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |spork@bway.net --- Comment #31 from spork@bway.net --- I burned a few hours on this last night, first thinking something was amiss with iocage (fair assumption, as it seems to be another abandoned project). Then while troubleshooting, I started running the bridge creation and inter= face additions by hand and noticed my prompt was hanging for a few seconds. Then= I found the link flaps in the logs: Aug 29 20:42:56 clweb5 kernel: ext0: link state changed to DOWN Aug 29 20:43:01 clweb5 kernel: ext0: Link is up, 1 Gbps Full Duplex, Reques= ted FEC: None, Negotiated FEC: None, Autoneg: True, Flow Control: None Aug 29 20:43:01 clweb5 kernel: ext0: link state changed to UP Aug 29 20:45:53 clweb5 kernel: ext0: link state changed to DOWN Aug 29 20:45:57 clweb5 kernel: ext0: Link is up, 1 Gbps Full Duplex, Reques= ted FEC: None, Negotiated FEC: None, Autoneg: True, Flow Control: None Aug 29 20:45:57 clweb5 kernel: ext0: link state changed to UP Aug 29 20:48:10 clweb5 kernel: ext0: link state changed to DOWN Aug 29 20:48:15 clweb5 kernel: ext0: Link is up, 1 Gbps Full Duplex, Reques= ted FEC: None, Negotiated FEC: None, Autoneg: True, Flow Control: None Aug 29 20:48:15 clweb5 kernel: ext0: link state changed to UP Seems to take about 5 seconds for it to recover, which is kind of rough on a box that will be hosting multiple jails. I understand there were workarounds posted, but I'm curious about the fix mentioned here and under what conditions this should not happen? NICs are ixl(4) OS is: 13.2-RELEASE-p2 FreeBSD 13.2-RELEASE-p2 GENERIC amd64 I did dig through the manpage for if_bridge(4), and I'm sure I saw the note about matching capabilities, but it didn't really jump out as a cause. Mayb= e a note that specifically calls out the most common use case (bridging with epair(4) for jails, bhyve or other virtualization methods) would be a good idea? Or even something in epair(4)'s manpage? --=20 You are receiving this mail because: You are the assignee for the bug.=