diff options
author | Andrew Lunn <[email protected]> | 2016-06-03 23:03:25 +0200 |
---|---|---|
committer | Jeff Kirsher <[email protected]> | 2016-06-29 13:59:24 -0700 |
commit | 64f2525ca4e76b1704b867458808ed6ffc58b803 (patch) | |
tree | 6ce9a89bd858c128e54130191b621b4fab6fba61 /lib/mpi/mpiutil.c | |
parent | 581e0c7df90b1a7f92e7ac3e69000b414319f161 (diff) |
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 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 operations bound and reduces CPU load for TCP transmit.
Signed-off-by: Andrew Lunn <[email protected]>
Tested-by: Aaron Brown <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions