RE: [Intel-wired-lan] [PATCHv2 net-next] net: igb: Only dma sync frame length

2016-06-14 Thread Brown, Aaron F
dev@vger.kernel.org>; intel-wired-...@lists.osuosl.org; > Andrew Lunn <and...@lunn.ch> > Subject: [Intel-wired-lan] [PATCHv2 net-next] net: igb: Only dma sync frame > length > > On some platforms, syncing a buffer for DMA is expensive. Rather than > sync the whole 2K receive buffer, only

[PATCHv2 net-next] net: igb: Only dma sync frame length

2016-06-04 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

[PATCHv2 net-next] 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