Skip to content

net: enable use of kmem_cache_alloc_bulk in network stack

Jesper Dangaard Brouer netdev 1 version In review

Get series with b4
b4 am 20160509134352.3573.37044.stgit@firesoul

Versions newest first

  1. v1 Latest3 patches 16 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3net: bulk alloc and reuse of SKBs in NAPI contextnet/core/skbuff.c+45 -269 replies
2/3mlx4: use napi_alloc_skb API to get SKB bulk allocationsdrivers/net/ethernet/mellanox/mlx4/en_rx.c+4 -32 replies
3/3net: warn on napi_alloc_skb being called in wrong contextnet/core/skbuff.c+3 -04 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [net-next PATCH V1 0/3] net: enable use of kmem_cache_alloc_bulk in network stack

This patchset enables use of the slab/kmem_cache bulk alloc API, and completes the use the slab/kmem_cache bulking API in the network stack.

I've not included the patches that introduce a SKB bulk hint, which would beneficial for drivers like mlx5. Lets see if we can agree on this patchset first.

---

Jesper Dangaard Brouer (3):
net: bulk alloc and reuse of SKBs in NAPI context
mlx4: use napi_alloc_skb API to get SKB bulk allocations
net: warn on napi_alloc_skb being called in wrong context

 drivers/net/ethernet/mellanox/mlx4/en_rx.c |    7 ++-
 net/core/skbuff.c                          |   74 ++++++++++++++++++----------
 2 files changed, 52 insertions(+), 29 deletions(-)