Home
last modified time | relevance | path

Searched refs:num_devices (Results 1 – 8 of 8) sorted by relevance

/dpdk/drivers/common/mlx5/windows/
H A Dmlx5_glue.c25 mlx5_glue_devx_get_device_list(int *num_devices) in mlx5_glue_devx_get_device_list() argument
33 *num_devices = 0; in mlx5_glue_devx_get_device_list()
36 *num_devices = (int)n_devx_devx; in mlx5_glue_devx_get_device_list()
H A Dmlx5_glue.h80 void *(*get_device_list)(int *num_devices);
/dpdk/drivers/net/mlx4/
H A Dmlx4_glue.c53 mlx4_glue_get_device_list(int *num_devices) in mlx4_glue_get_device_list() argument
55 return ibv_get_device_list(num_devices); in mlx4_glue_get_device_list()
H A Dmlx4_glue.h34 struct ibv_device **(*get_device_list)(int *num_devices);
/dpdk/examples/vhost/
H A Dmain.c87 static uint32_t num_devices; variable
390 get_eth_conf(struct rte_eth_conf *eth_conf, uint32_t num_devices) in get_eth_conf() argument
398 conf.nb_queue_pools = (enum rte_eth_nb_pools)num_devices; in get_eth_conf()
399 conf.nb_pool_maps = num_devices; in get_eth_conf()
449 num_devices = dev_info.max_vmdq_pools; in port_init()
464 retval = get_eth_conf(&port_conf, num_devices); in port_init()
470 num_vmdq_queues = num_devices * queues_per_pool; in port_init()
475 num_pf_queues, num_devices, queues_per_pool); in port_init()
558 RTE_LOG(INFO, VHOST_PORT, "Max virtio devices supported: %u\n", num_devices); in port_init()
1708 uint32_t device_num_min = num_devices; in new_device()
/dpdk/drivers/net/mana/
H A Dmana.c1458 int num_devices; in mana_pci_probe_mac() local
1463 ibv_list = ibv_get_device_list(&num_devices); in mana_pci_probe_mac()
1464 for (ibv_idx = 0; ibv_idx < num_devices; ibv_idx++) { in mana_pci_probe_mac()
/dpdk/drivers/common/mlx5/linux/
H A Dmlx5_glue.h171 struct ibv_device **(*get_device_list)(int *num_devices);
H A Dmlx5_glue.c68 mlx5_glue_get_device_list(int *num_devices) in mlx5_glue_get_device_list() argument
70 return ibv_get_device_list(num_devices); in mlx5_glue_get_device_list()