diff options
author | Andrew Lunn <andrew@lunn.ch> | 2016-06-03 23:03:25 +0200 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2016-06-29 13:59:24 -0700 |
commit | 64f2525ca4e76b1704b867458808ed6ffc58b803 (patch) | |
tree | 6ce9a89bd858c128e54130191b621b4fab6fba61 /drivers/mtd/nftlcore.c | |
parent | ixgbe: fix spoofed packets with macvlans (diff) | |
download | linux-dev-64f2525ca4e76b1704b867458808ed6ffc58b803.tar.xz linux-dev-64f2525ca4e76b1704b867458808ed6ffc58b803.zip |
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 <andrew@lunn.ch>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/mtd/nftlcore.c')
0 files changed, 0 insertions, 0 deletions