Lines Matching refs:ethqsets
2044 int eth_entries = DIV_ROUND_UP(adapter->sge.ethqsets, QPL); in sge_qinfo_show()
2064 int n = min(QPL, adapter->sge.ethqsets - QPL * r); in sge_qinfo_show()
2140 return DIV_ROUND_UP(adapter->sge.ethqsets, QPL) + 1 + in sge_queue_entries()
2180 int eth_entries = DIV_ROUND_UP(adapter->sge.ethqsets, QPL); in sge_qstats_show()
2204 int n = min(QPL, adapter->sge.ethqsets - QPL * r); in sge_qstats_show()
2269 return DIV_ROUND_UP(adapter->sge.ethqsets, QPL) + 1 + in sge_qstats_entries()
2450 unsigned int ethqsets, pmask_nports; in size_nports_qsets() local
2493 ethqsets = vfres->niqflint - 1 - (msi == MSI_MSI); in size_nports_qsets()
2494 if (vfres->nethctrl != ethqsets) in size_nports_qsets()
2495 ethqsets = min(vfres->nethctrl, ethqsets); in size_nports_qsets()
2496 if (vfres->neq < ethqsets*2) in size_nports_qsets()
2497 ethqsets = vfres->neq/2; in size_nports_qsets()
2498 if (ethqsets > MAX_ETH_QSETS) in size_nports_qsets()
2499 ethqsets = MAX_ETH_QSETS; in size_nports_qsets()
2500 adapter->sge.max_ethqsets = ethqsets; in size_nports_qsets()
2715 s->ethqsets = qidx; in cfg_queues()
2774 while (n < adapter->sge.ethqsets) in reduce_ethqs()
2779 adapter->sge.ethqsets--; in reduce_ethqs()
2780 if (adapter->sge.ethqsets <= n) in reduce_ethqs()
2831 if (nqsets < s->ethqsets) in enable_msix()