]> 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)
commit138ee1e9f74eb74c925fc94b665d4e874d5660de
treeec8154ecb74d6760104783d12f54bc71c05e3481
parent8c629b6f54072015da0900954dff08f4fec774fd
ixgbevf: add support for padding packet

Following the logic from commit d47df697f939
("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