Searched refs:max_num_queues (Results 1 – 4 of 4) sorted by relevance
86 gc->max_num_queues = num_online_cpus(); in mana_gd_query_max_resources()87 if (gc->max_num_queues > MANA_MAX_NUM_QUEUES) in mana_gd_query_max_resources()88 gc->max_num_queues = MANA_MAX_NUM_QUEUES; in mana_gd_query_max_resources()90 if (gc->max_num_queues > resp.max_eq) in mana_gd_query_max_resources()91 gc->max_num_queues = resp.max_eq; in mana_gd_query_max_resources()93 if (gc->max_num_queues > resp.max_cq) in mana_gd_query_max_resources()94 gc->max_num_queues = resp.max_cq; in mana_gd_query_max_resources()96 if (gc->max_num_queues > resp.max_sq) in mana_gd_query_max_resources()97 gc->max_num_queues = resp.max_sq; in mana_gd_query_max_resources()99 if (gc->max_num_queues > resp.max_rq) in mana_gd_query_max_resources()[all …]
1214 for (i = 0; i < gc->max_num_queues; i++) { in mana_destroy_eq()1234 ac->eqs = kcalloc(gc->max_num_queues, sizeof(struct mana_eq), in mana_create_eq()1246 for (i = 0; i < gc->max_num_queues; i++) { in mana_create_eq()2646 gc->max_num_queues); in mana_probe_port()2655 apc->max_queues = gc->max_num_queues; in mana_probe_port()2656 apc->num_queues = gc->max_num_queues; in mana_probe_port()
355 unsigned int max_num_queues; member
3349 int max_num_queues = 0; in setup_nic_devices() local3496 max_num_queues = CFG_GET_IQ_MAX_Q(CHIP_CONF(octeon_dev, in setup_nic_devices()3499 max_num_queues = CFG_GET_IQ_MAX_Q(CHIP_CONF(octeon_dev, in setup_nic_devices()3506 num_iqueues, num_oqueues, max_num_queues); in setup_nic_devices()3507 netdev = alloc_etherdev_mq(LIO_SIZE, max_num_queues); in setup_nic_devices()