]> git.baikalelectronics.ru Git - kernel.git/commit
net, virtio_net: replace the magic value
authorZhi Yong Wu <wuzhy@linux.vnet.ibm.com>
Mon, 18 Nov 2013 13:19:27 +0000 (21:19 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 18 Nov 2013 21:23:09 +0000 (16:23 -0500)
commite284d858fe96237d275b52b681548505f28c9da1
tree29a03c25a18b831472e2e55a95069d6a6c74da4b
parent5a88b38b5cd78548cdfbf29db953262d98b3261d
net, virtio_net: replace the magic value

It is more appropriate to use # of queue pairs currently used by
the driver instead of a magic value.

Signed-off-by: Zhi Yong Wu <wuzhy@linux.vnet.ibm.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/virtio_net.c