commit | f215af8cae4c283d8a522ea166d94f763dc4aebf | [log] [tgz] |
---|---|---|
author | Alexander Duyck <alexander.h.duyck@intel.com> | Tue Jan 17 08:35:44 2017 -0800 |
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | Thu Feb 16 04:02:44 2017 -0800 |
tree | d8b5c1b66c107a1c707051d71d5bfeac816631a4 | |
parent | af43da0dba0b1bc7af259cd7d6d76054f3acfab0 [diff] |
ixgbe: 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. Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>