net-sysfs: expose physical switch id for particular device
authorJiri Pirko <jiri@resnulli.us>
Fri, 28 Nov 2014 13:34:19 +0000 (14:34 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 3 Dec 2014 04:01:22 +0000 (20:01 -0800)
Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Reviewed-by: Thomas Graf <tgraf@suug.ch>
Acked-by: John Fastabend <john.r.fastabend@intel.com>
Acked-by: Andy Gospodarek <gospo@cumulusnetworks.com>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/ABI/testing/sysfs-class-net
net/core/net-sysfs.c

index e1b2e78..beb8ec4 100644 (file)
@@ -216,3 +216,11 @@ Contact:   netdev@vger.kernel.org
 Description:
                Indicates the interface protocol type as a decimal value. See
                include/uapi/linux/if_arp.h for all possible values.
+
+What:          /sys/class/net/<iface>/phys_switch_id
+Date:          November 2014
+KernelVersion: 3.19
+Contact:       netdev@vger.kernel.org
+Description:
+               Indicates the unique physical switch identifier of a switch this
+               port belongs to, as a string.
Simple merge