Searched refs:vdpa_dev (Results 1 – 10 of 10) sorted by relevance
571 ops_data->vdpa_dev->device->name); in sfc_vdpa_notify_ctrl()606 struct rte_vdpa_device *vdpa_dev; in sfc_vdpa_dev_config() local610 vdpa_dev = rte_vhost_get_vdpa_device(vid); in sfc_vdpa_dev_config()616 vdpa_dev, vid); in sfc_vdpa_dev_config()662 struct rte_vdpa_device *vdpa_dev; in sfc_vdpa_dev_close() local671 vdpa_dev, vid); in sfc_vdpa_dev_close()706 struct rte_vdpa_device *vdpa_dev; in sfc_vdpa_set_vring_state() local769 struct rte_vdpa_device *vdpa_dev; in sfc_vdpa_get_vfio_device_fd() local797 struct rte_vdpa_device *vdpa_dev; in sfc_vdpa_get_notify_area() local893 ops_data->vdpa_dev = in sfc_vdpa_device_init()[all …]
48 sfc_vdpa_get_data_by_dev(struct rte_vdpa_device *vdpa_dev) in sfc_vdpa_get_data_by_dev() argument56 if (vdpa_dev == sva->ops_data->vdpa_dev) { in sfc_vdpa_get_data_by_dev()
47 struct rte_vdpa_device *vdpa_dev; member
88 sfc_vdpa_get_data_by_dev(struct rte_vdpa_device *vdpa_dev);
586 vsocket->vdpa_dev = dev; in rte_vhost_driver_attach_vdpa_device()615 dev = vsocket->vdpa_dev; in rte_vhost_driver_get_vdpa_device()701 vdpa_dev = vsocket->vdpa_dev; in rte_vhost_driver_get_features()702 if (!vdpa_dev) { in rte_vhost_driver_get_features()707 if (vdpa_dev->ops->get_features(vdpa_dev, &vdpa_features) < 0) { in rte_vhost_driver_get_features()751 vdpa_dev = vsocket->vdpa_dev; in rte_vhost_driver_get_protocol_features()752 if (!vdpa_dev) { in rte_vhost_driver_get_protocol_features()757 if (vdpa_dev->ops->get_protocol_features(vdpa_dev, in rte_vhost_driver_get_protocol_features()789 vdpa_dev = vsocket->vdpa_dev; in rte_vhost_driver_get_queue_num()790 if (!vdpa_dev) { in rte_vhost_driver_get_queue_num()[all …]
62 rte_vdpa_get_rte_device(struct rte_vdpa_device *vdpa_dev) in rte_vdpa_get_rte_device() argument64 if (vdpa_dev == NULL) in rte_vdpa_get_rte_device()67 return vdpa_dev->device; in rte_vdpa_get_rte_device()339 struct rte_vdpa_device *vdpa_dev = NULL; in vdpa_dev_iterate() local343 vdpa_dev = vdpa_find_device(start, vdpa_dev_match, it->device); in vdpa_dev_iterate()345 return vdpa_dev; in vdpa_dev_iterate()
195 vdpa_dev = dev->vdpa_dev; in vhost_backend_cleanup()196 if (vdpa_dev && vdpa_dev->ops->dev_cleanup != NULL) in vhost_backend_cleanup()246 struct rte_vdpa_device *vdpa_dev = dev->vdpa_dev; in vhost_user_notify_queue_state() local253 if (vdpa_dev && vdpa_dev->ops->set_vring_state) in vhost_user_notify_queue_state()406 vdpa_dev = dev->vdpa_dev; in vhost_user_set_features()1287 struct rte_vdpa_device *vdpa_dev = dev->vdpa_dev; in vhost_user_set_mem_table() local1289 if (vdpa_dev && vdpa_dev->ops->dev_close) in vhost_user_set_mem_table()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()3064 vdpa_dev = dev->vdpa_dev; in vhost_user_msg_handler()[all …]
70 rte_vdpa_get_rte_device(struct rte_vdpa_device *vdpa_dev);
698 struct rte_vdpa_device *vdpa_dev; in vhost_destroy_device_notify() local701 vdpa_dev = dev->vdpa_dev; in vhost_destroy_device_notify()702 if (vdpa_dev) in vhost_destroy_device_notify()703 vdpa_dev->ops->dev_close(dev->vid); in vhost_destroy_device_notify()730 vhost_attach_vdpa_device(int vid, struct rte_vdpa_device *vdpa_dev) in vhost_attach_vdpa_device() argument737 dev->vdpa_dev = vdpa_dev; in vhost_attach_vdpa_device()1498 return dev->vdpa_dev; in rte_vhost_get_vdpa_device()
480 struct rte_vdpa_device *vdpa_dev; member