| 591 | } |
| 592 | |
| 593 | static int |
| 594 | eth_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 | |
| 604 | static int |
| 605 | eth_rxq_intr_disable(struct rte_eth_dev *dev, uint16_t qid) |
nothing calls this directly
no test coverage detected