summaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorShradha Shah <sshah@solarflare.com>2015-06-02 11:37:25 +0100
committerDavid S. Miller <davem@davemloft.net>2015-06-02 12:57:24 -0700
commit8be41320f346ee8bdcbbc866fcc8c4fdbcb6527d (patch)
tree47664b378472dcaae50a2cc460e306e7e0275731 /net/switchdev/switchdev.c
parent41d3b5efe9a81aa93267533f9475b0948c0e6e0b (diff)
sfc: Add code to export port_num in netdev->dev_port
In the case where we have multiple functions (PFs and VFs), this sysfs entry is useful to identify the physical port corresponding to the function we are interested in. Signed-off-by: Shradha Shah <sshah@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions