Netdev List
 help / color / mirror / Atom feed
* [PATCH ethtool] ethtool: Add --disable-netlink to help output
@ 2026-05-11  7:29 Gal Pressman
  0 siblings, 0 replies; only message in thread
From: Gal Pressman @ 2026-05-11  7:29 UTC (permalink / raw)
  To: netdev; +Cc: mkubecek, Gal Pressman, Nimrod Oren

The --disable-netlink flag is documented in the man page but missing
from the usage output shown by ethtool -h.

Add it to the FLAGS section.

Fixes: 6e3ac505bcc7 ("Add runtime support for disabling netlink")
Reviewed-by: Nimrod Oren <noren@nvidia.com>
Signed-off-by: Gal Pressman <gal@nvidia.com>
---
 ethtool.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ethtool.c b/ethtool.c
index 2444d858b125..97c06b85bf47 100644
--- a/ethtool.c
+++ b/ethtool.c
@@ -6416,6 +6416,7 @@ static int show_usage(struct cmd_context *ctx __maybe_unused)
 	fprintf(stdout, "\n");
 	fprintf(stdout, "FLAGS:\n");
 	fprintf(stdout, "	--debug MASK	turn on debugging messages\n");
+	fprintf(stdout, "	--disable-netlink	do not use netlink, fall back to ioctl interface\n");
 	fprintf(stdout, "	-j|--json	enable JSON output format (not supported by all commands)\n");
 	fprintf(stdout, "	-I|--include-statistics		request device statistics related to the command (not supported by all commands)\n");
 
-- 
2.52.0


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-05-11  7:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-11  7:29 [PATCH ethtool] ethtool: Add --disable-netlink to help output Gal Pressman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox