net: skbuff: update and rename __kfree_skb_defer()
authorJakub Kicinski <kuba@kernel.org>
Thu, 20 Apr 2023 02:00:05 +0000 (19:00 -0700)
committerJakub Kicinski <kuba@kernel.org>
Fri, 21 Apr 2023 02:25:08 +0000 (19:25 -0700)
commit8fa66e4a1bdd41d55d7842928e60a40fed65715d
tree62061425fbc4991298798fe48850614b39b5f4fd
parent61718206ee5de9cc2c3503c59287c0b968446508
net: skbuff: update and rename __kfree_skb_defer()

__kfree_skb_defer() uses the old naming where "defer" meant
slab bulk free/alloc APIs. In the meantime we also made
__kfree_skb_defer() feed the per-NAPI skb cache, which
implies bulk APIs. So take away the 'defer' and add 'napi'.

While at it add a drop reason. This only matters on the
tx_action path, if the skb has a frag_list. But getting
rid of a SKB_DROP_REASON_NOT_SPECIFIED seems like a net
benefit so why not.

Reviewed-by: Alexander Lobakin <aleksander.lobakin@intel.com>
Link: https://lore.kernel.org/r/20230420020005.815854-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/linux/skbuff.h
net/core/dev.c
net/core/gro.c
net/core/skbuff.c