Home
last modified time | relevance | path

Searched refs:nrxqs (Results 1 – 3 of 3) sorted by relevance

/drivers/net/ethernet/marvell/mvpp2/
Dmvpp2_main.c330 unsigned int nrxqs; in mvpp2_get_nrxqs() local
340 nrxqs = (num_possible_cpus() + 3) & ~0x3; in mvpp2_get_nrxqs()
341 if (nrxqs > MVPP2_PORT_MAX_RXQ) in mvpp2_get_nrxqs()
342 nrxqs = MVPP2_PORT_MAX_RXQ; in mvpp2_get_nrxqs()
344 return nrxqs; in mvpp2_get_nrxqs()
813 for (q = 0; q < port->nrxqs; q++) { in mvpp2_rxq_enable_fc()
874 for (q = 0; q < port->nrxqs; q++) { in mvpp2_rxq_disable_fc()
961 for (i = 0; i < port->nrxqs; i++) in mvpp2_bm_pool_update_priv_fc()
1122 if (pool < port->nrxqs) in mvpp2_bm_pool_use()
1161 if (pool > port->nrxqs * 2) { in mvpp2_bm_pool_use_percpu()
[all …]
Dmvpp2_cls.c1458 int nrxqs, cpu, cpus = num_possible_cpus(); in mvpp22_rxfh_indir() local
1461 nrxqs = port->nrxqs / cpus; in mvpp22_rxfh_indir()
1464 cpu = rxq / nrxqs; in mvpp22_rxfh_indir()
1472 return port->first_rxq + ((rxq * nrxqs + rxq / cpus) % port->nrxqs); in mvpp22_rxfh_indir()
1735 table->indir[i] = ethtool_rxfh_indir_default(i, port->nrxqs); in mvpp22_port_rss_init()
Dmvpp2.h1143 int nrxqs; member
1205 unsigned int nrxqs; member