Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb4vf/ !
Dcxgb4vf_main.c2044 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()
[all …]
Dadapter.h308 u16 ethqsets; /* # of active Ethernet queue sets */ member
351 for (iter = 0; iter < (sge)->ethqsets; iter++)
Dsge.c2149 if (i >= s->ethqsets) in sge_tx_timer_cb()
2570 for (qs = 0; qs < adapter->sge.ethqsets; qs++, rxq++, txq++) { in t4vf_free_sge_resources()
/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb4/ !
Dcxgb4_main.c5743 s->ethqsets = qidx; in cfg_queues()
5825 while (n < adap->sge.ethqsets) in reduce_ethqs()
5830 adap->sge.ethqsets--; in reduce_ethqs()
5831 if (adap->sge.ethqsets <= n) in reduce_ethqs()
5907 u32 ethqsets = 0, ofldqsets = 0, eoqsets = 0, mirrorqsets = 0; in enable_msix() local
5989 ethqsets = eth_need; in enable_msix()
6000 ethqsets > s->max_ethqsets) in enable_msix()
6008 ethqsets++; in enable_msix()
6039 ethqsets = s->max_ethqsets; in enable_msix()
6048 if (ethqsets < s->max_ethqsets) { in enable_msix()
[all …]
Dcxgb4.h983 u16 ethqsets; /* # of active Ethernet queue sets */ member
1017 #define for_each_ethrxq(sge, i) for (i = 0; i < (sge)->ethqsets; i++)
Dcudbg_lib.c3423 for (i = 0; i < s->ethqsets; i++) in cudbg_collect_qdesc()
3427 for (i = 0; i < s->ethqsets; i++) in cudbg_collect_qdesc()
3431 for (i = 0; i < s->ethqsets; i++) in cudbg_collect_qdesc()
Dcxgb4_debugfs.c2663 eth_entries = DIV_ROUND_UP(adap->sge.ethqsets, 4); in sge_qinfo_show()
2689 n = min(4, s->ethqsets - 4 * r); in sge_qinfo_show()
3202 return DIV_ROUND_UP(adap->sge.ethqsets, 4) + mirror_rxq_entries + in sge_queue_entries()
Dsge.c4321 if (++i >= s->ethqsets) in sge_tx_timer_cb()
4931 for (i = 0; i < adap->sge.ethqsets; i++) { in t4_free_sge_resources()
4942 for (i = 0; i < adap->sge.ethqsets; i++) { in t4_free_sge_resources()