numam-dpdk/drivers/net/virtio
Yuanhan Liu 6ed346a462 virtio: fix wrong queue index
We should provide VIRTIO_PCI_QUEUE_SEL with vq->vq_queue_idx,
but not vq->queue_id.

vq->queue_id is the queue id from rte_eth_rx/tx_queue_setup(),
which always starts from 0 no matter which queue it is. However,
for virtio, even number is for RX queue, and odd number is for
TX queue.

Fixes: 5382b188fb ("virtio: add queue release")

Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
2015-12-09 22:02:33 +01:00
..
Makefile virtio: fill Rx avail ring with blank mbufs 2015-11-02 15:32:19 +01:00
rte_pmd_virtio_version.map virtio: move to drivers/net/ 2015-05-22 16:06:23 +02:00
virtio_ethdev.c virtio: fix wrong queue index 2015-12-09 22:02:33 +01:00
virtio_ethdev.h virtio: add simple Tx 2015-11-02 15:34:03 +01:00
virtio_logs.h virtio: move to drivers/net/ 2015-05-22 16:06:23 +02:00
virtio_pci.c virtio: move to drivers/net/ 2015-05-22 16:06:23 +02:00
virtio_pci.h virtio: clarify feature bit handling 2015-06-12 14:43:40 +02:00
virtio_ring.h virtio: fix Coverity unsigned warnings 2015-10-21 16:14:02 +02:00
virtio_rxtx_simple.c virtio: add simple Tx 2015-11-02 15:34:03 +01:00
virtio_rxtx.c virtio: clean up Tx space checks 2015-12-07 01:03:12 +01:00
virtio_rxtx.h virtio: add vector Rx 2015-11-02 15:33:43 +01:00
virtqueue.c virtio: check virtqueue parameter when detaching 2015-07-19 22:24:42 +02:00
virtqueue.h eal: introduce SMP memory barriers 2015-11-18 22:44:01 +01:00