Home
last modified time | relevance | path

Searched refs:vdpa_dev (Results 1 – 6 of 6) sorted by relevance

/f-stack/dpdk/lib/librte_vhost/
H A Dsocket.c592 vsocket->vdpa_dev = dev; in rte_vhost_driver_attach_vdpa_device()
621 dev = vsocket->vdpa_dev; in rte_vhost_driver_get_vdpa_device()
708 vdpa_dev = vsocket->vdpa_dev; in rte_vhost_driver_get_features()
709 if (!vdpa_dev) { in rte_vhost_driver_get_features()
714 if (vdpa_dev->ops->get_features(vdpa_dev, &vdpa_features) < 0) { in rte_vhost_driver_get_features()
761 vdpa_dev = vsocket->vdpa_dev; in rte_vhost_driver_get_protocol_features()
762 if (!vdpa_dev) { in rte_vhost_driver_get_protocol_features()
767 if (vdpa_dev->ops->get_protocol_features(vdpa_dev, in rte_vhost_driver_get_protocol_features()
801 vdpa_dev = vsocket->vdpa_dev; in rte_vhost_driver_get_queue_num()
802 if (!vdpa_dev) { in rte_vhost_driver_get_queue_num()
[all …]
H A Dvdpa.c63 rte_vdpa_get_rte_device(struct rte_vdpa_device *vdpa_dev) in rte_vdpa_get_rte_device() argument
65 if (vdpa_dev == NULL) in rte_vdpa_get_rte_device()
68 return vdpa_dev->device; in rte_vdpa_get_rte_device()
340 struct rte_vdpa_device *vdpa_dev = NULL; in vdpa_dev_iterate() local
344 vdpa_dev = vdpa_find_device(start, vdpa_dev_match, it->device); in vdpa_dev_iterate()
346 return vdpa_dev; in vdpa_dev_iterate()
H A Dvhost_user.c212 struct rte_vdpa_device *vdpa_dev = dev->vdpa_dev; in vhost_user_notify_queue_state() local
219 if (vdpa_dev && vdpa_dev->ops->set_vring_state) in vhost_user_notify_queue_state()
387 vdpa_dev = dev->vdpa_dev; in vhost_user_set_features()
388 if (vdpa_dev) in vhost_user_set_features()
1035 struct rte_vdpa_device *vdpa_dev = dev->vdpa_dev; in vhost_user_set_mem_table() local
1037 if (vdpa_dev && vdpa_dev->ops->dev_close) in vhost_user_set_mem_table()
2192 vdpa_dev = dev->vdpa_dev; in vhost_user_send_rarp()
2193 if (vdpa_dev && vdpa_dev->ops->migration_done) in vhost_user_send_rarp()
2916 vdpa_dev = dev->vdpa_dev; in vhost_user_msg_handler()
2917 if (!vdpa_dev) in vhost_user_msg_handler()
[all …]
H A Drte_vdpa.h64 rte_vdpa_get_rte_device(struct rte_vdpa_device *vdpa_dev);
H A Dvhost.c679 struct rte_vdpa_device *vdpa_dev; in vhost_destroy_device_notify() local
682 vdpa_dev = dev->vdpa_dev; in vhost_destroy_device_notify()
683 if (vdpa_dev) in vhost_destroy_device_notify()
684 vdpa_dev->ops->dev_close(dev->vid); in vhost_destroy_device_notify()
711 vhost_attach_vdpa_device(int vid, struct rte_vdpa_device *vdpa_dev) in vhost_attach_vdpa_device() argument
718 dev->vdpa_dev = vdpa_dev; in vhost_attach_vdpa_device()
1455 return dev->vdpa_dev; in rte_vhost_get_vdpa_device()
H A Dvhost.h385 struct rte_vdpa_device *vdpa_dev; member