diff options
author | Alexander Lobakin <aleksander.lobakin@intel.com> | 2025-02-25 18:17:49 +0100 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2025-02-27 14:03:52 +0100 |
commit | 1c5bf4de975dd4d493cea3567703404819c81425 (patch) | |
tree | 57af76f7596840390aef9f8a29f1fb685f90d99a /net/unix/af_unix.c | |
parent | ed16b8a4d1ca901fc13ced042b76dde54738249a (diff) |
veth: use napi_skb_cache_get_bulk() instead of xdp_alloc_skb_bulk()
Now that we can bulk-allocate skbs from the NAPI cache, use that
function to do that in veth as well instead of direct allocation from
the kmem caches. veth uses NAPI and GRO, so this is both context-safe
and beneficial.
Reviewed-by: Toke Høiland-Jørgensen <toke@redhat.com>
Signed-off-by: Alexander Lobakin <aleksander.lobakin@intel.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions