From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from gandalf.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3]) by passt.top (Postfix) with ESMTPS id 903245A026E for ; Sat, 18 Mar 2023 06:03:01 +0100 (CET) Received: by gandalf.ozlabs.org (Postfix, from userid 1007) id 4Pdply72LHz4xFd; Sat, 18 Mar 2023 16:02:54 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gibson.dropbear.id.au; s=201602; t=1679115775; bh=nHD8/g+S3jXxIAFPqKlSYywx8q4CvGmVAk5ZquVH6S4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=aI86JQYUxqCxh7y/qQfuIp1xukiQBVm+oieArMPYu4V9hW61wmSQuZarShMJwr7kF UxLsmq5e0fT87mlUJHjmjaQgb5lwyu3LREeHUgQkk/YBV4v37+2wxkI1+KQ4BitXfN 0LS9+8ySYFPxtq4RniYr7cfzreqvNqnTNJOYJ5ok= Date: Sat, 18 Mar 2023 13:03:36 +1100 From: David Gibson To: Stefano Brivio Subject: Re: [PATCH] passt.1: Fix description of --mtu option Message-ID: References: <20230315091350.3767103-1-sbrivio@redhat.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="O+CDhSSE22QV4ykb" Content-Disposition: inline In-Reply-To: <20230315091350.3767103-1-sbrivio@redhat.com> Message-ID-Hash: 4LYEM2CENBPQKSF4HU2JSMVR5P7V4NTB X-Message-ID-Hash: 4LYEM2CENBPQKSF4HU2JSMVR5P7V4NTB X-MailFrom: dgibson@gandalf.ozlabs.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: passt-dev@passt.top X-Mailman-Version: 3.3.8 Precedence: list List-Id: Development discussion and patches for passt Archived-At: Archived-At: List-Archive: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: --O+CDhSSE22QV4ykb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 15, 2023 at 10:13:50AM +0100, Stefano Brivio wrote: > By default, 65520 bytes are advertised, and zero disables DHCP and > NDP options. >=20 > Fixes: ec2b58ea4dc4 ("conf, dhcp, ndp: Fix message about default MTU, mak= e NDP consistent") > Signed-off-by: Stefano Brivio Reviewed-by: David Gibson > --- > passt.1 | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-) >=20 > diff --git a/passt.1 b/passt.1 > index 6136fa5..4c90634 100644 > --- a/passt.1 > +++ b/passt.1 > @@ -135,8 +135,10 @@ background (if configured to do so). > =20 > .TP > .BR \-m ", " \-\-mtu " " \fImtu > -Assign \fImtu\fR via DHCP (option 26) and NDP (option type 5). > -By default, no MTU options will be sent. > +Assign \fImtu\fR via DHCP (option 26) and NDP (option type 5). A zero va= lue > +disables assignment. > +By default, the advertised MTU is 65520 bytes, that is, the maximum 802.= 3 MTU > +minus the length of a 802.3 header, rounded to 32 bits (IPv4 words). > =20 > .TP > .BR \-a ", " \-\-address " " \fIaddr --=20 David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson --O+CDhSSE22QV4ykb Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEO+dNsU4E3yXUXRK2zQJF27ox2GcFAmQVG/IACgkQzQJF27ox 2GcW9A//RWy5FutgeNWny6ZhimZ+Bk8XrT0+rSleWIeo0+NVLqDLfHJn25X/GNqE 8i9H0wJjMnSDwnKdXsab+c97QneDOxvkBHVGumt+GGjNia5PTUBrQoij18FW6A/c NOkBam0/RpGgZvyIE3WQD3v3t6X6EVVnYeLFYlXvH3v6XUO/x4d2M4RaIljdQ7SU Sper2jP2IMpRVnm0ljh+Ccl3W0eM5V7hb8gEdnoG+6ZHqlyD2XCoPTusRZrNYH5O c88IvTADGA1Afi7jM7UVp83VwHbayjVRB4Oxh35iGaLB8UEjUg178rCMiPjykmIy skLsIBmoq7TIjOSbrfo1A92Ebl3SmEKFzsdET3gs9vDYGTggXjJOybYHpoSHsh4J 0VvWzAvzdK+gNebQ9/mpBY7vPSPLgnCCVCSyv4u5FM2WZ6wVcYHJpagnh0FYFCQO /Xu9C1ePZW5XFqL4x6bobrJMFs/kS71R80Uj7ExH79e+fyl4L65RnrO/h0xDPNOg wcbkmWeSPz5VbcxzuvvjcG+/O2S7+zE+E5KADybcFS/2djxC9PQjG3Mu8+3hquQp mZtXMXrvFpM1HvBH3D/9FZRulPlBM9VsSygGOjUDYeMPwJlwKTKBJW4kPDE+Vf/g PRNx9HmfJ+TEbFnZMweBity99G0xVB3MuxAWRiAY+59xkpMAuM8= =zQt8 -----END PGP SIGNATURE----- --O+CDhSSE22QV4ykb--