Add ethtool -g support to virtio_net
authorRick Jones <rick.jones2@hp.com>
Wed, 19 Oct 2011 08:10:59 +0000 (08:10 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Oct 2011 06:07:21 +0000 (02:07 -0400)
commit8f9f4668b37bcc877156dd525a856055735c8d24
treea9d0a7cc6729884564f5d2bfb8edbdcc678b3f1c
parentca35a0ef85e8ed6df6d5ab01fb6c3530cca0c469
Add ethtool -g support to virtio_net

Add support for reporting ring sizes via ethtool -g to the virtio_net
driver.

Signed-off-by: Rick Jones <rick.jones2@hp.com>
Acked-by: Rusty Russell <rusty@rustcorp.com.au>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/virtio_net.c
drivers/virtio/virtio_ring.c
include/linux/virtio.h