Lines Matching refs:vdpa_dev
212 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()
220 vdpa_dev->ops->set_vring_state(dev->vid, index, enable); in vhost_user_notify_queue_state()
313 struct rte_vdpa_device *vdpa_dev; in vhost_user_set_features() local
387 vdpa_dev = dev->vdpa_dev; in vhost_user_set_features()
388 if (vdpa_dev) in vhost_user_set_features()
389 vdpa_dev->ops->set_features(dev->vid); 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()
1038 vdpa_dev->ops->dev_close(dev->vid); in vhost_user_set_mem_table()
2174 struct rte_vdpa_device *vdpa_dev; in vhost_user_send_rarp() local
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()
2194 vdpa_dev->ops->migration_done(dev->vid); in vhost_user_send_rarp()
2710 struct rte_vdpa_device *vdpa_dev; in vhost_user_msg_handler() local
2916 vdpa_dev = dev->vdpa_dev; in vhost_user_msg_handler()
2917 if (!vdpa_dev) in vhost_user_msg_handler()
2921 if (vdpa_dev->ops->dev_conf(dev->vid)) in vhost_user_msg_handler()
3068 struct rte_vdpa_device *vdpa_dev; in rte_vhost_host_notifier_ctrl() local
3077 vdpa_dev = dev->vdpa_dev; in rte_vhost_host_notifier_ctrl()
3078 if (vdpa_dev == NULL) in rte_vhost_host_notifier_ctrl()
3101 RTE_FUNC_PTR_OR_ERR_RET(vdpa_dev->ops->get_vfio_device_fd, -ENOTSUP); in rte_vhost_host_notifier_ctrl()
3102 RTE_FUNC_PTR_OR_ERR_RET(vdpa_dev->ops->get_notify_area, -ENOTSUP); in rte_vhost_host_notifier_ctrl()
3104 vfio_device_fd = vdpa_dev->ops->get_vfio_device_fd(vid); in rte_vhost_host_notifier_ctrl()
3110 if (vdpa_dev->ops->get_notify_area(vid, i, &offset, in rte_vhost_host_notifier_ctrl()