[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230801205254.400094-1-edumazet@google.com>
Date: Tue, 1 Aug 2023 20:52:50 +0000
From: Eric Dumazet <edumazet@...gle.com>
To: "David S . Miller" <davem@...emloft.net>, Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>
Cc: Willem de Bruijn <willemb@...gle.com>, Tahsin Erdogan <trdgn@...zon.com>, netdev@...r.kernel.org,
eric.dumazet@...il.com, Eric Dumazet <edumazet@...gle.com>
Subject: [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/20230731230736.109216-1-trdgn@amazon.com/
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(-)
--
2.41.0.585.gd2178a4bd4-goog
Powered by blists - more mailing lists