Home
last modified time | relevance | path

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

/f-stack/dpdk/examples/vhost/
H A Dmain.c70 static uint32_t num_devices; variable
203 get_eth_conf(struct rte_eth_conf *eth_conf, uint32_t num_devices) in get_eth_conf() argument
211 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()
/f-stack/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);
/f-stack/dpdk/drivers/common/mlx5/linux/
H A Dmlx5_glue.h139 struct ibv_device **(*get_device_list)(int *num_devices);
H A Dmlx5_glue.c38 mlx5_glue_get_device_list(int *num_devices) in mlx5_glue_get_device_list() argument
40 return ibv_get_device_list(num_devices); in mlx5_glue_get_device_list()