Re: [PATCH] virtio_net: implements ethtool_ops.get_drvinfo

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Ben Hutchings
Date: Wednesday, August 4, 2010 - 8:47 pm

On Thu, 2010-08-05 at 13:02 +0930, Rusty Russell wrote:
[...]

This information is already available generically through sysfs:
    basename $(readlink /sys/class/net/eth3/device)
    basename $(readlink /sys/class/net/eth3/device/driver)

Given that, we should either recommend that people use that method
instead, or we should add an equivalent default implementation of the
get_drvinfo operation.

Ben.

-- 
Ben Hutchings, Senior Software Engineer, Solarflare Communications
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] virtio_net: implements ethtool_ops.get_drvinfo, Rusty Russell, (Wed Aug 4, 8:32 pm)
Re: [PATCH] virtio_net: implements ethtool_ops.get_drvinfo, Ben Hutchings, (Wed Aug 4, 8:47 pm)