]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
ixgbevf: only DMA sync frame length
authorEmil Tantilov <emil.s.tantilov@intel.com>
Mon, 11 Dec 2017 18:36:54 +0000 (10:36 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 26 Jan 2018 15:46:50 +0000 (07:46 -0800)
commit68b6ff5825c869c125930924f22e55c6ee126dbb
tree2c0f096d53df31f7595df049050986dbcde911b8
parenta355fd9a1bc078e1cdf99e97c8b8c2d977b05f94
ixgbevf: only DMA sync frame length

Based on commit 64f2525ca4e7 ("igb: Only DMA sync frame length")

On some architectures synching a buffer for DMA may be expensive.
Instead of the entire 2K receive buffer only synchronize the length of
the frame, which will typically be the MTU or smaller.

Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Tested-by: Krishneil Singh <krishneil.k.singh@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c