Lines Matching refs:vdpa_dev
193 struct rte_vdpa_device *vdpa_dev; in vhost_backend_cleanup() local
195 vdpa_dev = dev->vdpa_dev; in vhost_backend_cleanup()
196 if (vdpa_dev && vdpa_dev->ops->dev_cleanup != NULL) in vhost_backend_cleanup()
197 vdpa_dev->ops->dev_cleanup(dev->vid); in vhost_backend_cleanup()
246 struct rte_vdpa_device *vdpa_dev = dev->vdpa_dev; in vhost_user_notify_queue_state() local
253 if (vdpa_dev && vdpa_dev->ops->set_vring_state) in vhost_user_notify_queue_state()
254 vdpa_dev->ops->set_vring_state(dev->vid, index, enable); in vhost_user_notify_queue_state()
338 struct rte_vdpa_device *vdpa_dev; in vhost_user_set_features() local
406 vdpa_dev = dev->vdpa_dev; in vhost_user_set_features()
407 if (vdpa_dev) in vhost_user_set_features()
408 vdpa_dev->ops->set_features(dev->vid); in vhost_user_set_features()
1287 struct rte_vdpa_device *vdpa_dev = dev->vdpa_dev; in vhost_user_set_mem_table() local
1289 if (vdpa_dev && vdpa_dev->ops->dev_close) in vhost_user_set_mem_table()
1290 vdpa_dev->ops->dev_close(dev->vid); in vhost_user_set_mem_table()
2329 struct rte_vdpa_device *vdpa_dev; in vhost_user_send_rarp() local
2343 vdpa_dev = dev->vdpa_dev; in vhost_user_send_rarp()
2344 if (vdpa_dev && vdpa_dev->ops->migration_done) in vhost_user_send_rarp()
2345 vdpa_dev->ops->migration_done(dev->vid); in vhost_user_send_rarp()
2860 struct rte_vdpa_device *vdpa_dev; in vhost_user_msg_handler() local
3064 vdpa_dev = dev->vdpa_dev; in vhost_user_msg_handler()
3065 if (!vdpa_dev) in vhost_user_msg_handler()
3069 if (vdpa_dev->ops->dev_conf(dev->vid)) in vhost_user_msg_handler()
3218 struct rte_vdpa_device *vdpa_dev; in rte_vhost_host_notifier_ctrl() local
3227 vdpa_dev = dev->vdpa_dev; in rte_vhost_host_notifier_ctrl()
3228 if (vdpa_dev == NULL) in rte_vhost_host_notifier_ctrl()
3251 RTE_FUNC_PTR_OR_ERR_RET(vdpa_dev->ops->get_vfio_device_fd, -ENOTSUP); in rte_vhost_host_notifier_ctrl()
3252 RTE_FUNC_PTR_OR_ERR_RET(vdpa_dev->ops->get_notify_area, -ENOTSUP); in rte_vhost_host_notifier_ctrl()
3254 vfio_device_fd = vdpa_dev->ops->get_vfio_device_fd(vid); in rte_vhost_host_notifier_ctrl()
3260 if (vdpa_dev->ops->get_notify_area(vid, i, &offset, in rte_vhost_host_notifier_ctrl()