Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4vf/
H A 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()
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_main.c5659 u32 i, n10g = 0, qidx = 0; in cfg_queues() local
5695 n10g += is_x_10g_port(&adap2pinfo(adap, i)->link_cfg); in cfg_queues()
5702 if (n10g) in cfg_queues()
5703 q10g = (avail_eth_qsets - (adap->params.nports - n10g)) / n10g; in cfg_queues()
5722 while ((q10g * n10g) > in cfg_queues()
5723 (avail_eth_qsets - (adap->params.nports - n10g) * q1g)) in cfg_queues()
5759 } else if (avail_qsets < num_ulds * avail_uld_qsets || !n10g) { in cfg_queues()