netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net] Documentation: fix udp_wmem_min in ip-sysctl.rst
@ 2022-07-18 17:56 Xin Long
  2022-07-20  0:40 ` patchwork-bot+netdevbpf
  0 siblings, 1 reply; 2+ messages in thread
From: Xin Long @ 2022-07-18 17:56 UTC (permalink / raw)
  To: network dev; +Cc: davem, kuba, Paolo Abeni, Hideo Aoki

UDP doesn't support tx memory accounting, and sysctl udp_wmem_min
is not really used anywhere. So we should fix the description in
ip-sysctl.rst accordingly.

Fixes: 95766fff6b9a ("[UDP]: Add memory accounting.")
Signed-off-by: Xin Long <lucien.xin@gmail.com>
---
 Documentation/networking/ip-sysctl.rst | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/Documentation/networking/ip-sysctl.rst b/Documentation/networking/ip-sysctl.rst
index b7db2e5e5cc5..22703560d2e5 100644
--- a/Documentation/networking/ip-sysctl.rst
+++ b/Documentation/networking/ip-sysctl.rst
@@ -1052,11 +1052,7 @@ udp_rmem_min - INTEGER
 	Default: 4K
 
 udp_wmem_min - INTEGER
-	Minimal size of send buffer used by UDP sockets in moderation.
-	Each UDP socket is able to use the size for sending data, even if
-	total pages of UDP sockets exceed udp_mem pressure. The unit is byte.
-
-	Default: 4K
+	UDP does not have tx memory accounting and this tunable has no effect.
 
 RAW variables
 =============
-- 
2.31.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH net] Documentation: fix udp_wmem_min in ip-sysctl.rst
  2022-07-18 17:56 [PATCH net] Documentation: fix udp_wmem_min in ip-sysctl.rst Xin Long
@ 2022-07-20  0:40 ` patchwork-bot+netdevbpf
  0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+netdevbpf @ 2022-07-20  0:40 UTC (permalink / raw)
  To: Xin Long; +Cc: netdev, davem, kuba, pabeni, haoki

Hello:

This patch was applied to netdev/net.git (master)
by Jakub Kicinski <kuba@kernel.org>:

On Mon, 18 Jul 2022 13:56:59 -0400 you wrote:
> UDP doesn't support tx memory accounting, and sysctl udp_wmem_min
> is not really used anywhere. So we should fix the description in
> ip-sysctl.rst accordingly.
> 
> Fixes: 95766fff6b9a ("[UDP]: Add memory accounting.")
> Signed-off-by: Xin Long <lucien.xin@gmail.com>
> 
> [...]

Here is the summary with links:
  - [net] Documentation: fix udp_wmem_min in ip-sysctl.rst
    https://git.kernel.org/netdev/net/c/c6b10de537b9

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] 2+ messages in thread

end of thread, other threads:[~2022-07-20  0:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-18 17:56 [PATCH net] Documentation: fix udp_wmem_min in ip-sysctl.rst Xin Long
2022-07-20  0:40 ` 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;
as well as URLs for NNTP newsgroup(s).