]> git.baikalelectronics.ru Git - kernel.git/commit
igb: Re-add support for build_skb in igb
authorAlexander Duyck <alexander.h.duyck@intel.com>
Tue, 7 Feb 2017 02:27:36 +0000 (18:27 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 17 Mar 2017 19:11:44 +0000 (12:11 -0700)
commit634a00e910d2ab57535e8c17029ac9f2c2c33a14
tree65272763a1cdb6c9afb9587738bd004fd1c6fd4d
parent2fc1a4a9806a559042503431a766a2c728dc504a
igb: Re-add support for build_skb in igb

This reverts commit 8bd26ecd4f86 ("igb: Revert support for build_skb in
igb") and adds a few changes to update it to work with the latest version
of igb. We are now able to revert the removal of this due to the fact
that with the recent changes to the page count and the use of
DMA_ATTR_SKIP_CPU_SYNC we can make the pages writable so we should not be
invalidating the additional data added when we call build_skb.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/igb/igb_main.c