net: add name_assign_type netdev attribute
[cascardo/linux.git] / Documentation / ABI / testing / sysfs-class-net
index d922060..d322b05 100644 (file)
@@ -1,3 +1,14 @@
+What:          /sys/class/net/<iface>/name_assign_type
+Date:          July 2014
+KernelVersion: 3.17
+Contact:       netdev@vger.kernel.org
+Description:
+               Indicates the name assignment type. Possible values are:
+               1: enumerated by the kernel, possibly in an unpredictable way
+               2: predictably named by the kernel
+               3: named by userspace
+               4: renamed
+
 What:          /sys/class/net/<iface>/addr_assign_type
 Date:          July 2010
 KernelVersion: 3.2
@@ -169,6 +180,14 @@ Description:
                "unknown", "notpresent", "down", "lowerlayerdown", "testing",
                "dormant", "up".
 
+What:          /sys/class/net/<iface>/phys_port_id
+Date:          July 2013
+KernelVersion: 3.12
+Contact:       netdev@vger.kernel.org
+Description:
+               Indicates the interface unique physical port identifier within
+               the NIC, as a string.
+
 What:          /sys/class/net/<iface>/speed
 Date:          October 2009
 KernelVersion: 2.6.33