commit | 881571c12fed1bacf100b13fb2ac528faf57390c | [log] [tgz] |
---|---|---|
author | Scott Peterson <scott.d.peterson@intel.com> | Thu Nov 03 16:09:41 2016 -0700 |
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | Sun Jan 08 01:39:49 2017 -0800 |
tree | ae10512ef46f8db8b045201985faabc8124400a2 | |
parent | 6721f2dad51164fe9da7b3c2f8156529d716b888 [diff] |
fm10k: Limit dma sync of RX buffers to actual packet size On packet RX, we perform a dma sync for cpu before passing the packet up. Here we limit that sync to the actual length of the incoming packet, rather than always syncing the entire buffer. Signed-off-by: Scott Peterson <scott.d.peterson@intel.com> Signed-off-by: Jacob Keller <jacob.e.keller@intel.com> Tested-by: Krishneil Singh <krishneil.k.singh@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>