]> git.baikalelectronics.ru Git - kernel.git/commit
virtio-net: separate fields of sending/receiving queue from virtnet_info
authorJason Wang <jasowang@redhat.com>
Fri, 7 Dec 2012 07:04:55 +0000 (07:04 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 9 Dec 2012 05:30:54 +0000 (00:30 -0500)
commit656f7a022250e981be8e64c4a1f6d239bae48936
tree4d7061e2fbf8339fa4c8fd3c14f5e569af3a10ae
parent7c8af47df4cee667a1588b735780b6088d337b3b
virtio-net: separate fields of sending/receiving queue from virtnet_info

To support multiqueue transmitq/receiveq, the first step is to separate queue
related structure from virtnet_info. This patch introduce send_queue and
receive_queue structure and use the pointer to them as the parameter in
functions handling sending/receiving.

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