Home
last modified time | relevance | path

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

/f-stack/dpdk/lib/librte_vhost/
H A Drte_vdpa.h17 struct rte_vdpa_device;
52 struct rte_vdpa_device *
64 rte_vdpa_get_rte_device(struct rte_vdpa_device *vdpa_dev);
77 rte_vdpa_get_queue_num(struct rte_vdpa_device *dev, uint32_t *queue_num);
90 rte_vdpa_get_features(struct rte_vdpa_device *dev, uint64_t *features);
103 rte_vdpa_get_protocol_features(struct rte_vdpa_device *dev, uint64_t *features);
143 rte_vdpa_get_stats_names(struct rte_vdpa_device *dev,
170 rte_vdpa_get_stats(struct rte_vdpa_device *dev, uint16_t qid,
183 rte_vdpa_reset_stats(struct rte_vdpa_device *dev, uint16_t qid);
H A Drte_vdpa_dev.h19 int (*get_queue_num)(struct rte_vdpa_device *dev, uint32_t *queue_num);
22 int (*get_features)(struct rte_vdpa_device *dev, uint64_t *features);
25 int (*get_protocol_features)(struct rte_vdpa_device *dev,
54 int (*get_stats_names)(struct rte_vdpa_device *dev,
59 int (*get_stats)(struct rte_vdpa_device *dev, int qid,
63 int (*reset_stats)(struct rte_vdpa_device *dev, int qid);
72 struct rte_vdpa_device { struct
73 TAILQ_ENTRY(rte_vdpa_device) next;
90 struct rte_vdpa_device * argument
103 rte_vdpa_unregister_device(struct rte_vdpa_device *dev);
H A Dvdpa.c24 TAILQ_HEAD(vdpa_device_list, rte_vdpa_device);
32 static struct rte_vdpa_device *
35 struct rte_vdpa_device *dev, *ret = NULL; in __vdpa_find_device_by_name()
50 struct rte_vdpa_device *
53 struct rte_vdpa_device *dev; in rte_vdpa_find_device_by_name()
71 struct rte_vdpa_device *
75 struct rte_vdpa_device *dev; in rte_vdpa_register_device()
114 struct rte_vdpa_device *cur_dev, *tmp_dev; in rte_vdpa_unregister_device()
312 static struct rte_vdpa_device *
316 struct rte_vdpa_device *dev; in vdpa_find_device()
[all …]
H A Drte_vhost.h115 struct rte_vdpa_device;
435 struct rte_vdpa_device *dev);
456 struct rte_vdpa_device *
1000 struct rte_vdpa_device *
H A Dsocket.c58 struct rte_vdpa_device *vdpa_dev;
582 struct rte_vdpa_device *dev) in rte_vhost_driver_attach_vdpa_device()
612 struct rte_vdpa_device *
616 struct rte_vdpa_device *dev = NULL; in rte_vhost_driver_get_vdpa_device()
696 struct rte_vdpa_device *vdpa_dev; in rte_vhost_driver_get_features()
749 struct rte_vdpa_device *vdpa_dev; in rte_vhost_driver_get_protocol_features()
789 struct rte_vdpa_device *vdpa_dev; in rte_vhost_driver_get_queue_num()
H A Dvhost.h385 struct rte_vdpa_device *vdpa_dev;
672 void vhost_attach_vdpa_device(int vid, struct rte_vdpa_device *dev);
H A Dvhost_user.c212 struct rte_vdpa_device *vdpa_dev = dev->vdpa_dev; in vhost_user_notify_queue_state()
313 struct rte_vdpa_device *vdpa_dev; in vhost_user_set_features()
1035 struct rte_vdpa_device *vdpa_dev = dev->vdpa_dev; in vhost_user_set_mem_table()
2174 struct rte_vdpa_device *vdpa_dev; in vhost_user_send_rarp()
2710 struct rte_vdpa_device *vdpa_dev; in vhost_user_msg_handler()
3068 struct rte_vdpa_device *vdpa_dev; in rte_vhost_host_notifier_ctrl()
H A Dvhost.c679 struct rte_vdpa_device *vdpa_dev; in vhost_destroy_device_notify()
711 vhost_attach_vdpa_device(int vid, struct rte_vdpa_device *vdpa_dev) in vhost_attach_vdpa_device()
1447 struct rte_vdpa_device *
/f-stack/dpdk/drivers/vdpa/mlx5/
H A Dmlx5_vdpa.c54 mlx5_vdpa_find_priv_resource_by_vdev(struct rte_vdpa_device *vdev) in mlx5_vdpa_find_priv_resource_by_vdev()
116 mlx5_vdpa_get_protocol_features(struct rte_vdpa_device *vdev, in mlx5_vdpa_get_protocol_features()
133 struct rte_vdpa_device *vdev = rte_vhost_get_vdpa_device(vid); in mlx5_vdpa_set_vring_state()
155 struct rte_vdpa_device *vdev = rte_vhost_get_vdpa_device(vid); in mlx5_vdpa_features_set()
275 struct rte_vdpa_device *vdev = rte_vhost_get_vdpa_device(vid); in mlx5_vdpa_dev_close()
305 struct rte_vdpa_device *vdev = rte_vhost_get_vdpa_device(vid); in mlx5_vdpa_dev_config()
336 struct rte_vdpa_device *vdev = rte_vhost_get_vdpa_device(vid); in mlx5_vdpa_get_device_fd()
350 struct rte_vdpa_device *vdev = rte_vhost_get_vdpa_device(vid); in mlx5_vdpa_get_notify_area()
370 mlx5_vdpa_get_stats_names(struct rte_vdpa_device *vdev, in mlx5_vdpa_get_stats_names()
400 mlx5_vdpa_get_stats(struct rte_vdpa_device *vdev, int qid, in mlx5_vdpa_get_stats()
[all …]
H A Dmlx5_vdpa.h137 struct rte_vdpa_device *vdev; /* vDPA device. */
/f-stack/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()
/f-stack/dpdk/drivers/vdpa/ifc/
H A Difcvf_vdpa.c59 struct rte_vdpa_device *vdev;
88 find_internal_resource_by_vdev(struct rte_vdpa_device *vdev) in find_internal_resource_by_vdev()
881 struct rte_vdpa_device *vdev; in ifcvf_dev_config()
908 struct rte_vdpa_device *vdev; in ifcvf_dev_close()
948 struct rte_vdpa_device *vdev; in ifcvf_set_features()
981 struct rte_vdpa_device *vdev; in ifcvf_get_vfio_group_fd()
997 struct rte_vdpa_device *vdev; in ifcvf_get_vfio_device_fd()
1013 struct rte_vdpa_device *vdev; in ifcvf_get_notify_area()
1043 ifcvf_get_queue_num(struct rte_vdpa_device *vdev, uint32_t *queue_num) in ifcvf_get_queue_num()
1059 ifcvf_get_vdpa_features(struct rte_vdpa_device *vdev, uint64_t *features) in ifcvf_get_vdpa_features()
[all …]