Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   1) What:		/sys/class/net/<iface>/name_assign_type
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   2) Date:		July 2014
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   3) KernelVersion:	3.17
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   4) Contact:	netdev@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   5) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   6) 		Indicates the name assignment type. Possible values are:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   7) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   8) 		== ==========================================================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   9) 		1  enumerated by the kernel, possibly in an unpredictable way
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  10) 		2  predictably named by the kernel
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  11) 		3  named by userspace
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  12) 		4  renamed
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  13) 		== ==========================================================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  14) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  15) What:		/sys/class/net/<iface>/addr_assign_type
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  16) Date:		July 2010
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  17) KernelVersion:	3.2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  18) Contact:	netdev@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  19) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  20) 		Indicates the address assignment type. Possible values are:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  21) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  22) 		== =============================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  23) 		0  permanent address
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  24) 		1  randomly generated
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  25) 		2  stolen from another device
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  26) 		3  set using dev_set_mac_address
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  27) 		== =============================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  28) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  29) What:		/sys/class/net/<iface>/addr_len
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  30) Date:		April 2005
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  31) KernelVersion:	2.6.12
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  32) Contact:	netdev@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  33) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  34) 		Indicates the hardware address size in bytes.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  35) 		Values vary based on the lower-level protocol used by the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  36) 		interface (Ethernet, FDDI, ATM, IEEE 802.15.4...). See
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  37) 		include/uapi/linux/if_*.h for actual values.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  38) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  39) What:		/sys/class/net/<iface>/address
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  40) Date:		April 2005
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  41) KernelVersion:	2.6.12
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  42) Contact:	netdev@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  43) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  44) 		Hardware address currently assigned to this interface.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  45) 		Format is a string, e.g: 00:11:22:33:44:55 for an Ethernet MAC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  46) 		address.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  47) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  48) What:		/sys/class/net/<bridge iface>/bridge/group_fwd_mask
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  49) Date:		January 2012
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  50) KernelVersion:	3.2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  51) Contact:	netdev@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  52) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  53) 		Bitmask to allow forwarding of link local frames with address
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  54) 		01-80-C2-00-00-0X on a bridge device. Only values that set bits
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  55) 		not matching BR_GROUPFWD_RESTRICTED in net/bridge/br_private.h
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  56) 		allowed.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  57) 		Default value 0 does not forward any link local frames.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  58) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  59) 		Restricted bits:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  60) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  61) 		== ========================================================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  62) 		0  01-80-C2-00-00-00 Bridge Group Address used for STP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  63) 		1  01-80-C2-00-00-01 (MAC Control) 802.3 used for MAC PAUSE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  64) 		2  01-80-C2-00-00-02 (Link Aggregation) 802.3ad
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  65) 		== ========================================================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  66) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  67) 		Any values not setting these bits can be used. Take special
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  68) 		care when forwarding control frames e.g. 802.1X-PAE or LLDP.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  69) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  70) What:		/sys/class/net/<iface>/broadcast
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  71) Date:		April 2005
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  72) KernelVersion:	2.6.12
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  73) Contact:	netdev@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  74) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  75) 		Hardware broadcast address for this interface. Format is a
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  76) 		string, e.g: ff:ff:ff:ff:ff:ff for an Ethernet broadcast MAC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  77) 		address.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  78) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  79) What:		/sys/class/net/<iface>/carrier
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  80) Date:		April 2005
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  81) KernelVersion:	2.6.12
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  82) Contact:	netdev@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  83) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  84) 		Indicates the current physical link state of the interface.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  85) 		Posssible values are:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  86) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  87) 		== =====================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  88) 		0  physical link is down
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  89) 		1  physical link is up
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  90) 		== =====================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  91) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  92) 		Note: some special devices, e.g: bonding and team drivers will
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  93) 		allow this attribute to be written to force a link state for
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  94) 		operating correctly and designating another fallback interface.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  95) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  96) What:		/sys/class/net/<iface>/dev_id
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  97) Date:		April 2008
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  98) KernelVersion:	2.6.26
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  99) Contact:	netdev@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 100) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 101) 		Indicates the device unique identifier. Format is an hexadecimal
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 102) 		value. This is used to disambiguate interfaces which might be
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 103) 		stacked (e.g: VLAN interfaces) but still have the same MAC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 104) 		address as their parent device.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 105) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 106) What:		/sys/class/net/<iface>/dev_port
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 107) Date:		February 2014
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 108) KernelVersion:	3.15
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 109) Contact:	netdev@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 110) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 111) 		Indicates the port number of this network device, formatted
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 112) 		as a decimal value. Some NICs have multiple independent ports
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 113) 		on the same PCI bus, device and function. This attribute allows
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 114) 		userspace to distinguish the respective interfaces.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 115) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 116) 		Note: some device drivers started to use 'dev_id' for this
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 117) 		purpose since long before 3.15 and have not adopted the new
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 118) 		attribute ever since. To query the port number, some tools look
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 119) 		exclusively at 'dev_port', while others only consult 'dev_id'.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 120) 		If a network device has multiple client adapter ports as
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 121) 		described in the previous paragraph and does not set this
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 122) 		attribute to its port number, it's a kernel bug.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 123) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 124) What:		/sys/class/net/<iface>/dormant
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 125) Date:		March 2006
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 126) KernelVersion:	2.6.17
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 127) Contact:	netdev@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 128) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 129) 		Indicates whether the interface is in dormant state. Possible
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 130) 		values are:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 131) 		0: interface is not dormant
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 132) 		1: interface is dormant
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 133) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 134) 		This attribute can be used by supplicant software to signal that
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 135) 		the device is not usable unless some supplicant-based
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 136) 		authentication is performed (e.g: 802.1x). 'link_mode' attribute
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 137) 		will also reflect the dormant state.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 138) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 139) What:		/sys/class/net/<iface>/testing
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 140) Date:		April 2002
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 141) KernelVersion:	5.8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 142) Contact:	netdev@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 143) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 144) 		Indicates whether the interface is under test. Possible
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 145) 		values are:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 146) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 147) 		== =============================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 148) 		0  interface is not being tested
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 149) 		1  interface is being tested
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 150) 		== =============================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 151) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 152) 		When an interface is under test, it cannot be expected
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 153) 		to pass packets as normal.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 154) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 155) What:		/sys/class/net/<iface>/duplex
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 156) Date:		October 2009
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 157) KernelVersion:	2.6.33
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 158) Contact:	netdev@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 159) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 160) 		Indicates the interface latest or current duplex value. Possible
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 161) 		values are:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 162) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 163) 		====  ===========
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 164) 		half  half duplex
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 165) 		full  full duplex
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 166) 		====  ===========
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 167) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 168) 		Note: This attribute is only valid for interfaces that implement
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 169) 		the ethtool get_link_ksettings method (mostly Ethernet).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 170) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 171) What:		/sys/class/net/<iface>/flags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 172) Date:		April 2005
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 173) KernelVersion:	2.6.12
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 174) Contact:	netdev@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 175) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 176) 		Indicates the interface flags as a bitmask in hexadecimal. See
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 177) 		include/uapi/linux/if.h for a list of all possible values and
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 178) 		the flags semantics.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 179) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 180) What:		/sys/class/net/<iface>/ifalias
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 181) Date:		September 2008
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 182) KernelVersion:	2.6.28
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 183) Contact:	netdev@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 184) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 185) 		Indicates/stores an interface alias name as a string. This can
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 186) 		be used for system management purposes.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 187) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 188) What:		/sys/class/net/<iface>/ifindex
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 189) Date:		April 2005
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 190) KernelVersion:	2.6.12
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 191) Contact:	netdev@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 192) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 193) 		Indicates the system-wide interface unique index identifier as a
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 194) 		decimal number. This attribute is used for mapping an interface
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 195) 		identifier to an interface name. It is used throughout the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 196) 		networking stack for specifying the interface specific
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 197) 		requests/events.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 198) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 199) What:		/sys/class/net/<iface>/iflink
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 200) Date:		April 2005
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 201) KernelVersion:	2.6.12
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 202) Contact:	netdev@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 203) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 204) 		Indicates the system-wide interface unique index identifier a
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 205) 		the interface is linked to. Format is decimal. This attribute is
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 206) 		used to resolve interfaces chaining, linking and stacking.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 207) 		Physical interfaces have the same 'ifindex' and 'iflink' values.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 208) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 209) What:		/sys/class/net/<iface>/link_mode
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 210) Date:		March 2006
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 211) KernelVersion:	2.6.17
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 212) Contact:	netdev@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 213) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 214) 		Indicates the interface link mode, as a decimal number. This
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 215) 		attribute should be used in conjunction with 'dormant' attribute
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 216) 		to determine the interface usability. Possible values:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 217) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 218) 		==  =================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 219) 		0   default link mode
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 220) 		1   dormant link mode
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 221) 		==  =================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 222) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 223) What:		/sys/class/net/<iface>/mtu
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 224) Date:		April 2005
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 225) KernelVersion:	2.6.12
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 226) Contact:	netdev@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 227) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 228) 		Indicates the interface currently configured MTU value, in
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 229) 		bytes, and in decimal format. Specific values depends on the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 230) 		lower-level interface protocol used. Ethernet devices will show
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 231) 		a 'mtu' attribute value of 1500 unless changed.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 232) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 233) What:		/sys/class/net/<iface>/netdev_group
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 234) Date:		January 2011
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 235) KernelVersion:	2.6.39
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 236) Contact:	netdev@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 237) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 238) 		Indicates the interface network device group, as a decimal
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 239) 		integer. Default value is 0 which corresponds to the initial
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 240) 		network devices group. The group can be changed to affect
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 241) 		routing decisions (see: net/ipv4/fib_rules and
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 242) 		net/ipv6/fib6_rules.c).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 243) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 244) What:		/sys/class/net/<iface>/operstate
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 245) Date:		March 2006
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 246) KernelVersion:	2.6.17
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 247) Contact:	netdev@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 248) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 249) 		Indicates the interface RFC2863 operational state as a string.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 250) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 251) 		Possible values are:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 252) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 253) 		"unknown", "notpresent", "down", "lowerlayerdown", "testing",
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 254) 		"dormant", "up".
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 255) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 256) What:		/sys/class/net/<iface>/phys_port_id
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 257) Date:		July 2013
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 258) KernelVersion:	3.12
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 259) Contact:	netdev@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 260) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 261) 		Indicates the interface unique physical port identifier within
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 262) 		the NIC, as a string.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 263) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 264) What:		/sys/class/net/<iface>/phys_port_name
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 265) Date:		March 2015
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 266) KernelVersion:	4.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 267) Contact:	netdev@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 268) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 269) 		Indicates the interface physical port name within the NIC,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 270) 		as a string.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 271) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 272) What:		/sys/class/net/<iface>/speed
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 273) Date:		October 2009
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 274) KernelVersion:	2.6.33
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 275) Contact:	netdev@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 276) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 277) 		Indicates the interface latest or current speed value. Value is
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 278) 		an integer representing the link speed in Mbits/sec.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 279) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 280) 		Note: this attribute is only valid for interfaces that implement
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 281) 		the ethtool get_link_ksettings method (mostly Ethernet).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 282) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 283) What:		/sys/class/net/<iface>/tx_queue_len
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 284) Date:		April 2005
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 285) KernelVersion:	2.6.12
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 286) Contact:	netdev@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 287) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 288) 		Indicates the interface transmit queue len in number of packets,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 289) 		as an integer value. Value depend on the type of interface,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 290) 		Ethernet network adapters have a default value of 1000 unless
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 291) 		configured otherwise
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 292) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 293) What:		/sys/class/net/<iface>/type
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 294) Date:		April 2005
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 295) KernelVersion:	2.6.12
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 296) Contact:	netdev@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 297) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 298) 		Indicates the interface protocol type as a decimal value. See
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 299) 		include/uapi/linux/if_arp.h for all possible values.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 300) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 301) What:		/sys/class/net/<iface>/phys_switch_id
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 302) Date:		November 2014
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 303) KernelVersion:	3.19
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 304) Contact:	netdev@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 305) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 306) 		Indicates the unique physical switch identifier of a switch this
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 307) 		port belongs to, as a string.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 308) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 309) What:		/sys/class/net/<iface>/phydev
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 310) Date:		May 2017
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 311) KernelVersion:	4.13
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 312) Contact:	netdev@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 313) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 314) 		Symbolic link to the PHY device this network device is attached
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 315) 		to.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 316) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 317) What:		/sys/class/net/<iface>/carrier_changes
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 318) Date:		Mar 2014
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 319) KernelVersion:	3.15
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 320) Contact:	netdev@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 321) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 322) 		32-bit unsigned integer counting the number of times the link has
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 323) 		seen a change from UP to DOWN and vice versa
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 324) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 325) What:		/sys/class/net/<iface>/carrier_up_count
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 326) Date:		Jan 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 327) KernelVersion:	4.16
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 328) Contact:	netdev@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 329) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 330) 		32-bit unsigned integer counting the number of times the link has
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 331) 		been up
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 332) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 333) What:		/sys/class/net/<iface>/carrier_down_count
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 334) Date:		Jan 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 335) KernelVersion:	4.16
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 336) Contact:	netdev@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 337) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 338) 		32-bit unsigned integer counting the number of times the link has
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 339) 		been down