]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: add /proc/sys/net/core/txq_reselection_ms control
authorEric Dumazet <edumazet@google.com>
Mon, 13 Oct 2025 15:22:33 +0000 (15:22 +0000)
committerJakub Kicinski <kuba@kernel.org>
Wed, 15 Oct 2025 16:04:21 +0000 (09:04 -0700)
commit2ddef3462b3a5d62e5485e22ce128a5c02276438
treee0c1036a1e4ae273ac637e1ef61eb8ef25a99b95
parentd365c9bca35cdeb534aac279c81d1fc9730bb100
net: add /proc/sys/net/core/txq_reselection_ms control

Add a new sysctl to control how often a queue reselection
can happen even if a flow has a persistent queue of skbs
in a Qdisc or NIC queue.

A value of zero means the feature is disabled.

Default is 1000 (1 second).

This sysctl is used in the following patch.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Neal Cardwell <ncardwell@google.com>
Reviewed-by: Kuniyuki Iwashima <kuniyu@google.com>
Link: https://patch.msgid.link/20251013152234.842065-4-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Documentation/admin-guide/sysctl/net.rst
include/net/netns/core.h
net/core/net_namespace.c
net/core/sysctl_net_core.c