aboutsummaryrefslogtreecommitdiff
path: root/include/net
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2025-10-13 15:22:33 +0000
committerJakub Kicinski <kuba@kernel.org>2025-10-15 09:04:21 -0700
commit2ddef3462b3a5d62e5485e22ce128a5c02276438 (patch)
treee0c1036a1e4ae273ac637e1ef61eb8ef25a99b95 /include/net
parentd365c9bca35cdeb534aac279c81d1fc9730bb100 (diff)
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>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/netns/core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/netns/core.h b/include/net/netns/core.h
index 9b36f0ff0c20..cb9c3e4cd738 100644
--- a/include/net/netns/core.h
+++ b/include/net/netns/core.h
@@ -13,6 +13,7 @@ struct netns_core {
struct ctl_table_header *sysctl_hdr;
int sysctl_somaxconn;
+ int sysctl_txq_reselection;
int sysctl_optmem_max;
u8 sysctl_txrehash;
u8 sysctl_tstamp_allow_data;