From nobody Tue Dec 07 03:52:06 2021 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 C4BBB18CAD6A for ; Tue, 7 Dec 2021 03:52:06 +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 4J7RFL4Tpzz4vpv for ; Tue, 7 Dec 2021 03:52:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 637A018C62 for ; Tue, 7 Dec 2021 03:52:06 +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 1B73q6s4023166 for ; Tue, 7 Dec 2021 03:52:06 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1B73q6vg023164 for net@FreeBSD.org; Tue, 7 Dec 2021 03:52:06 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: Tue, 07 Dec 2021 03:52:06 +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 Only Me X-Bugzilla-Who: mason@blisses.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1638849126; 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=SWOvuKnRjAlBF7Vo/XQJq9iXQ6nbw4E5OfHpHWYDBeM=; b=DUfhEoNCz59G2QLBoCTTaGHYhQUjdZrqnOiR60b6aBFlfASMP3fi7aC09fTWIveKfsVnmb HG9b8Q3rPH3C5zNfTodZj4qlyXQZ5X6AG6fK6iQDBGdkGXlB6f59jXMALGp7ZHnGyEoh52 FE44ad03qgdDiTPnD92dyOSkomPET2AOAA3dKvTgbqMJJ4+Dl8SPWt9PTGPt2FOCkgksiw WqDPLOHb8w6P/RdOedaA3k5o7RwcuTRfIlEzzqXmw/LGN9K2+e9K1gfzZ99AYXl72/sFNF ew03sjKOJhzBA4vYi2KQJObU6bGefMjHiF5/Y4cfwq0l9PU41P2JfusDx2kQgQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1638849126; a=rsa-sha256; cv=none; b=y1S6lkPjLp5067BHQz+vRMUVEQ3qJ4P1SbUPM20syibaFvC1j3bbk6Or9E2SM4Nbd43QXE qerdTXhKqskVwEXu5TtCm85b0l6xXFLEH5unu+1YxNMFeJhEgQIuBfy7KNBUtY5apZcCsi QKdrre6aAmheEtRFvI7GDoISlu+e1l/+C1vSZteZdaRq8TiU9Hg6oY+dWhKyxrk67lzqUB 3VZSEcQd9cT/C7LHo4iZ7f5g6GyTyySpKbEEhaeLngXig8EfRhMbqwSHg4sKS9yHyZ0cpa xNG02AzB4YzL1xsBX/9k0UyZSfmJOxu34JkXIW6pVeU6XWQHiuuyULyAzIXnuQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221122 --- Comment #19 from Mason Loring Bliss --- I saw this issue on FreeBSD 13.0-RELEASE, and following kbowling's recommendation, also tried the most recent 13-STABLE images. This latter is where I've gathered data. Same issue: Add an epair half to a bridge and things go away for several seconds. The delay is quite possibly longer in -STABLE but I might be imagining it. Either way, documented below. Note that on literally the same hardware, the same operations cause no delay under Debian Bullseye: Have a bridge, add a vnet device to it, and everything keeps flowing without interruption, which is useful since these boxes are hypervisors and running a variety of generally network-oriented tasks. # freebsd-version -ku ; uname -a 13.0-STABLE 13.0-STABLE FreeBSD amazon.int.blisses.org 13.0-STABLE FreeBSD 13.0-STABLE #0 stable/13-n248302-2cd26a286a9: Thu Dec 2 02:40:58 UTC 2021 root@releng3.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64 # dmesg | tail uhid0 on uhub3 uhid0: on usbus1 Security policy loaded: MAC/ntpd (mac_ntpd) epair0a: Ethernet address: 02:52:8f:32:b1:0a epair0b: Ethernet address: 02:52:8f:32:b1:0b epair0a: link state changed to UP epair0b: link state changed to UP igb0: link state changed to DOWN epair0a: promiscuous mode enabled igb0: link state changed to UP # dmesg | grep igb0 igb0: mem 0xfb720000-0xfb73ffff,0xfb7c4000-0xfb7c7fff irq 40 at device 0.0 on pci3 igb0: EEPROM V0.93-0 eTrack 0x800006b2 igb0: Using 1024 TX descriptors and 1024 RX descriptors igb0: Using 6 RX queues 6 TX queues igb0: Using MSI-X interrupts with 7 vectors igb0: Ethernet address: 00:25:90:a6:a5:60 igb0: netmap queues/slots: TX 6/1024, RX 6/1024 igb0: promiscuous mode enabled igb0: link state changed to UP igb0: link state changed to DOWN igb0: link state changed to UP /home/mason$ date ; ssh root@amazon ifconfig bridge0 addm epair0a ; date Mon 06 Dec 2021 10:36:37 PM EST Mon 06 Dec 2021 10:36:41 PM EST /home/mason$ date ; ssh root@amazon ifconfig bridge0 deletem epair0a ; date Mon 06 Dec 2021 10:37:00 PM EST Mon 06 Dec 2021 10:37:05 PM EST /home/mason$ date ; ssh root@amazon date ; date Mon 06 Dec 2021 10:38:14 PM EST Mon Dec 6 22:38:14 EST 2021 Mon 06 Dec 2021 10:38:14 PM EST --=20 You are receiving this mail because: You are the assignee for the bug.=