From: Tom Rini Date: Wed, 13 Apr 2016 16:33:48 -0400 Subject: [U-Boot] [PATCH 2/2] net: increase maximum frame size to accomediate VLAN packets In-Reply-To: <1460502590-23878-2-git-send-email-stefan@agner.ch> References: <1460502590-23878-1-git-send-email-stefan@agner.ch> <1460502590-23878-2-git-send-email-stefan@agner.ch> Message-ID: <20160413203348.GJ13577@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tue, Apr 12, 2016 at 04:09:50PM -0700, Stefan Agner wrote: > Ethernet packages with IEEE 802.1Q VLAN support may be up to 1522 > bytes long. Increase the default size used to allocate packet > storage by 4 bytes. > > Signed-off-by: Stefan Agner > --- > > include/net.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/include/net.h b/include/net.h > index 1fb4194..a97e530 100644 > --- a/include/net.h > +++ b/include/net.h > @@ -476,7 +476,7 @@ struct icmp_hdr { > * maximum packet size = 1518 This comment is now wrong too, please update or maybe add: * maximum packet size and VLAN header = 1522 > * maximum packet size and multiple of 32 bytes = 1536 > */ > -#define PKTSIZE 1518 > +#define PKTSIZE 1522 > #define PKTSIZE_ALIGN 1536 > /*#define PKTSIZE 608*/ > > -- > 2.8.0 > > _______________________________________________ > U-Boot mailing list > U-Boot at lists.denx.de > http://lists.denx.de/mailman/listinfo/u-boot -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: