Home
last modified time | relevance | path

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

/dpdk/drivers/vdpa/sfc/
H A Dsfc_vdpa_ops.c571 ops_data->vdpa_dev->device->name); in sfc_vdpa_notify_ctrl()
606 struct rte_vdpa_device *vdpa_dev; in sfc_vdpa_dev_config() local
610 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() local
671 vdpa_dev, vid); in sfc_vdpa_dev_close()
706 struct rte_vdpa_device *vdpa_dev; in sfc_vdpa_set_vring_state() local
769 struct rte_vdpa_device *vdpa_dev; in sfc_vdpa_get_vfio_device_fd() local
797 struct rte_vdpa_device *vdpa_dev; in sfc_vdpa_get_notify_area() local
893 ops_data->vdpa_dev = in sfc_vdpa_device_init()
[all …]
H A Dsfc_vdpa.c48 sfc_vdpa_get_data_by_dev(struct rte_vdpa_device *vdpa_dev) in sfc_vdpa_get_data_by_dev() argument
56 if (vdpa_dev == sva->ops_data->vdpa_dev) { in sfc_vdpa_get_data_by_dev()
H A Dsfc_vdpa_ops.h47 struct rte_vdpa_device *vdpa_dev; member
H A Dsfc_vdpa.h88 sfc_vdpa_get_data_by_dev(struct rte_vdpa_device *vdpa_dev);
/dpdk/lib/vhost/
H A Dsocket.c586 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 …]
H A Dvdpa.c62 rte_vdpa_get_rte_device(struct rte_vdpa_device *vdpa_dev) in rte_vdpa_get_rte_device() argument
64 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() local
343 vdpa_dev = vdpa_find_device(start, vdpa_dev_match, it->device); in vdpa_dev_iterate()
345 return vdpa_dev; in vdpa_dev_iterate()
H A Dvhost_user.c195 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() local
253 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() local
1289 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 …]
H A Drte_vdpa.h70 rte_vdpa_get_rte_device(struct rte_vdpa_device *vdpa_dev);
H A Dvhost.c698 struct rte_vdpa_device *vdpa_dev; in vhost_destroy_device_notify() local
701 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() argument
737 dev->vdpa_dev = vdpa_dev; in vhost_attach_vdpa_device()
1498 return dev->vdpa_dev; in rte_vhost_get_vdpa_device()
H A Dvhost.h480 struct rte_vdpa_device *vdpa_dev; member