Re: [PATCH v5 07/14] net: pch_gbe: Fix handling of TX padding

2018-02-19 Thread David Miller
From: Paul Burton Date: Mon, 19 Feb 2018 08:42:23 -0800 > So whilst I totally agree that copying around the whole frame is awful, > it's a separate problem to the length used for DMA mapping being > incorrect which is what this patch addresses & I'd rather not start >

Re: [PATCH v5 07/14] net: pch_gbe: Fix handling of TX padding

2018-02-19 Thread Paul Burton
Hi David, On Mon, Feb 19, 2018 at 02:01:25PM +, David Laight wrote: > From: Paul Burton > > Sent: 17 February 2018 20:11 > > > > The ethernet controller found in the Intel EG20T Platform Controller > > Hub requires that we place 2 bytes of padding between the ethernet > > header & the packet

RE: [PATCH v5 07/14] net: pch_gbe: Fix handling of TX padding

2018-02-19 Thread David Laight
From: Paul Burton > Sent: 17 February 2018 20:11 > > The ethernet controller found in the Intel EG20T Platform Controller > Hub requires that we place 2 bytes of padding between the ethernet > header & the packet payload. Our pch_gbe driver handles this by copying > packets to be transmitted to a