Home
last modified time | relevance | path

Searched refs:rte_vdpa_device (Results 1 – 16 of 16) sorted by relevance

/dpdk/lib/vhost/
H A Drte_vdpa.h23 struct rte_vdpa_device;
58 struct rte_vdpa_device *
70 rte_vdpa_get_rte_device(struct rte_vdpa_device *vdpa_dev);
83 rte_vdpa_get_queue_num(struct rte_vdpa_device *dev, uint32_t *queue_num);
96 rte_vdpa_get_features(struct rte_vdpa_device *dev, uint64_t *features);
109 rte_vdpa_get_protocol_features(struct rte_vdpa_device *dev, uint64_t *features);
149 rte_vdpa_get_stats_names(struct rte_vdpa_device *dev,
176 rte_vdpa_get_stats(struct rte_vdpa_device *dev, uint16_t qid,
189 rte_vdpa_reset_stats(struct rte_vdpa_device *dev, uint16_t qid);
H A Dvdpa_driver.h26 int (*get_queue_num)(struct rte_vdpa_device *dev, uint32_t *queue_num);
29 int (*get_features)(struct rte_vdpa_device *dev, uint64_t *features);
32 int (*get_protocol_features)(struct rte_vdpa_device *dev,
64 int (*get_stats_names)(struct rte_vdpa_device *dev,
69 int (*get_stats)(struct rte_vdpa_device *dev, int qid,
73 int (*reset_stats)(struct rte_vdpa_device *dev, int qid);
82 struct rte_vdpa_device { struct
83 RTE_TAILQ_ENTRY(rte_vdpa_device) next;
101 struct rte_vdpa_device * argument
115 rte_vdpa_unregister_device(struct rte_vdpa_device *dev);
H A Dvdpa.c23 TAILQ_HEAD(vdpa_device_list, rte_vdpa_device);
31 static struct rte_vdpa_device *
34 struct rte_vdpa_device *dev, *ret = NULL; in __vdpa_find_device_by_name()
49 struct rte_vdpa_device *
52 struct rte_vdpa_device *dev; in rte_vdpa_find_device_by_name()
70 struct rte_vdpa_device *
74 struct rte_vdpa_device *dev; in rte_vdpa_register_device()
113 struct rte_vdpa_device *cur_dev, *tmp_dev; in rte_vdpa_unregister_device()
311 static struct rte_vdpa_device *
315 struct rte_vdpa_device *dev; in vdpa_find_device()
[all …]
H A Drte_vhost.h120 struct rte_vdpa_device;
464 struct rte_vdpa_device *dev);
485 struct rte_vdpa_device *
1049 struct rte_vdpa_device *
H A Dsocket.c58 struct rte_vdpa_device *vdpa_dev;
576 struct rte_vdpa_device *dev) in rte_vhost_driver_attach_vdpa_device()
606 struct rte_vdpa_device *
610 struct rte_vdpa_device *dev = NULL; in rte_vhost_driver_get_vdpa_device()
690 struct rte_vdpa_device *vdpa_dev; in rte_vhost_driver_get_features()
740 struct rte_vdpa_device *vdpa_dev; in rte_vhost_driver_get_protocol_features()
778 struct rte_vdpa_device *vdpa_dev; in rte_vhost_driver_get_queue_num()
H A Dvhost_user.c193 struct rte_vdpa_device *vdpa_dev; in vhost_backend_cleanup()
246 struct rte_vdpa_device *vdpa_dev = dev->vdpa_dev; in vhost_user_notify_queue_state()
338 struct rte_vdpa_device *vdpa_dev; in vhost_user_set_features()
1287 struct rte_vdpa_device *vdpa_dev = dev->vdpa_dev; in vhost_user_set_mem_table()
2329 struct rte_vdpa_device *vdpa_dev; in vhost_user_send_rarp()
2860 struct rte_vdpa_device *vdpa_dev; in vhost_user_msg_handler()
3218 struct rte_vdpa_device *vdpa_dev; in rte_vhost_host_notifier_ctrl()
H A Dvhost.h480 struct rte_vdpa_device *vdpa_dev;
780 void vhost_attach_vdpa_device(int vid, struct rte_vdpa_device *dev);
H A Dvhost.c698 struct rte_vdpa_device *vdpa_dev; in vhost_destroy_device_notify()
730 vhost_attach_vdpa_device(int vid, struct rte_vdpa_device *vdpa_dev) in vhost_attach_vdpa_device()
1490 struct rte_vdpa_device *
/dpdk/drivers/vdpa/mlx5/
H A Dmlx5_vdpa.c56 mlx5_vdpa_find_priv_resource_by_vdev(struct rte_vdpa_device *vdev) in mlx5_vdpa_find_priv_resource_by_vdev()
118 mlx5_vdpa_get_protocol_features(struct rte_vdpa_device *vdev, in mlx5_vdpa_get_protocol_features()
135 struct rte_vdpa_device *vdev = rte_vhost_get_vdpa_device(vid); in mlx5_vdpa_set_vring_state()
157 struct rte_vdpa_device *vdev = rte_vhost_get_vdpa_device(vid); in mlx5_vdpa_features_set()
254 struct rte_vdpa_device *vdev = rte_vhost_get_vdpa_device(vid); in mlx5_vdpa_dev_close()
285 struct rte_vdpa_device *vdev = rte_vhost_get_vdpa_device(vid); in mlx5_vdpa_dev_config()
317 struct rte_vdpa_device *vdev = rte_vhost_get_vdpa_device(vid); in mlx5_vdpa_get_device_fd()
331 struct rte_vdpa_device *vdev = rte_vhost_get_vdpa_device(vid); in mlx5_vdpa_get_notify_area()
351 mlx5_vdpa_get_stats_names(struct rte_vdpa_device *vdev, in mlx5_vdpa_get_stats_names()
381 mlx5_vdpa_get_stats(struct rte_vdpa_device *vdev, int qid, in mlx5_vdpa_get_stats()
[all …]
H A Dmlx5_vdpa.h138 struct rte_vdpa_device *vdev; /* vDPA device. */
/dpdk/drivers/vdpa/sfc/
H A Dsfc_vdpa_ops.c499 sfc_vdpa_get_queue_num(struct rte_vdpa_device *vdpa_dev, uint32_t *queue_num) in sfc_vdpa_get_queue_num()
518 sfc_vdpa_get_features(struct rte_vdpa_device *vdpa_dev, uint64_t *features) in sfc_vdpa_get_features()
536 sfc_vdpa_get_protocol_features(struct rte_vdpa_device *vdpa_dev, in sfc_vdpa_get_protocol_features()
606 struct rte_vdpa_device *vdpa_dev; in sfc_vdpa_dev_config()
662 struct rte_vdpa_device *vdpa_dev; in sfc_vdpa_dev_close()
706 struct rte_vdpa_device *vdpa_dev; in sfc_vdpa_set_vring_state()
769 struct rte_vdpa_device *vdpa_dev; in sfc_vdpa_get_vfio_device_fd()
797 struct rte_vdpa_device *vdpa_dev; in sfc_vdpa_get_notify_area()
H A Dsfc_vdpa_ops.h47 struct rte_vdpa_device *vdpa_dev;
H A Dsfc_vdpa.h88 sfc_vdpa_get_data_by_dev(struct rte_vdpa_device *vdpa_dev);
H A Dsfc_vdpa.c48 sfc_vdpa_get_data_by_dev(struct rte_vdpa_device *vdpa_dev) in sfc_vdpa_get_data_by_dev()
/dpdk/drivers/vdpa/ifc/
H A Difcvf_vdpa.c58 struct rte_vdpa_device *vdev;
87 find_internal_resource_by_vdev(struct rte_vdpa_device *vdev) in find_internal_resource_by_vdev()
884 struct rte_vdpa_device *vdev; in ifcvf_dev_config()
911 struct rte_vdpa_device *vdev; in ifcvf_dev_close()
951 struct rte_vdpa_device *vdev; in ifcvf_set_features()
984 struct rte_vdpa_device *vdev; in ifcvf_get_vfio_group_fd()
1000 struct rte_vdpa_device *vdev; in ifcvf_get_vfio_device_fd()
1016 struct rte_vdpa_device *vdev; in ifcvf_get_notify_area()
1046 ifcvf_get_queue_num(struct rte_vdpa_device *vdev, uint32_t *queue_num) in ifcvf_get_queue_num()
1062 ifcvf_get_vdpa_features(struct rte_vdpa_device *vdev, uint64_t *features) in ifcvf_get_vdpa_features()
[all …]
/dpdk/examples/vdpa/
H A Dmain.c30 struct rte_vdpa_device *dev;
294 struct rte_vdpa_device *vdev; in cmd_list_vdpa_devices_parsed()
344 struct rte_vdpa_device *dev; in cmd_create_vdpa_port_parsed()
391 struct rte_vdpa_device *vdev = rte_vdpa_find_device_by_name(res->bdf); in cmd_device_stats_parsed()
528 struct rte_vdpa_device *vdev; in main()