6ed346a462
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>