diff options
author | Scott Peterson <scott.d.peterson@intel.com> | 2016-11-03 16:09:41 -0700 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2017-01-08 01:39:49 -0800 |
commit | 881571c12fed1bacf100b13fb2ac528faf57390c (patch) | |
tree | ae10512ef46f8db8b045201985faabc8124400a2 /drivers/net/ipvlan/ipvlan_main.c | |
parent | 6721f2dad51164fe9da7b3c2f8156529d716b888 (diff) | |
download | linux-881571c12fed1bacf100b13fb2ac528faf57390c.tar.gz linux-881571c12fed1bacf100b13fb2ac528faf57390c.tar.bz2 linux-881571c12fed1bacf100b13fb2ac528faf57390c.zip |
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>
Diffstat (limited to 'drivers/net/ipvlan/ipvlan_main.c')
0 files changed, 0 insertions, 0 deletions