• Home
  • Raw
  • Download

Lines Matching refs:nrxqs

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()
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()
1229 for (rxq = 0; rxq < port->nrxqs; rxq++) in mvpp2_swf_bm_pool_init_shared()
1242 for (rxq = 0; rxq < port->nrxqs; rxq++) in mvpp2_swf_bm_pool_init_shared()
1256 for (i = 0; i < port->nrxqs; i++) { in mvpp2_swf_bm_pool_init_percpu()
1266 for (i = 0; i < port->nrxqs; i++) { in mvpp2_swf_bm_pool_init_percpu()
1267 bm_pool = mvpp2_bm_pool_use_percpu(port, MVPP2_BM_LONG, i + port->nrxqs, in mvpp2_swf_bm_pool_init_percpu()
1964 #define MVPP2_N_ETHTOOL_STATS(ntxqs, nrxqs) (ARRAY_SIZE(mvpp2_ethtool_mib_regs) + \ argument
1967 (ARRAY_SIZE(mvpp2_ethtool_rxq_regs) * (nrxqs)) + \
1999 for (q = 0; q < port->nrxqs; q++) { in mvpp2_ethtool_get_strings()
2080 for (q = 0; q < port->nrxqs; q++) in mvpp2_read_stats()
2150 sizeof(u64) * MVPP2_N_ETHTOOL_STATS(port->ntxqs, port->nrxqs)); in mvpp2_ethtool_get_stats()
2159 return MVPP2_N_ETHTOOL_STATS(port->ntxqs, port->nrxqs); in mvpp2_ethtool_get_sset_count()
2302 for (lrxq = 0; lrxq < port->nrxqs; lrxq++) { in mvpp2_defaults_set()
2320 for (lrxq = 0; lrxq < port->nrxqs; lrxq++) { in mvpp2_ingress_enable()
2333 for (lrxq = 0; lrxq < port->nrxqs; lrxq++) { in mvpp2_ingress_disable()
3006 port->nrxqs]); in mvpp2_rxq_init()
3299 for (queue = 0; queue < port->nrxqs; queue++) in mvpp2_cleanup_rxqs()
3311 for (queue = 0; queue < port->nrxqs; queue++) { in mvpp2_setup_rxqs()
5007 numbufs = port->nrxqs * 2; in mvpp2_bm_switch_buffers()
5408 for (queue = 0; queue < port->nrxqs; queue++) { in mvpp2_ethtool_set_coalesce()
5590 info->data = port->nrxqs; in mvpp2_ethtool_get_rxnfc()
5789 v->nrxqs = port->nrxqs; in mvpp2_simple_queue_vectors_init()
5838 v->nrxqs = 1; in mvpp2_multi_queue_vectors_init()
5842 v->nrxqs = port->nrxqs; in mvpp2_multi_queue_vectors_init()
5896 port->nrxqs); in mvpp2_rx_irqs_setup()
5904 if (!qv->nrxqs) in mvpp2_rx_irqs_setup()
5912 val |= qv->nrxqs << MVPP22_ISR_RXQ_SUB_GROUP_SIZE_OFFSET; in mvpp2_rx_irqs_setup()
5927 if (port->first_rxq + port->nrxqs > in mvpp2_port_init()
5931 if (port->nrxqs > priv->max_port_rxqs || port->ntxqs > MVPP2_MAX_TXQ) in mvpp2_port_init()
5987 port->rxqs = devm_kcalloc(dev, port->nrxqs, sizeof(*port->rxqs), in mvpp2_port_init()
5995 for (queue = 0; queue < port->nrxqs; queue++) { in mvpp2_port_init()
6015 for (queue = 0; queue < port->nrxqs; queue++) { in mvpp2_port_init()
6046 MVPP2_N_ETHTOOL_STATS(port->ntxqs, port->nrxqs) * sizeof(u64)); in mvpp2_port_init()
6670 for (i = 0; i < port->nrxqs; i++) in mvpp2_mac_link_up()
6772 unsigned int ntxqs, nrxqs, thread; in mvpp2_port_probe() local
6787 nrxqs = mvpp2_get_nrxqs(priv); in mvpp2_port_probe()
6789 dev = alloc_etherdev_mqs(sizeof(*port), ntxqs, nrxqs); in mvpp2_port_probe()
6835 port->nrxqs = nrxqs; in mvpp2_port_probe()
6861 port->first_rxq = port->id * port->nrxqs; in mvpp2_port_probe()
6907 MVPP2_N_ETHTOOL_STATS(ntxqs, nrxqs), in mvpp2_port_probe()