| 1339 | } |
| 1340 | |
| 1341 | static void |
| 1342 | virtio_queues_unbind_intr(struct rte_eth_dev *dev) |
| 1343 | { |
| 1344 | uint32_t i; |
| 1345 | struct virtio_hw *hw = dev->data->dev_private; |
| 1346 | |
| 1347 | PMD_INIT_LOG(INFO, "queue/interrupt unbinding"); |
| 1348 | for (i = 0; i < dev->data->nb_rx_queues; ++i) |
| 1349 | VIRTIO_OPS(hw)->set_queue_irq(hw, |
| 1350 | hw->vqs[i * VTNET_CQ], |
| 1351 | VIRTIO_MSI_NO_VECTOR); |
| 1352 | } |
| 1353 | |
| 1354 | static int |
| 1355 | virtio_configure_intr(struct rte_eth_dev *dev) |