Skip to content

net: extend alloc_skb_with_frags() max size

Eric Dumazet netdev 2 versions Applied

Status from this message: This series was applied to netdev/net-next.git (main)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 1 replyApplied 4/4
  2. v14 patches 6 repliesSuperseded 3 of 4 applied

Patches in v2 All 4 applied

#Subject and filesSizeRepliesApplied
1/4net: allow alloc_skb_with_frags() to allocate bigger packetsnet/core/skbuff.c+25 -310 repliesApplied
2/4net: tun: change tun_alloc_skb() to allow bigger paged allocationsdrivers/net/tun.c+3 -10 repliesApplied
3/4net/packet: change packet_alloc_skb() to allow bigger paged allocationsnet/packet/af_packet.c+3 -10 repliesApplied
4/4net: tap: change tap_alloc_skb() to allow bigger paged allocationsdrivers/net/tap.c+3 -10 repliesApplied

Reviews trailers per patch

None of the 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchWillem de Bruijn
SeriesR-b
1/4
2/4
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 net-next 0/4] net: extend alloc_skb_with_frags() max size

alloc_skb_with_frags(), while being able to use high order allocations, limits the payload size to PAGE_SIZE * MAX_SKB_FRAGS

Reviewing Tahsin Erdogan patch [1], it was clear to me we need to remove this limitation.

[1] https://lore.kernel.org/netdev/[email protected]/

v2: Addressed Willem feedback on 1st patch.

Eric Dumazet (4):
net: allow alloc_skb_with_frags() to allocate bigger packets
net: tun: change tun_alloc_skb() to allow bigger paged allocations net/packet: change packet_alloc_skb() to allow bigger paged
allocations
net: tap: change tap_alloc_skb() to allow bigger paged allocations

 drivers/net/tap.c      |  4 ++-
 drivers/net/tun.c      |  4 ++-
 net/core/skbuff.c      | 56 +++++++++++++++++++-----------------------
 net/packet/af_packet.c |  4 ++-
 4 files changed, 34 insertions(+), 34 deletions(-)
Signature · 1 line
2.41.0.585.gd2178a4bd4-goog