Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_main.c4830 int niqflint, neq, avail_eth_qsets; in cfg_queues() local
4859 avail_eth_qsets = min(niqflint, neq); in cfg_queues()
4861 if (avail_eth_qsets > max_eth_qsets) in cfg_queues()
4862 avail_eth_qsets = max_eth_qsets; in cfg_queues()
4864 if (avail_eth_qsets < adap->params.nports) { in cfg_queues()
4866 avail_eth_qsets, adap->params.nports); in cfg_queues()
4879 if (adap->params.nports * 8 > avail_eth_qsets) { in cfg_queues()
4881 avail_eth_qsets, adap->params.nports * 8); in cfg_queues()
4898 q10g = (avail_eth_qsets - (adap->params.nports - n10g)) / n10g; in cfg_queues()