diff options
author | 2017-04-05 07:51:02 -0400 | |
---|---|---|
committer | 2017-04-08 02:53:51 -0700 | |
commit | ca9ec0888d631c446040a7fab9985afdeb4f73f3 (patch) | |
tree | 8d3039c50ecfee4389540c2c427f918f616b9987 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | i40e/i40evf: Add support for using order 1 pages with a 3K buffer (diff) | |
download | wireguard-linux-ca9ec0888d631c446040a7fab9985afdeb4f73f3.tar.xz wireguard-linux-ca9ec0888d631c446040a7fab9985afdeb4f73f3.zip |
i40e/i40evf: Add support for padding start of frames
This patch adds padding to the start of frames to make room for headroom
for us to eventually start using build_skb. Right now we guarantee at
least NET_SKB_PAD + NET_IP_ALIGN, however we allocate more space if more is
available. For example on x86 the headroom should be 192 bytes.
On systems that have too large of a cache line size to support storing 1.5K
padding and shared info we default to using 3K buffers and reserve
everything that isn't used for skb_shared_info or the data buffer for
headroom.
Change-ID: I33c641c9a1ea10cf7cc484c2d20985368d2d709a
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions