diff options
author | 2021-02-13 14:12:49 +0000 | |
---|---|---|
committer | 2021-02-13 14:32:04 -0800 | |
commit | cfb8ec6595217430166fe833bca611e6bb126d2d (patch) | |
tree | b24bcfb87ed70ac3dacad5adb0bd6fcaff0209f4 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | skbuff: allow to optionally use NAPI cache from __alloc_skb() (diff) | |
download | wireguard-linux-cfb8ec6595217430166fe833bca611e6bb126d2d.tar.xz wireguard-linux-cfb8ec6595217430166fe833bca611e6bb126d2d.zip |
skbuff: allow to use NAPI cache from __napi_alloc_skb()
{,__}napi_alloc_skb() is mostly used either for optional non-linear
receive methods (usually controlled via Ethtool private flags and off
by default) and/or for Rx copybreaks.
Use __napi_build_skb() here for obtaining skbuff_heads from NAPI cache
instead of inplace allocations. This includes both kmalloc and page
frag paths.
Signed-off-by: Alexander Lobakin <alobakin@pm.me>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions