[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <D3F292ADF945FB49B35E96C94C2061B90C96F8B5@nsmail.netscout.com>
Date: Fri, 6 Aug 2010 11:59:27 -0400
From: "Loke, Chetan" <Chetan.Loke@...scout.com>
To: "Ben Hutchings" <bhutchings@...arflare.com>,
"Rusty Russell" <rusty@...tcorp.com.au>
Cc: <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
> 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.
Chetan Loke
Powered by blists - more mailing lists