MCPcopy Create free account
hub / github.com/F-Stack/f-stack / virtio_dev_cq_start

Function virtio_dev_cq_start

dpdk/drivers/net/virtio/virtio_rxtx.c:638–647  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

636}
637
638void
639virtio_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
649int
650virtio_dev_rx_queue_setup(struct rte_eth_dev *dev,

Callers 1

virtio_dev_configureFunction · 0.85

Calls 1

rte_spinlock_initFunction · 0.85

Tested by

no test coverage detected