Searched refs:vdpa_dev (Results 1 – 6 of 6) sorted by relevance
592 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 …]
63 rte_vdpa_get_rte_device(struct rte_vdpa_device *vdpa_dev) in rte_vdpa_get_rte_device() argument65 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() local344 vdpa_dev = vdpa_find_device(start, vdpa_dev_match, it->device); in vdpa_dev_iterate()346 return vdpa_dev; in vdpa_dev_iterate()
212 struct rte_vdpa_device *vdpa_dev = dev->vdpa_dev; in vhost_user_notify_queue_state() local219 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() local1037 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 …]
64 rte_vdpa_get_rte_device(struct rte_vdpa_device *vdpa_dev);
679 struct rte_vdpa_device *vdpa_dev; in vhost_destroy_device_notify() local682 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() argument718 dev->vdpa_dev = vdpa_dev; in vhost_attach_vdpa_device()1455 return dev->vdpa_dev; in rte_vhost_get_vdpa_device()
385 struct rte_vdpa_device *vdpa_dev; member