Home
last modified time | relevance | path

Searched refs:VIRTIO_OPS (Results 1 – 7 of 7) sorted by relevance

/dpdk/drivers/net/virtio/
H A Dvirtio.c21 VIRTIO_OPS(hw)->set_features(hw, features); in virtio_negotiate_features()
31 VIRTIO_OPS(hw)->read_dev_cfg(hw, offset, dst, length); in virtio_read_dev_config()
38 VIRTIO_OPS(hw)->write_dev_cfg(hw, offset, src, length); in virtio_write_dev_config()
46 VIRTIO_OPS(hw)->set_status(hw, VIRTIO_CONFIG_STATUS_RESET); in virtio_reset()
48 while (VIRTIO_OPS(hw)->get_status(hw) != VIRTIO_CONFIG_STATUS_RESET) { in virtio_reset()
67 status |= VIRTIO_OPS(hw)->get_status(hw); in virtio_set_status()
69 VIRTIO_OPS(hw)->set_status(hw, status); in virtio_set_status()
75 return VIRTIO_OPS(hw)->get_status(hw); in virtio_get_status()
81 return VIRTIO_OPS(hw)->get_isr(hw); in virtio_get_isr()
H A Dvirtio_pci_ethdev.c90 VIRTIO_OPS(hw) = &modern_ops; in eth_virtio_pci_init()
92 VIRTIO_OPS(hw) = &legacy_ops; in eth_virtio_pci_init()
H A Dvirtio_ethdev.c678 if (VIRTIO_OPS(hw)->setup_queue(hw, vq) < 0) { in virtio_init_queue()
807 return VIRTIO_OPS(hw)->dev_close(hw); in virtio_dev_close()
1467 if (VIRTIO_OPS(hw)->intr_detect) in virtio_intr_unmask()
1468 VIRTIO_OPS(hw)->intr_detect(hw); in virtio_intr_unmask()
1481 if (VIRTIO_OPS(hw)->intr_detect) in virtio_intr_enable()
1482 VIRTIO_OPS(hw)->intr_detect(hw); in virtio_intr_enable()
1495 if (VIRTIO_OPS(hw)->intr_detect) in virtio_intr_disable()
1496 VIRTIO_OPS(hw)->intr_detect(hw); in virtio_intr_disable()
1536 if (VIRTIO_OPS(hw)->features_ok(hw) < 0) in virtio_ethdev_negotiate_features()
1790 VIRTIO_OPS(hw)->set_queue_irq(hw, in virtio_queues_unbind_intr()
[all …]
H A Dvirtio_pci.c771 VIRTIO_OPS(hw) = &modern_ops; in vtpci_init()
790 VIRTIO_OPS(hw) = &legacy_ops; in vtpci_init()
794 VIRTIO_OPS(hw)->intr_detect(hw); in vtpci_init()
H A Dvirtio.h259 #define VIRTIO_OPS(hw) (virtio_hw_internal[(hw)->port_id].virtio_ops) macro
H A Dvirtio_user_ethdev.c436 VIRTIO_OPS(hw) = &virtio_user_ops; in virtio_user_eth_dev_alloc()
490 VIRTIO_OPS(hw) = &virtio_user_ops; in virtio_user_pmd_probe()
H A Dvirtqueue.h615 VIRTIO_OPS(vq->hw)->notify_queue(vq->hw, vq); in virtqueue_notify()