* [PATCHv2 net] Documentation: fix sctp_wmem in ip-sysctl.rst
@ 2022-07-21 14:35 Xin Long
2022-07-24 13:06 ` Marcelo Ricardo Leitner
2022-07-24 20:50 ` patchwork-bot+netdevbpf
0 siblings, 2 replies; 3+ messages in thread
From: Xin Long @ 2022-07-21 14:35 UTC (permalink / raw)
To: network dev, linux-sctp; +Cc: davem, kuba, Marcelo Ricardo Leitner
Since commit 1033990ac5b2 ("sctp: implement memory accounting on tx path"),
SCTP has supported memory accounting on tx path where 'sctp_wmem' is used
by sk_wmem_schedule(). So we should fix the description for this option in
ip-sysctl.rst accordingly.
v1->v2:
- Improve the description as Marcelo suggested.
Fixes: 1033990ac5b2 ("sctp: implement memory accounting on tx path")
Signed-off-by: Xin Long <lucien.xin@gmail.com>
---
Documentation/networking/ip-sysctl.rst | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/Documentation/networking/ip-sysctl.rst b/Documentation/networking/ip-sysctl.rst
index 0e58001f8580..af2f0dfd50db 100644
--- a/Documentation/networking/ip-sysctl.rst
+++ b/Documentation/networking/ip-sysctl.rst
@@ -2870,7 +2870,14 @@ sctp_rmem - vector of 3 INTEGERs: min, default, max
Default: 4K
sctp_wmem - vector of 3 INTEGERs: min, default, max
- Currently this tunable has no effect.
+ Only the first value ("min") is used, "default" and "max" are
+ ignored.
+
+ min: Minimum size of send buffer that can be used by SCTP sockets.
+ It is guaranteed to each SCTP socket (but not association) even
+ under moderate memory pressure.
+
+ Default: 4K
addr_scope_policy - INTEGER
Control IPv4 address scoping - draft-stewart-tsvwg-sctp-ipv4-00
--
2.31.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCHv2 net] Documentation: fix sctp_wmem in ip-sysctl.rst
2022-07-21 14:35 [PATCHv2 net] Documentation: fix sctp_wmem in ip-sysctl.rst Xin Long
@ 2022-07-24 13:06 ` Marcelo Ricardo Leitner
2022-07-24 20:50 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 3+ messages in thread
From: Marcelo Ricardo Leitner @ 2022-07-24 13:06 UTC (permalink / raw)
To: Xin Long; +Cc: network dev, linux-sctp, davem, kuba
On Thu, Jul 21, 2022 at 10:35:46AM -0400, Xin Long wrote:
> Since commit 1033990ac5b2 ("sctp: implement memory accounting on tx path"),
> SCTP has supported memory accounting on tx path where 'sctp_wmem' is used
> by sk_wmem_schedule(). So we should fix the description for this option in
> ip-sysctl.rst accordingly.
>
> v1->v2:
> - Improve the description as Marcelo suggested.
>
> Fixes: 1033990ac5b2 ("sctp: implement memory accounting on tx path")
> Signed-off-by: Xin Long <lucien.xin@gmail.com>
Acked-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCHv2 net] Documentation: fix sctp_wmem in ip-sysctl.rst
2022-07-21 14:35 [PATCHv2 net] Documentation: fix sctp_wmem in ip-sysctl.rst Xin Long
2022-07-24 13:06 ` Marcelo Ricardo Leitner
@ 2022-07-24 20:50 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+netdevbpf @ 2022-07-24 20:50 UTC (permalink / raw)
To: Xin Long; +Cc: netdev, linux-sctp, davem, kuba, marcelo.leitner
Hello:
This patch was applied to netdev/net.git (master)
by David S. Miller <davem@davemloft.net>:
On Thu, 21 Jul 2022 10:35:46 -0400 you wrote:
> Since commit 1033990ac5b2 ("sctp: implement memory accounting on tx path"),
> SCTP has supported memory accounting on tx path where 'sctp_wmem' is used
> by sk_wmem_schedule(). So we should fix the description for this option in
> ip-sysctl.rst accordingly.
>
> v1->v2:
> - Improve the description as Marcelo suggested.
>
> [...]
Here is the summary with links:
- [PATCHv2,net] Documentation: fix sctp_wmem in ip-sysctl.rst
https://git.kernel.org/netdev/net/c/aa709da0e032
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-07-24 20:50 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-21 14:35 [PATCHv2 net] Documentation: fix sctp_wmem in ip-sysctl.rst Xin Long
2022-07-24 13:06 ` Marcelo Ricardo Leitner
2022-07-24 20:50 ` patchwork-bot+netdevbpf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox