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

Function eth_rxq_intr_enable

dpdk/drivers/net/vhost/rte_eth_vhost.c:593–602  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

591}
592
593static int
594eth_rxq_intr_enable(struct rte_eth_dev *dev, uint16_t qid)
595{
596 struct vhost_queue *vq = dev->data->rx_queues[qid];
597
598 if (vq->vid >= 0)
599 rte_vhost_enable_guest_notification(vq->vid, (qid << 1) + 1, 1);
600
601 return 0;
602}
603
604static int
605eth_rxq_intr_disable(struct rte_eth_dev *dev, uint16_t qid)

Callers

nothing calls this directly

Tested by

no test coverage detected