mirror of
https://github.com/corundum/corundum.git
synced 2025-01-16 08:12:53 +08:00
1d729817a6
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>