Home
last modified time | relevance | path

Searched hist:"37 dfe5b8" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/
H A Dtap.c37dfe5b8 Tue Aug 01 15:52:54 CDT 2023 Eric Dumazet <edumazet@google.com> net: tap: change tap_alloc_skb() to allow bigger paged allocations

tap_alloc_skb() is currently calling sock_alloc_send_pskb()
forcing order-0 page allocations.

Switch to PAGE_ALLOC_COSTLY_ORDER, to increase max size by 8x.

Also add logic to increase the linear part if needed.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Tahsin Erdogan <trdgn@amazon.com>
Reviewed-by: Willem de Bruijn <willemb@google.com>
Link: https://lore.kernel.org/r/20230801205254.400094-5-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>