Received: from eggs.gnu.org ([2001:4830:134:3::10]:41798) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c8ueJ-0000a6-7h for qemu-devel@nongnu.org; Mon, 21 Nov 2016 14:53:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c8ueG-00066c-Ef for qemu-devel@nongnu.org; Mon, 21 Nov 2016 14:53:07 -0500 Received: from torg.zytor.com ([2001:1868:205::12]:41802 helo=mail.zytor.com) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c8ueG-0005rb-5L for qemu-devel@nongnu.org; Mon, 21 Nov 2016 14:53:04 -0500 References: <1479757549-18672-1-git-send-email-hpoussin@reactos.org> From: "H. Peter Anvin" Message-ID: <06704f59-9ae1-6fcd-df14-0ff8bd7413c6@zytor.com> Date: Mon, 21 Nov 2016 11:51:51 -0800 MIME-Version: 1.0 In-Reply-To: <1479757549-18672-1-git-send-email-hpoussin@reactos.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH] slirp: support dynamic block size for TFTP transfers List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?UTF-8?Q?Herv=c3=a9_Poussineau?= , qemu-devel@nongnu.org Cc: Stefan Hajnoczi , Samuel Thibault , Jan Kiszka On 11/21/16 11:45, Herv=C3=A9 Poussineau wrote: > The blocksize option is defined in RFC 1783. > We now support block sizes between 1 and 1432 bytes, instead of 512 onl= y. It ought to be 1476: Ethernet MTU =3D 1500, minus a minimum of 20 bytes for an IPv4 header and 4 for a TFTP header. Some bootloaders including Syslinux sandbag this value to avoid creating fragmented packets in case there is a VPN or something similar in the network path. -hpa