aboutsummaryrefslogtreecommitdiffstats
path: root/net/core/timestamping.c
diff options
context:
space:
mode:
authorRusty Russell <[email protected]>2010-08-04 17:32:05 +0000
committerDavid S. Miller <[email protected]>2010-08-05 04:53:17 +0000
commita767bde4d484b60dab0abac740a7151b624a30bf (patch)
tree9caf3dcf83afcc332012f0b551144a79955ff3d6 /net/core/timestamping.c
parentppp: make channel_ops const (diff)
downloadkernel-a767bde4d484b60dab0abac740a7151b624a30bf.tar.gz
kernel-a767bde4d484b60dab0abac740a7151b624a30bf.zip
virtio_net: implements ethtool_ops.get_drvinfo
I often use "ethtool -i" command to check what driver controls the ehternet device. But because current virtio_net driver doesn't support "ethtool -i", it becomes the following: # ethtool -i eth3 Cannot get driver information: Operation not supported This patch simply adds the "ethtool -i" support. The following is the result when using the virtio_net driver with my patch applied to. # ethtool -i eth3 driver: virtio_net version: N/A firmware-version: N/A bus-info: virtio0 Personally, "-i" is one of the most frequently-used option, and most network drivers support "ethtool -i", so I think virtio_net also should do. Signed-off-by: Taku Izumi <[email protected]> Signed-off-by: Rusty Russell <[email protected]> (use ARRAY_SIZE) Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/core/timestamping.c')
0 files changed, 0 insertions, 0 deletions