]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbevf: add support for padding packet
authorEmil Tantilov <emil.s.tantilov@intel.com>
Wed, 31 Jan 2018 00:51:33 +0000 (16:51 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 26 Feb 2018 17:29:49 +0000 (09:29 -0800)
commitaf0f8e669f1bccef0b6be157f3e0cdb4e502ba72
treeec8154ecb74d6760104783d12f54bc71c05e3481
parent94dab2a2f917a6c73b465e65a07790ed00e0bcbb
ixgbevf: add support for padding packet

Following the logic from commit 370299505963
("ixgbe: Add support for padding packet")

Add support for providing a buffer with headroom and tail room
to allow for shared info, NET_SKB_PAD, and NET_IP_ALIGN.  With this
combined with the DMA changes we can start using build_skb to build frames
around an incoming Rx buffer instead of having to memcpy the headers.

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.h
drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c