| /dpdk/lib/eal/include/ |
| H A D | rte_bus.h | 91 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 D | rte_dev.h | 85 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 D | mlx5_common_private.h | 19 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 D | mlx5_common.c | 436 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 D | test_vdev.c | 23 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 D | eal_common_dev.c | 67 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 D | eal_common_bus.c | 139 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 D | eal_private.h | 502 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 D | auxiliary_common.c | 295 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 D | auxiliary_params.c | 25 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 D | qat_device.h | 58 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 D | vdev_private.h | 14 struct rte_device * 15 rte_vdev_find_device(const struct rte_device *start,
|
| H A D | vdev_params.c | 26 vdev_dev_match(const struct rte_device *dev, in vdev_dev_match() 51 struct rte_device *dev; in rte_vdev_dev_iterate()
|
| H A D | vdev.c | 139 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 D | idxd_bus.c | 32 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 D | vdpa.c | 61 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 D | vdpa_driver.h | 85 struct rte_device *device; 102 rte_vdpa_register_device(struct rte_device *rte_dev,
|
| /dpdk/drivers/dma/idxd/ |
| H A D | idxd_bus.c | 34 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 D | mlx5_common_verbs.c | 41 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 D | pci_common.c | 479 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 D | pci_params.c | 43 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 D | rte_rawdev.h | 293 struct rte_device *device; 317 struct rte_device *device;
|
| /dpdk/drivers/bus/ifpga/ |
| H A D | ifpga_bus.c | 364 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 D | fslmc_bus.c | 494 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 D | main.c | 107 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()
|