Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb4vf/
Dcxgb4vf_main.c2671 int q10g, n10g, qidx, pidx, qs; in cfg_queues() local
2685 n10g = 0; in cfg_queues()
2687 n10g += is_x_10g_port(&adap2pinfo(adapter, pidx)->link_cfg); in cfg_queues()
2693 if (n10g == 0) in cfg_queues()
2696 int n1g = (adapter->params.nports - n10g); in cfg_queues()
2697 q10g = (adapter->sge.max_ethqsets - n1g) / n10g; in cfg_queues()
/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_main.c5660 u32 i, n10g = 0, qidx = 0; in cfg_queues() local
5696 n10g += is_x_10g_port(&adap2pinfo(adap, i)->link_cfg); in cfg_queues()
5703 if (n10g) in cfg_queues()
5704 q10g = (avail_eth_qsets - (adap->params.nports - n10g)) / n10g; in cfg_queues()
5723 while ((q10g * n10g) > in cfg_queues()
5724 (avail_eth_qsets - (adap->params.nports - n10g) * q1g)) in cfg_queues()
5760 } else if (avail_qsets < num_ulds * avail_uld_qsets || !n10g) { in cfg_queues()