virtio-net: initial rx sysfs support, export mergeable rx buffer size
authorMichael Dalton <mwdalton@google.com>
Fri, 17 Jan 2014 06:23:30 +0000 (22:23 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 17 Jan 2014 07:46:07 +0000 (23:46 -0800)
commitfbf28d78f54016faa7f0b68cf632ac739f2204f7
tree1d77e0acd1ff34398fba2fa211fe965dde712ba9
parent03144b5869d2921dafbea477246aeb5d4eb5fc38
virtio-net: initial rx sysfs support, export mergeable rx buffer size

Add initial support for per-rx queue sysfs attributes to virtio-net. If
mergeable packet buffers are enabled, adds a read-only mergeable packet
buffer size sysfs attribute for each RX queue.

Suggested-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael Dalton <mwdalton@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/virtio_net.c