Searched refs:nrxqs (Results 1 – 5 of 5) sorted by relevance
/Linux-v6.6/drivers/net/ethernet/marvell/mvpp2/ |
D | mvpp2_main.c | 330 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() 788 for (q = 0; q < port->nrxqs; q++) { in mvpp2_rxq_enable_fc() 849 for (q = 0; q < port->nrxqs; q++) { in mvpp2_rxq_disable_fc() 936 for (i = 0; i < port->nrxqs; i++) in mvpp2_bm_pool_update_priv_fc() 1097 if (pool < port->nrxqs) in mvpp2_bm_pool_use() 1136 if (pool > port->nrxqs * 2) { in mvpp2_bm_pool_use_percpu() [all …]
|
D | mvpp2_cls.c | 1458 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()
|
D | mvpp2.h | 1143 int nrxqs; member 1205 unsigned int nrxqs; member
|
/Linux-v6.6/drivers/net/ethernet/fungible/funeth/ |
D | funeth_main.c | 454 qset->nrxqs = netdev->real_num_rx_queues; in fun_free_rings() 468 free_rxqs(rxqs, qset->nrxqs, qset->rxq_start, qset->state); in fun_free_rings() 485 err = fun_alloc_queue_irqs(netdev, qset->ntxqs, qset->nrxqs); in fun_alloc_rings() 489 rxqs = kcalloc(qset->ntxqs + qset->nrxqs, sizeof(*rxqs), GFP_KERNEL); in fun_alloc_rings() 502 txqs = (struct funeth_txq **)&rxqs[qset->nrxqs]; in fun_alloc_rings() 508 err = alloc_rxqs(netdev, rxqs, qset->nrxqs, qset->cq_depth, in fun_alloc_rings() 535 for (i = 0; i < qset->nrxqs; i++) { in fun_advance_ring_state() 838 .nrxqs = netdev->real_num_rx_queues, in funeth_open() 1591 newqs->nrxqs = dev->real_num_rx_queues; in fun_replace_queues() 1631 .nrxqs = dev->real_num_rx_queues, in fun_change_num_queues() [all …]
|
D | funeth.h | 69 unsigned int nrxqs; member
|