| 636 | } |
| 637 | |
| 638 | void |
| 639 | virtio_dev_cq_start(struct rte_eth_dev *dev) |
| 640 | { |
| 641 | struct virtio_hw *hw = dev->data->dev_private; |
| 642 | |
| 643 | if (hw->cvq) { |
| 644 | rte_spinlock_init(&hw->cvq->lock); |
| 645 | VIRTQUEUE_DUMP(virtnet_cq_to_vq(hw->cvq)); |
| 646 | } |
| 647 | } |
| 648 | |
| 649 | int |
| 650 | virtio_dev_rx_queue_setup(struct rte_eth_dev *dev, |
no test coverage detected