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)
commite9d7417b97f420fa70e3e198f2603a0375fb80a7
tree4d7061e2fbf8339fa4c8fd3c14f5e569af3a10ae
parent0afb1666fe4ed8e51083af544f00d31bc8753352
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