net: optmem_max changes
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
Patches in v1 All 3 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | net: increase optmem_max default valueDocumentation/ net/ | +8 | 3 replies | Applied |
| 2/3 | net: Namespace-ify sysctl_optmem_maxinclude/ include/ net/ +6 more | +29 | 2 replies | Applied |
| 3/3 | selftests/net: optmem_max became per netnstools/ tools/ | +8 | 1 reply | Applied |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Willem de Bruijn | Neal Cardwell |
|---|---|---|
| 1/3 | R-b R-b | A-b |
| 2/3 | R-b | A-b |
| 3/3 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH net-next 0/3] net: optmem_max changes
optmem_max default value is too small for tx zerocopy workloads.
First patch increases default from 20KB to 128 KB, which is the value we have used for seven years.
Second patch makes optmem_max sysctl per netns.
Last patch tweaks two tests accordingly.
Eric Dumazet (3):
net: increase optmem_max default value
net: Namespace-ify sysctl_optmem_max
selftests/net: optmem_max became per netns
Documentation/admin-guide/sysctl/net.rst | 5 ++++- include/net/netns/core.h | 1 + include/net/sock.h | 1 - net/core/bpf_sk_storage.c | 3 ++- net/core/filter.c | 12 +++++++----- net/core/net_namespace.c | 4 ++++ net/core/sock.c | 8 ++------ net/core/sysctl_net_core.c | 15 ++++++++------- net/ipv4/ip_sockglue.c | 6 +++--- net/ipv6/ipv6_sockglue.c | 4 ++-- .../testing/selftests/net/io_uring_zerocopy_tx.sh | 9 ++++----- tools/testing/selftests/net/msg_zerocopy.sh | 9 ++++----- 12 files changed, 41 insertions(+), 36 deletions(-)
Signature · 1 line
2.43.0.472.g3155946c3a-goog