[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1281111351.2088.7.camel@achroite.uk.solarflarecom.com>
Date: Fri, 06 Aug 2010 17:15:51 +0100
From: Ben Hutchings <bhutchings@...arflare.com>
To: "Loke, Chetan" <Chetan.Loke@...scout.com>
Cc: Rusty Russell <rusty@...tcorp.com.au>, netdev@...r.kernel.org,
"Michael S. Tsirkin" <mst@...hat.com>,
Taku Izumi <izumi.taku@...fujitsu.com>
Subject: RE: [PATCH] virtio_net: implements ethtool_ops.get_drvinfo
On Fri, 2010-08-06 at 11:59 -0400, Loke, Chetan 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
>
> sysfs-rules.txt::"Accessing /sys/class/net/eth0/device is a bug in the application."
>
> I understand Dave has accepted the patch already(which is perfect).
> I'm not being sarcastic but I really want to understand if I can
> access these nodes.
You should probably believe that document rather than me.
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists