net: add ndo to get id of physical port of the device
authorJiri Pirko <jiri@resnulli.us>
Mon, 29 Jul 2013 16:16:49 +0000 (18:16 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 31 Jul 2013 00:31:24 +0000 (17:31 -0700)
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>

No differences found