net/virtio: split Rx/Tx queue
authorHuawei Xie <huawei.xie@intel.com>
Wed, 1 Jun 2016 16:12:13 +0000 (00:12 +0800)
committerYuanhan Liu <yuanhan.liu@linux.intel.com>
Wed, 22 Jun 2016 04:10:54 +0000 (06:10 +0200)
commit01ad44fd374fb8ecb9ecc80b9bfd1f45dbaa4a1f
tree4740d99c080a9b22b69e761dae5745ebd50623e6
parent88c107840d67662f2f34e6fd69844f5e86a86075
net/virtio: split Rx/Tx queue

We keep a common vq structure, containing only vq related fields,
and then split others into RX, TX and control queue respectively.

Signed-off-by: Huawei Xie <huawei.xie@intel.com>
[Jianfeng Tan: found and fixed 2 bugs]
Acked-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
drivers/net/virtio/virtio_ethdev.c
drivers/net/virtio/virtio_ethdev.h
drivers/net/virtio/virtio_pci.c
drivers/net/virtio/virtio_pci.h
drivers/net/virtio/virtio_rxtx.c
drivers/net/virtio/virtio_rxtx.h
drivers/net/virtio/virtio_rxtx_simple.c
drivers/net/virtio/virtqueue.h