diff options
author | Jiri Pirko <jiri@resnulli.us> | 2013-07-29 18:16:49 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-07-30 17:31:24 -0700 |
commit | 66b52b0dc82c5c88d769dc1c7d44cf45d0deb07c (patch) | |
tree | 2fa19024bd1afefcc0fc4a09ea7ae1b6c095edcd /include/uapi | |
parent | 9ad8fef6c61a9dfcaa8444e526020de88c540fa9 (diff) | |
download | blackbird-op-linux-66b52b0dc82c5c88d769dc1c7d44cf45d0deb07c.tar.gz blackbird-op-linux-66b52b0dc82c5c88d769dc1c7d44cf45d0deb07c.zip |
net: add ndo to get id of physical port of the device
This patch adds a ndo for getting physical port of the device. Driver
which is aware of being virtual function of some physical port should
implement this ndo. This is applicable not only for IOV, but for other
solutions (NPAR, multichannel) as well. Basically if there is possible
to have multiple netdevs on the single hw port.
Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Acked-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi')
0 files changed, 0 insertions, 0 deletions