1
0
mirror of https://github.com/corundum/corundum.git synced 2025-01-16 08:12:53 +08:00
Joachim Foerster 1d729817a6 modules/mqnic: Turn "TX ring ... full ..." message into netdev-related debug message
To not overwhelm any logging daemon. Full TX queues can be quite common
depending on a system's context and capabilities. Mostly all the details are not
required anyway in such cases.

To enable such debug messages and have their text turn up in dmesg and logging
daemons, the mqnic module has to be compiled with CPP symbol DEBUG being (`make
DEBUG=yes`) defined, or the kernel in use has to support "Dynamic Debug" [1]. In
the latter case all such debug messages in module mqnic can be enabled with:

echo 'module mqnic +pflmt' | sudo tee /sys/kernel/debug/dynamic_debug/control

To enable just this specific messages, based on its (partial) format:

echo 'format "TX ring %d full" +pflmt' | sudo tee /sys/kernel/debug/dynamic_debug/control

[1] https://www.kernel.org/doc/html/latest/admin-guide/dynamic-debug-howto.html

Signed-off-by: Joachim Foerster <joachim.foerster@missinglinkelectronics.com>
2023-07-07 00:30:52 -07:00
..
2021-12-15 23:29:02 -08:00
2023-06-26 11:44:57 -07:00
2023-06-26 11:44:57 -07:00
2023-06-26 11:44:57 -07:00
2023-06-26 11:44:57 -07:00
2023-06-26 11:44:57 -07:00
2023-06-26 11:44:57 -07:00
2023-06-26 11:44:57 -07:00
2023-06-26 11:44:57 -07:00
2023-06-26 11:44:57 -07:00
2023-06-26 11:44:57 -07:00
2023-06-26 11:44:57 -07:00
2023-06-26 11:44:57 -07:00
2023-06-26 11:44:57 -07:00
2023-06-26 11:44:57 -07:00
2023-06-26 11:44:57 -07:00
2023-06-26 11:44:57 -07:00
2023-06-26 11:44:57 -07:00
2023-06-26 11:44:57 -07:00