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: 5382b188fb8a ("virtio: add queue release")

Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
2015-12-09 22:02:33 +01:00
..
2015-12-09 22:02:33 +01:00
2015-11-02 15:34:03 +01:00
2015-05-22 16:06:23 +02:00
2015-05-22 16:06:23 +02:00
2015-11-02 15:34:03 +01:00
2015-12-07 01:03:12 +01:00
2015-11-02 15:33:43 +01:00
2015-11-18 22:44:01 +01:00