]> git.baikalelectronics.ru Git - kernel.git/commit
virtio-net: support changing the number of queue pairs through ethtool
authorJason Wang <jasowang@redhat.com>
Fri, 7 Dec 2012 07:04:57 +0000 (07:04 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 9 Dec 2012 05:30:55 +0000 (00:30 -0500)
commita107086c644c8876571c79a53f046e4e4fb291cd
tree38c315252ce27702680807107619d0aad2e60129
parent4724d194c2dc2a2ec82ae4606bf99ff298e281f5
virtio-net: support changing the number of queue pairs through ethtool

This patch implements the ethtool_{set|get}_channels method of virtio-net to
allow user to change the number of queues when the device is running on demand.

Signed-off-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/virtio_net.c