Home
last modified time | relevance | path

Searched refs:num_devices (Results 1 – 7 of 7) 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.c81 static uint32_t num_devices; variable
354 get_eth_conf(struct rte_eth_conf *eth_conf, uint32_t num_devices) in get_eth_conf() argument
362 conf.nb_queue_pools = (enum rte_eth_nb_pools)num_devices; in get_eth_conf()
363 conf.nb_pool_maps = num_devices; in get_eth_conf()
409 num_devices = dev_info.max_vmdq_pools; in port_init()
424 retval = get_eth_conf(&port_conf, num_devices); in port_init()
430 num_vmdq_queues = num_devices * queues_per_pool; in port_init()
435 num_pf_queues, num_devices, queues_per_pool); in port_init()
518 RTE_LOG(INFO, VHOST_PORT, "Max virtio devices supported: %u\n", num_devices); in port_init()
1568 uint32_t device_num_min = num_devices; in new_device()
/dpdk/drivers/common/mlx5/linux/
H A Dmlx5_glue.h157 struct ibv_device **(*get_device_list)(int *num_devices);
H A Dmlx5_glue.c64 mlx5_glue_get_device_list(int *num_devices) in mlx5_glue_get_device_list() argument
66 return ibv_get_device_list(num_devices); in mlx5_glue_get_device_list()