From: Shradha Shah <ss...@solarflare.com>
Date: Fri, 29 May 2015 11:01:06 +0100

> 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 <ss...@solarflare.com>

Please don't invent your own stuff for this, you are not the only driver
in the world that might want to export this kind of information.

Set netdev->dev_port properly and it'll already be exported for you
using portable, standard interfaces, that a user can use with any
device in the world, not just your's.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to