Lines Matching defs:vid
666 * others untouched, such as vid, ifname, nr_vring: they
737 dev->vid = i;
755 vdpa_dev->ops->dev_close(dev->vid);
757 dev->notify_ops->destroy_device(dev->vid);
766 vhost_destroy_device(int vid)
768 struct virtio_net *dev = get_device(vid);
778 vhost_devices[vid] = NULL;
782 vhost_attach_vdpa_device(int vid, struct rte_vdpa_device *vdpa_dev)
784 struct virtio_net *dev = get_device(vid);
793 vhost_set_ifname(int vid, const char *if_name, unsigned int if_len)
798 dev = get_device(vid);
810 vhost_setup_virtio_net(int vid, bool enable, bool compliant_ol_flags, bool stats_enabled,
813 struct virtio_net *dev = get_device(vid);
841 vhost_enable_extbuf(int vid)
843 struct virtio_net *dev = get_device(vid);
852 vhost_enable_linearbuf(int vid)
854 struct virtio_net *dev = get_device(vid);
863 rte_vhost_get_mtu(int vid, uint16_t *mtu)
865 struct virtio_net *dev = get_device(vid);
882 rte_vhost_get_numa_node(int vid)
885 struct virtio_net *dev = get_device(vid);
902 RTE_SET_USED(vid);
908 rte_vhost_get_vring_num(int vid)
910 struct virtio_net *dev = get_device(vid);
919 rte_vhost_get_ifname(int vid, char *buf, size_t len)
921 struct virtio_net *dev = get_device(vid);
935 rte_vhost_get_negotiated_features(int vid, uint64_t *features)
939 dev = get_device(vid);
948 rte_vhost_get_negotiated_protocol_features(int vid,
953 dev = get_device(vid);
962 rte_vhost_get_mem_table(int vid, struct rte_vhost_memory **mem)
968 dev = get_device(vid);
985 rte_vhost_get_vhost_vring(int vid, uint16_t vring_idx,
991 dev = get_device(vid);
1021 rte_vhost_get_vhost_ring_inflight(int vid, uint16_t vring_idx,
1027 dev = get_device(vid);
1056 rte_vhost_set_inflight_desc_split(int vid, uint16_t vring_idx,
1062 dev = get_device(vid);
1092 rte_vhost_set_inflight_desc_packed(int vid, uint16_t vring_idx,
1102 dev = get_device(vid);
1160 rte_vhost_clr_inflight_desc_split(int vid, uint16_t vring_idx,
1166 dev = get_device(vid);
1201 rte_vhost_clr_inflight_desc_packed(int vid, uint16_t vring_idx,
1208 dev = get_device(vid);
1247 rte_vhost_set_last_inflight_io_split(int vid, uint16_t vring_idx,
1253 dev = get_device(vid);
1282 rte_vhost_set_last_inflight_io_packed(int vid, uint16_t vring_idx,
1290 dev = get_device(vid);
1332 rte_vhost_vring_call(int vid, uint16_t vring_idx)
1338 dev = get_device(vid);
1368 rte_vhost_vring_call_nonblock(int vid, uint16_t vring_idx)
1374 dev = get_device(vid);
1405 rte_vhost_avail_entries(int vid, uint16_t queue_id)
1411 dev = get_device(vid);
1501 rte_vhost_enable_guest_notification(int vid, uint16_t queue_id, int enable)
1503 struct virtio_net *dev = get_device(vid);
1534 rte_vhost_notify_guest(int vid, uint16_t queue_id)
1536 struct virtio_net *dev = get_device(vid);
1562 dev->notify_ops->guest_notified(dev->vid);
1570 rte_vhost_log_write(int vid, uint64_t addr, uint64_t len)
1572 struct virtio_net *dev = get_device(vid);
1581 rte_vhost_log_used_vring(int vid, uint16_t vring_idx,
1587 dev = get_device(vid);
1601 rte_vhost_rx_queue_count(int vid, uint16_t qid)
1607 dev = get_device(vid);
1638 rte_vhost_get_vdpa_device(int vid)
1640 struct virtio_net *dev = get_device(vid);
1649 rte_vhost_get_log_base(int vid, uint64_t *log_base,
1652 struct virtio_net *dev = get_device(vid);
1664 rte_vhost_get_vring_base(int vid, uint16_t queue_id,
1668 struct virtio_net *dev = get_device(vid);
1694 rte_vhost_set_vring_base(int vid, uint16_t queue_id,
1698 struct virtio_net *dev = get_device(vid);
1726 rte_vhost_get_vring_base_from_inflight(int vid,
1733 struct virtio_net *dev = get_device(vid);
1760 rte_vhost_extern_callback_register(int vid,
1763 struct virtio_net *dev = get_device(vid);
1847 rte_vhost_async_channel_register(int vid, uint16_t queue_id)
1850 struct virtio_net *dev = get_device(vid);
1880 rte_vhost_async_channel_register_thread_unsafe(int vid, uint16_t queue_id)
1883 struct virtio_net *dev = get_device(vid);
1902 rte_vhost_async_channel_unregister(int vid, uint16_t queue_id)
1905 struct virtio_net *dev = get_device(vid);
1948 rte_vhost_async_channel_unregister_thread_unsafe(int vid, uint16_t queue_id)
1951 struct virtio_net *dev = get_device(vid);
2058 rte_vhost_async_get_inflight(int vid, uint16_t queue_id)
2061 struct virtio_net *dev = get_device(vid);
2096 rte_vhost_async_get_inflight_thread_unsafe(int vid, uint16_t queue_id)
2099 struct virtio_net *dev = get_device(vid);
2124 rte_vhost_get_monitor_addr(int vid, uint16_t queue_id,
2127 struct virtio_net *dev = get_device(vid);
2174 rte_vhost_vring_stats_get_names(int vid, uint16_t queue_id,
2177 struct virtio_net *dev = get_device(vid);
2201 rte_vhost_vring_stats_get(int vid, uint16_t queue_id,
2204 struct virtio_net *dev = get_device(vid);
2246 int rte_vhost_vring_stats_reset(int vid, uint16_t queue_id)
2248 struct virtio_net *dev = get_device(vid);