commit | 3f85944fe207d0225ef21a2c0951d4946fc9a95d | [log] [tgz] |
---|---|---|
author | Amir Vadai <amirv@mellanox.com> | Tue Feb 25 18:17:50 2014 +0200 |
committer | David S. Miller <davem@davemloft.net> | Wed Feb 26 15:38:06 2014 -0500 |
tree | a7183f4fe0dfd0d86120535654516a265bc787e2 | |
parent | f2ea0cfd6b5fb7daf4cf48bdc364f1cf9ef55d0c [diff] |
net: Add sysfs file for port number Add a sysfs file to enable user space to query the device port number used by a netdevice instance. This is needed for devices that have multiple ports on the same PCI function. Signed-off-by: Amir Vadai <amirv@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>