Home
last modified time | relevance | path

Searched refs:ethqsets (Results 1 – 7 of 7) sorted by relevance

/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb4vf/
Dcxgb4vf_main.c2009 int eth_entries = DIV_ROUND_UP(adapter->sge.ethqsets, QPL); in sge_qinfo_show()
2029 int n = min(QPL, adapter->sge.ethqsets - QPL * r); in sge_qinfo_show()
2105 return DIV_ROUND_UP(adapter->sge.ethqsets, QPL) + 1 + in sge_queue_entries()
2162 int eth_entries = DIV_ROUND_UP(adapter->sge.ethqsets, QPL); in sge_qstats_show()
2186 int n = min(QPL, adapter->sge.ethqsets - QPL * r); in sge_qstats_show()
2251 return DIV_ROUND_UP(adapter->sge.ethqsets, QPL) + 1 + in sge_qstats_entries()
2479 unsigned int ethqsets, pmask_nports; in size_nports_qsets() local
2522 ethqsets = vfres->niqflint - 1 - (msi == MSI_MSI); in size_nports_qsets()
2523 if (vfres->nethctrl != ethqsets) in size_nports_qsets()
2524 ethqsets = min(vfres->nethctrl, ethqsets); in size_nports_qsets()
[all …]
Dadapter.h307 u16 ethqsets; /* # of active Ethernet queue sets */ member
350 for (iter = 0; iter < (sge)->ethqsets; iter++)
Dsge.c2151 if (i >= s->ethqsets) in sge_tx_timer_cb()
2567 for (qs = 0; qs < adapter->sge.ethqsets; qs++, rxq++, txq++) { in t4vf_free_sge_resources()
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4.h796 u16 ethqsets; /* # of active Ethernet queue sets */ member
822 #define for_each_ethrxq(sge, i) for (i = 0; i < (sge)->ethqsets; i++)
Dcxgb4_main.c4914 s->ethqsets = qidx; in cfg_queues()
4962 while (n < adap->sge.ethqsets) in reduce_ethqs()
4967 adap->sge.ethqsets--; in reduce_ethqs()
4968 if (adap->sge.ethqsets <= n) in reduce_ethqs()
5081 if (i < s->ethqsets) in enable_msix()
Dsge.c3337 if (++i >= s->ethqsets) in sge_tx_timer_cb()
3837 for (i = 0; i < adap->sge.ethqsets; i++) { in t4_free_sge_resources()
3848 for (i = 0; i < adap->sge.ethqsets; i++) { in t4_free_sge_resources()
Dcxgb4_debugfs.c2711 eth_entries = DIV_ROUND_UP(adap->sge.ethqsets, 4); in sge_qinfo_show()
2749 n = min(4, s->ethqsets - 4 * r); in sge_qinfo_show()
3048 return DIV_ROUND_UP(adap->sge.ethqsets, 4) + in sge_queue_entries()