diff options
| author | Eric Dumazet <[email protected]> | 2023-08-01 20:52:51 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2023-08-02 18:44:55 -0700 |
| commit | 09c2c90705bb64986d499c4a4f3fd659761b637c (patch) | |
| tree | 78e5598712de29cf21cfd49ee8d3ef739213476b /tools/perf/scripts/python/bin | |
| parent | 49c467dca39df9a3674854969cc5a8eb7170682d (diff) | |
net: allow alloc_skb_with_frags() to allocate bigger packets
Refactor alloc_skb_with_frags() to allow bigger packets allocations.
Instead of assuming that only order-0 allocations will be attempted,
use the caller supplied max order.
v2: try harder to use high-order pages, per Willem feedback.
Link: https://lore.kernel.org/netdev/CANn89iJQfmc_KeUr3TeXvsLQwo3ZymyoCr7Y6AnHrkWSuz0yAg@mail.gmail.com/
Signed-off-by: Eric Dumazet <[email protected]>
Cc: Tahsin Erdogan <[email protected]>
Reviewed-by: Willem de Bruijn <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions