From nobody Fri Sep 16 12:50:05 2022 X-Original-To: dev-commits-src-main@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 4MTYnT56qbz4ckLq; Fri, 16 Sep 2022 12:50:05 +0000 (UTC) (envelope-from git@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 4MTYnT4cZQz4Mvs; Fri, 16 Sep 2022 12:50:05 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1663332605; 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; bh=0pZtCzOSCgWIoFliQYm/8UZRLbZu9mW5en1FHSKkpAc=; b=st6+TvkujtxLPuBury4ylwkN4THhVnhuXpBBru05uY+vRRdduJ5PBTq63Wo52BwLnovXSz LPUCO+t4zQC8BNJ2urlZfVgzi87oMCw+XUkeAXC0bG5ZmBHNU74bMfJoiURlyKIYXPEpUF 6gVoz3WINSa4C4OCUcI/ytQbWwnhlVgB0IpKCCn+6Y/fHLKdI+0r607MlN5Asw5xGuwgyV QMJ5mu5efymurGZJG84RGuZi/Bci8Cf5yADn7G2i6koO8px1BwPqBnVe19D1qBAlnbiDzN p4K1eMEdY1tgFr7vToVEf6h427IbNOoInZO8NgoJxmE2DBRTUBV3VEN2t5Bk9w== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 4MTYnT3fp3zMZc; Fri, 16 Sep 2022 12:50:05 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 28GCo5sS053585; Fri, 16 Sep 2022 12:50:05 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 28GCo5ma053582; Fri, 16 Sep 2022 12:50:05 GMT (envelope-from git) Date: Fri, 16 Sep 2022 12:50:05 GMT Message-Id: <202209161250.28GCo5ma053582@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Kristof Provost Subject: git: b4174079576a - main - bridge.4: describe new MTU behaviour List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: b4174079576aeb811f2aa854be2d32b703a21960 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1663332605; 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; bh=0pZtCzOSCgWIoFliQYm/8UZRLbZu9mW5en1FHSKkpAc=; b=obL3dzwYv8b34dbOuGXaznaBdoDuKzIZ/fl8ImYpBSGHxVviCy9JsEgP9jM42e/JZwWa0R yKDA4gRusBC6uL3VGHINt8owno6h2WSxRWu8j6bGMirJi8CouGQ9ak8GnRMVVE2fYzeeQU ua+hjZaDH6UTqWhAUx6TqWO5KeFrweeFJtSV7ngBAgQKaD/4LCCGT8q9zZAwJTyzAMFzWl vdnKw8Kv+UVwsKTxcXze65pcRDQljiJW4+cdS3+kfo2ScgPgdAZO3Y1vkDhQzDgWCU+OVy 3tNV85V0troYwHre6KUJV8aSI8miIyvRAP+9Nvv0QRouJR28sKgK1l3cx+BNLQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1663332605; a=rsa-sha256; cv=none; b=DiaZjPSHJ2p3IJTID0RtzzKx9QCbq7e6Qqn9jeakUsRkazQRSIgEKQKmj/j+89YzprCImg r10++C7MVZNwLZUT4ZeD19IyRskRUK97SL+KQBRXsVxeqBPSnzLHCj9wI80uhiGR8rLChP DjmPXfcJwphTlTzhujYgp+7RsRctF2hfarObttlNv/d7oK+7Zz2JF3KUXqJj7LDP0HPfOP IdsEpvmqcB+UKMG7OH//R0Z0qLf6OhN2XfHOwaOYeMC3onp4uLBzs8L2yP5uyEmmqgHrLs dzkwErP9t7tMPI8yKm4Br2xs20sSy0LWcLXyXnSbFzwekeEa4n7urT5Ghfiq8g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by kp: URL: https://cgit.FreeBSD.org/src/commit/?id=b4174079576aeb811f2aa854be2d32b703a21960 commit b4174079576aeb811f2aa854be2d32b703a21960 Author: Kristof Provost AuthorDate: 2022-09-15 06:26:49 +0000 Commit: Kristof Provost CommitDate: 2022-09-16 10:49:16 +0000 bridge.4: describe new MTU behaviour 1865ebfb12 changed if_bridge to have it change the MTU on newly added interfaces to match the if_bridge MTU, rather than rejecting them for having an incorrect MTU. Update the man page to reflect this, as pointed out by woodsb02. Reviewed by: woodsb02 Differential Revision: https://reviews.freebsd.org/D36481 --- share/man/man4/bridge.4 | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/share/man/man4/bridge.4 b/share/man/man4/bridge.4 index e193724928ca..e5313430b407 100644 --- a/share/man/man4/bridge.4 +++ b/share/man/man4/bridge.4 @@ -35,7 +35,7 @@ .\" .\" $FreeBSD$ .\" -.Dd November 17, 2021 +.Dd September 7, 2022 .Dt IF_BRIDGE 4 .Os .Sh NAME @@ -127,7 +127,9 @@ in .Xr rc.conf 5 . .Pp The MTU of the first member interface to be added is used as the bridge MTU. -All additional members are required to have exactly the same MTU value. +All additional members will have their MTU changed to match. +If the MTU of a bridge is changed after its creation, the MTU of all member +interfaces is also changed to match. .Pp The TOE, TSO, TXCSUM and TXCSUM6 capabilities on all interfaces added to the bridge are disabled if any of the interfaces do not support/enable them. @@ -511,4 +513,5 @@ Rapid Spanning Tree Protocol (RSTP) support was added by The .Nm driver currently supports only Ethernet and Ethernet-like (e.g., 802.11) -network devices, with exactly the same interface MTU size as the bridge device. +network devices, which can be configured with the same MTU size as the bridge +device.