Searched refs:qc_max (Results 1 – 1 of 1) sorted by relevance
429 u32 qc_max = nn->dev_info->max_qc_size; in nfp_net_get_ringparam() local431 ring->rx_max_pending = qc_max; in nfp_net_get_ringparam()432 ring->tx_max_pending = qc_max / nn->dp.ops->tx_min_desc_per_pkt; in nfp_net_get_ringparam()456 u32 tx_dpp, qc_min, qc_max, rxd_cnt, txd_cnt; in nfp_net_set_ringparam() local464 qc_max = nn->dev_info->max_qc_size; in nfp_net_set_ringparam()470 if (rxd_cnt < qc_min || rxd_cnt > qc_max || in nfp_net_set_ringparam()471 txd_cnt < qc_min / tx_dpp || txd_cnt > qc_max / tx_dpp) in nfp_net_set_ringparam()