Lines Matching +full:4 +full:- +full:level
1 .. SPDX-License-Identifier: GPL-2.0
4 NETIF Msg Level
7 The design of the network interface message level setting.
10 -------
18 integer variable that controls the debug message level. The message
19 level ranged from 0 to 7, and monotonically increased in verbosity.
21 The message level was not precisely defined past level 3, but were
22 always implemented within +-1 of the specified level. Drivers tended
23 to shed the more verbose level messages as they matured.
25 - 0 Minimal messages, only essential information on fatal errors.
26 - 1 Standard messages, initialization status. No run-time messages
27 - 2 Special media selection messages, generally timer-driver.
28 - 3 Interface starts and stops, including normal status messages
29 - 4 Tx and Rx frame error messages, and abnormal driver operation
30 - 5 Tx packet queue information, interrupt events.
31 - 6 Status on each completed Tx packet and received Rx packets
32 - 7 Initial contents of Tx and Rx packets
34 Initially this message level variable was uniquely named in each driver
44 - Using an ioctl() call to modify the level.
45 - Per-interface rather than per-driver message level setting.
46 - More selective control over the type of messages emitted.
53 - Retaining the per-driver integer variable "debug" as a module
54 parameter with a default level of '1'.
56 - Adding a per-interface private variable named "msg_enable". The
57 variable is a bit map rather than a level, and is initialized as::
63 debug < 0 ? 0 : 1 << min(sizeof(int)-1, debug)
72 if (np->msg_enable & NETIF_MSG_LINK)
80 Old level Name Bit position
88 4 NETIF_MSG_RX_ERR 0x0010
89 4 NETIF_MSG_TX_ERR 0x0010