Re: [Intel-wired-lan] [PATCH] net: igb: Only dma sync frame length

2016-06-03 Thread Alexander Duyck
On Fri, Jun 3, 2016 at 10:45 AM, Andrew Lunn wrote: > On some platforms, syncing a buffer for DMA is expensive. Rather than > sync the whole 2K receive buffer, only synchronise the length of the > frame, which will typically be the MTU, or a much smaller TCP ACK. > > For an IMX6Q,

[PATCH] net: igb: Only dma sync frame length

2016-06-03 Thread Andrew Lunn
On some platforms, syncing a buffer for DMA is expensive. Rather than sync the whole 2K receive buffer, only synchronise the length of the frame, which will typically be the MTU, or a much smaller TCP ACK. For an IMX6Q, this gives around 6% increased TCP receive performance, which is cache