net: Kconfig: discourage drop_monitor enablement
Subsystems (2)
PATCH 1/1 net: Kconfig: discourage drop_monitor enablement
Quoting Eric Dumazet:
"I do not understand the fascination with net/core/drop_monitor.c [..] misses all the features, flexibility, scalability that 'perf', eBPF tracing, bpftrace, .... have today."
Reword DROP_MONITOR kconfig help text to clearly state that its not related to perf-based drop monitoring and that its safe to disable this unless support for the older netlink-based tools is needed.
--- net/Kconfig | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
net/Kconfig +4 -4
@@ -400,15 +400,15 @@ config NET_PKTGEN module will be called pktgen. config NET_DROP_MONITOR - tristate "Network packet drop alerting service" + tristate "Legacy network packet drop alerting service" depends on INET && TRACEPOINTS help This feature provides an alerting service to userspace in the event that packets are discarded in the network stack. Alerts are broadcast via netlink socket to any listening user space - process. If you don't need network drop alerts, or if you are ok - just checking the various proc files and other utilities for - drop statistics, say N here. + process. This feature is NOT related to "perf" based drop monitoring. + Say N here unless you need to support older userspace tools like + "dropwatch". endmenu # Network testing
Signature · 1 line
2.51.0
Quoted 10 lines · Florian Westphal
Quoting Eric Dumazet:
"I do not understand the fascination withnet/core/drop_monitor.c[..] misses all the features, flexibility, scalability that 'perf', eBPF tracing, bpftrace, .... have today."Reword
DROP_MONITORkconfig help text to clearly state that its not related to perf-based drop monitoring and that its safe to disable this unless support for the older netlink-based tools is needed.Signed-off-by Florian Westphal <[email protected]>
I think it is always good to guide people in the right direction.
Eric Dumazet
Reviewed-byQuoted 11 lines · Simon Horman
Quoted 9 lines · Florian Westphal
Quoting Eric Dumazet:
"I do not understand the fascination withnet/core/drop_monitor.c[..] misses all the features, flexibility, scalability that 'perf', eBPF tracing, bpftrace, .... have today."Reword
DROP_MONITORkconfig help text to clearly state that its not related to perf-based drop monitoring and that its safe to disable this unless support for the older netlink-based tools is needed.
Quoted 5 lines
Quoted 1 line
Signed-off-by Florian Westphal <[email protected]>I think it is always good to guide people in the right direction.
Reviewed-by Simon Horman <[email protected]>
Thanks Florian :)
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Hello:
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Quoted 10 lines · On Thu, 16 Oct 2025 13:51:47 +0200 you wrote:
Quoting Eric Dumazet:
"I do not understand the fascination withnet/core/drop_monitor.c[..] misses all the features, flexibility, scalability that 'perf', eBPF tracing, bpftrace, .... have today."Reword
DROP_MONITORkconfig help text to clearly state that its not related to perf-based drop monitoring and that its safe to disable this unless support for the older netlink-based tools is needed.[...]
Here is the summary with links:
- [net-next] net: Kconfig: discourage drop_monitor enablement
https://git.kernel.org/netdev/net-next/c/2af8ff1e472e
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html