Lines Matching refs:nqsets
393 for (i = 0; i < pi->nqsets; i++, msi_idx++) { in name_msix_vecs()
406 int nqsets = adap2pinfo(adap, i)->nqsets; in request_msix_data_irqs() local
408 for (j = 0; j < nqsets; ++j) { in request_msix_data_irqs()
434 n += adap2pinfo(adapter, i)->nqsets; in free_irq_resources()
572 unsigned int nq0 = adap2pinfo(adap, 0)->nqsets; in setup_rss()
573 unsigned int nq1 = adap->port[1] ? adap2pinfo(adap, 1)->nqsets : 1; in setup_rss()
668 for (j = 0; j < pi->nqsets; ++j, ++qset_idx) { in setup_sge_qsets()
981 for (j = 0; j < pi->nqsets; ++j) { in bind_qsets()
1172 for (i = p->first_qset; i < p->first_qset + p->nqsets; i++) { in t3_synchronize_rx()
1436 netif_set_real_num_tx_queues(dev, pi->nqsets); in cxgb_open()
1437 err = netif_set_real_num_rx_queues(dev, pi->nqsets); in cxgb_open()
1659 for (i = p->first_qset; i < p->first_qset + p->nqsets; ++i) in collect_sge_port_stats()
1990 for (i = 0; i < pi->nqsets; ++i, ++q) { in set_sge_param()
2012 for (i = 0; i < pi->nqsets; i++) { in set_coalesce()
2155 int nqsets = pi->nqsets; in cxgb_extension_ioctl() local
2193 nqsets += pi->first_qset + pi->nqsets; in cxgb_extension_ioctl()
2199 if (t.qset_idx > q1 + nqsets - 1) in cxgb_extension_ioctl()
2256 int nqsets = pi->nqsets; in cxgb_extension_ioctl() local
2270 nqsets = pi->first_qset + pi->nqsets; in cxgb_extension_ioctl()
2274 if (t.qset_idx >= nqsets) in cxgb_extension_ioctl()
2276 t.qset_idx = array_index_nospec(t.qset_idx, nqsets); in cxgb_extension_ioctl()
2318 other_qsets += adap2pinfo(adapter, i)->nqsets; in cxgb_extension_ioctl()
2323 pi->nqsets = edata.val; in cxgb_extension_ioctl()
2329 first_qset += pi->nqsets; in cxgb_extension_ioctl()
2339 edata.val = pi->nqsets; in cxgb_extension_ioctl()
2620 for (qidx = pi->first_qset; qidx < pi->first_qset + pi->nqsets; qidx++) { in cxgb_netpoll()
3089 int nqsets = adap->msix_nvectors - 1; in set_nqsets() local
3093 (hwports * nqsets > SGE_QSETS || in set_nqsets()
3094 num_cpus >= nqsets / hwports)) in set_nqsets()
3095 nqsets /= hwports; in set_nqsets()
3096 if (nqsets > num_cpus) in set_nqsets()
3097 nqsets = num_cpus; in set_nqsets()
3098 if (nqsets < 1 || hwports == 4) in set_nqsets()
3099 nqsets = 1; in set_nqsets()
3101 nqsets = 1; in set_nqsets()
3107 pi->nqsets = nqsets; in set_nqsets()
3108 j = pi->first_qset + nqsets; in set_nqsets()
3111 "Port %d using %d queue sets.\n", i, nqsets); in set_nqsets()