Re: [PATCH v2] gianfar: prevent fragmentation in DSA environments

2016-08-23 Thread David Miller
From: Zefir Kurtisi Date: Mon, 22 Aug 2016 15:56:38 +0200 > The eTSEC register MRBLR defines the maximum space in > the RX buffers and is set to 1536 by gianfar. This > reasonably covers the common use case where the MTU > is kept at default 1500. In that case, the largest > Ethernet frame size o

[PATCH v2] gianfar: prevent fragmentation in DSA environments

2016-08-22 Thread Zefir Kurtisi
The eTSEC register MRBLR defines the maximum space in the RX buffers and is set to 1536 by gianfar. This reasonably covers the common use case where the MTU is kept at default 1500. In that case, the largest Ethernet frame size of 1518 plus an optional GMAC_FCB_LEN of 8, and an additional padding o