]> www.infradead.org Git - users/dwmw2/linux.git/commit
Merge branch 'netcons-add-udp-send-fail-statistics-to-netconsole'
authorJakub Kicinski <kuba@kernel.org>
Thu, 5 Dec 2024 03:15:39 +0000 (19:15 -0800)
committerJakub Kicinski <kuba@kernel.org>
Thu, 5 Dec 2024 03:17:02 +0000 (19:17 -0800)
commita1081779ca8f18774585aa3cf540cdde13afdc7c
tree62de4b8e68521164b725861221e1b67d5df04304
parenta9ab02ed97c654a9ea09afb3e6294cea3768c388
parent36de47bfd013f2152860339ca763fcb64c76f9b2
Merge branch 'netcons-add-udp-send-fail-statistics-to-netconsole'

Maksym Kutsevol says:

====================
netcons: Add udp send fail statistics to netconsole

Enhance observability of netconsole. Packet sends can fail.
Start tracking at least two failure possibilities: ENOMEM and
NET_XMIT_DROP for every target. Stats are exposed via an additional
attribute in CONFIGFS.

The exposed statistics allows easier debugging of cases when netconsole
messages were not seen by receivers, eliminating the guesswork if the
sender thinks that messages in question were sent out.

Stats are not reset on enable/disable/change remote ip/etc, they
belong to the netcons target itself.
====================

Link: https://patch.msgid.link/20241202-netcons-add-udp-send-fail-statistics-to-netconsole-v5-0-70e82239f922@kutsevol.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>