Home
last modified time | relevance | path

Searched refs:rte_device (Results 1 – 25 of 93) sorted by relevance

1234

/dpdk/lib/eal/include/
H A Drte_bus.h91 typedef struct rte_device *
92 (*rte_bus_find_device_t)(const struct rte_device *start, rte_dev_cmp_t cmp,
106 typedef int (*rte_bus_plug_t)(struct rte_device *dev);
119 typedef int (*rte_bus_unplug_t)(struct rte_device *dev);
175 typedef int (*rte_dev_dma_map_t)(struct rte_device *dev, void *addr,
196 typedef int (*rte_dev_dma_unmap_t)(struct rte_device *dev, void *addr,
211 typedef int (*rte_bus_hot_unplug_handler_t)(struct rte_device *dev);
373 struct rte_bus *rte_bus_find_by_device(const struct rte_device *dev);
H A Drte_dev.h85 struct rte_device { struct
86 RTE_TAILQ_ENTRY(rte_device) next; /**< Next device */
102 int rte_dev_is_probed(const struct rte_device *dev); argument
162 int rte_dev_remove(struct rte_device *dev);
183 typedef int (*rte_dev_cmp_t)(const struct rte_device *dev, const void *data);
237 struct rte_device *device; /**< current position. */
314 struct rte_device *
468 rte_dev_dma_map(struct rte_device *dev, void *addr, uint64_t iova, size_t len);
492 rte_dev_dma_unmap(struct rte_device *dev, void *addr, uint64_t iova,
/dpdk/drivers/common/mlx5/
H A Dmlx5_common_private.h19 int mlx5_common_dev_probe(struct rte_device *eal_dev);
20 int mlx5_common_dev_remove(struct rte_device *eal_dev);
21 int mlx5_common_dev_dma_map(struct rte_device *dev, void *addr, uint64_t iova,
23 int mlx5_common_dev_dma_unmap(struct rte_device *dev, void *addr, uint64_t iova,
31 const struct rte_device *dev);
H A Dmlx5_common.c436 const struct rte_device *dev) in mlx5_bus_match()
444 to_mlx5_device(const struct rte_device *rte_dev) in to_mlx5_device()
456 mlx5_dev_to_pci_str(const struct rte_device *dev, char *addr, size_t size) in mlx5_dev_to_pci_str()
740 mlx5_common_dev_create(struct rte_device *eal_dev, uint32_t classes, in mlx5_common_dev_create()
955 mlx5_common_dev_probe(struct rte_device *eal_dev) in mlx5_common_dev_probe()
1050 mlx5_common_dev_remove(struct rte_device *eal_dev) in mlx5_common_dev_remove()
1081 mlx5_common_dev_dma_map(struct rte_device *rte_dev, void *addr, in mlx5_common_dev_dma_map()
1126 mlx5_common_dev_dma_unmap(struct rte_device *rte_dev, void *addr, in mlx5_common_dev_dma_unmap()
/dpdk/app/test/
H A Dtest_vdev.c23 cmp_dev_name(const struct rte_device *dev, const void *name) in cmp_dev_name()
29 cmp_dev_match(const struct rte_device *dev, const void *_kvlist) in cmp_dev_match()
47 static struct rte_device *
52 struct rte_device *dev; in get_matching_vdev()
73 struct rte_device *dev, *dev0, *dev1; in test_vdev_bus()
/dpdk/lib/eal/common/
H A Deal_common_dev.c67 static int cmp_dev_name(const struct rte_device *dev, const void *_name) in cmp_dev_name()
75 rte_dev_is_probed(const struct rte_device *dev) in rte_dev_is_probed()
126 local_dev_probe(const char *devargs, struct rte_device **new_dev) in local_dev_probe()
128 struct rte_device *dev; in local_dev_probe()
194 struct rte_device *dev; in rte_dev_probe()
286 struct rte_device *dev; in rte_eal_hotplug_remove()
306 local_dev_remove(struct rte_device *dev) in local_dev_remove()
327 rte_dev_remove(struct rte_device *dev) in rte_dev_remove()
678 struct rte_device *dev = NULL; in bus_next_dev_cmp()
722 struct rte_device *
[all …]
H A Deal_common_bus.c139 cmp_rte_device(const struct rte_device *dev1, const void *_dev2) in cmp_rte_device()
141 const struct rte_device *dev2 = _dev2; in cmp_rte_device()
149 struct rte_device *dev; in bus_find_device()
156 rte_bus_find_by_device(const struct rte_device *dev) in rte_bus_find_by_device()
H A Deal_private.h502 int local_dev_probe(const char *devargs, struct rte_device **new_dev);
512 int local_dev_remove(struct rte_device *dev);
/dpdk/drivers/bus/auxiliary/
H A Dauxiliary_common.c295 static struct rte_device *
296 auxiliary_find_device(const struct rte_device *start, rte_dev_cmp_t cmp, in auxiliary_find_device()
317 auxiliary_plug(struct rte_device *dev) in auxiliary_plug()
325 auxiliary_unplug(struct rte_device *dev) in auxiliary_unplug()
342 auxiliary_dma_map(struct rte_device *dev, void *addr, uint64_t iova, size_t len) in auxiliary_dma_map()
358 auxiliary_dma_unmap(struct rte_device *dev, void *addr, uint64_t iova, in auxiliary_dma_unmap()
H A Dauxiliary_params.c25 auxiliary_dev_match(const struct rte_device *dev, in auxiliary_dev_match()
51 struct rte_device *dev; in auxiliary_dev_iterate()
/dpdk/drivers/common/qat/
H A Dqat_device.h58 struct rte_device sym_rte_dev;
64 struct rte_device asym_rte_dev;
70 struct rte_device comp_rte_dev;
/dpdk/drivers/bus/vdev/
H A Dvdev_private.h14 struct rte_device *
15 rte_vdev_find_device(const struct rte_device *start,
H A Dvdev_params.c26 vdev_dev_match(const struct rte_device *dev, in vdev_dev_match()
51 struct rte_device *dev; in rte_vdev_dev_iterate()
H A Dvdev.c139 vdev_dma_map(struct rte_device *dev, void *addr, uint64_t iova, size_t len) in vdev_dma_map()
164 vdev_dma_unmap(struct rte_device *dev, void *addr, uint64_t iova, size_t len) in vdev_dma_unmap()
394 static int vdev_plug(struct rte_device *dev);
572 struct rte_device *
573 rte_vdev_find_device(const struct rte_device *start, rte_dev_cmp_t cmp, in rte_vdev_find_device()
597 vdev_plug(struct rte_device *dev) in vdev_plug()
603 vdev_unplug(struct rte_device *dev) in vdev_unplug()
/dpdk/drivers/raw/ioat/
H A Didxd_bus.c32 struct rte_device device; /**< Inherit core device */
43 static struct rte_device *dsa_find_device(const struct rte_device *start,
323 static struct rte_device *
324 dsa_find_device(const struct rte_device *start, rte_dev_cmp_t cmp, in dsa_find_device()
/dpdk/lib/vhost/
H A Dvdpa.c61 struct rte_device *
71 rte_vdpa_register_device(struct rte_device *rte_dev, in rte_vdpa_register_device()
299 const struct rte_device *rte_dev) in vdpa_dev_match()
309 const struct rte_device *rte_dev);
313 struct rte_device *rte_dev) in vdpa_find_device()
H A Dvdpa_driver.h85 struct rte_device *device;
102 rte_vdpa_register_device(struct rte_device *rte_dev,
/dpdk/drivers/dma/idxd/
H A Didxd_bus.c34 struct rte_device device; /**< Inherit core device */
45 static struct rte_device *dsa_find_device(const struct rte_device *start,
355 static struct rte_device *
356 dsa_find_device(const struct rte_device *start, rte_dev_cmp_t cmp, in dsa_find_device()
/dpdk/drivers/common/mlx5/linux/
H A Dmlx5_common_verbs.c41 struct rte_device *dev = data; in mlx5_alloc_verbs_buf()
79 mlx5_set_context_attr(struct rte_device *dev, struct ibv_context *ctx) in mlx5_set_context_attr()
/dpdk/drivers/bus/pci/
H A Dpci_common.c479 static struct rte_device *
480 pci_find_device(const struct rte_device *start, rte_dev_cmp_t cmp, in pci_find_device()
531 pci_hot_unplug_handler(struct rte_device *dev) in pci_hot_unplug_handler()
593 pci_plug(struct rte_device *dev) in pci_plug()
599 pci_unplug(struct rte_device *dev) in pci_unplug()
615 pci_dma_map(struct rte_device *dev, void *addr, uint64_t iova, size_t len) in pci_dma_map()
638 pci_dma_unmap(struct rte_device *dev, void *addr, uint64_t iova, size_t len) in pci_dma_unmap()
H A Dpci_params.c43 pci_dev_match(const struct rte_device *dev, in pci_dev_match()
68 struct rte_device *dev; in rte_pci_dev_iterate()
/dpdk/lib/rawdev/
H A Drte_rawdev.h293 struct rte_device *device;
317 struct rte_device *device;
/dpdk/drivers/bus/ifpga/
H A Difpga_bus.c364 ifpga_plug(struct rte_device *dev) in ifpga_plug()
384 ifpga_unplug(struct rte_device *dev) in ifpga_unplug()
409 static struct rte_device *
410 ifpga_find_device(const struct rte_device *start, in ifpga_find_device()
/dpdk/drivers/bus/fslmc/
H A Dfslmc_bus.c494 static struct rte_device *
495 rte_fslmc_find_device(const struct rte_device *start, rte_dev_cmp_t cmp, in rte_fslmc_find_device()
610 fslmc_bus_plug(struct rte_device *dev __rte_unused) in fslmc_bus_plug()
617 fslmc_bus_unplug(struct rte_device *dev __rte_unused) in fslmc_bus_unplug()
/dpdk/examples/vdpa/
H A Dmain.c107 struct rte_device *dev; in new_device()
135 struct rte_device *dev; in destroy_device()
295 struct rte_device *dev; in cmd_list_vdpa_devices_parsed()
529 struct rte_device *dev; in main()

1234