Searched refs:num_devices (Results 1 – 5 of 5) sorted by relevance
70 static uint32_t num_devices; variable203 get_eth_conf(struct rte_eth_conf *eth_conf, uint32_t num_devices) in get_eth_conf() argument211 conf.nb_queue_pools = (enum rte_eth_nb_pools)num_devices; in get_eth_conf()212 conf.nb_pool_maps = num_devices; in get_eth_conf()258 num_devices = dev_info.max_vmdq_pools; in port_init()266 retval = get_eth_conf(&port_conf, num_devices); in port_init()272 num_vmdq_queues = num_devices * queues_per_pool; in port_init()277 num_pf_queues, num_devices, queues_per_pool); in port_init()360 RTE_LOG(INFO, VHOST_PORT, "Max virtio devices supported: %u\n", num_devices); in port_init()1301 uint32_t device_num_min = num_devices; in new_device()
53 mlx4_glue_get_device_list(int *num_devices) in mlx4_glue_get_device_list() argument55 return ibv_get_device_list(num_devices); in mlx4_glue_get_device_list()
34 struct ibv_device **(*get_device_list)(int *num_devices);
139 struct ibv_device **(*get_device_list)(int *num_devices);
38 mlx5_glue_get_device_list(int *num_devices) in mlx5_glue_get_device_list() argument40 return ibv_get_device_list(num_devices); in mlx5_glue_get_device_list()