Searched refs:qc_max (Results 1 – 1 of 1) sorted by relevance
624 u32 qc_max = nn->dev_info->max_qc_size; in nfp_net_get_ringparam() local626 ring->rx_max_pending = qc_max; in nfp_net_get_ringparam()627 ring->tx_max_pending = qc_max / nn->dp.ops->tx_min_desc_per_pkt; in nfp_net_get_ringparam()651 u32 tx_dpp, qc_min, qc_max, rxd_cnt, txd_cnt; in nfp_net_set_ringparam() local659 qc_max = nn->dev_info->max_qc_size; in nfp_net_set_ringparam()665 if (rxd_cnt < qc_min || rxd_cnt > qc_max || in nfp_net_set_ringparam()666 txd_cnt < qc_min / tx_dpp || txd_cnt > qc_max / tx_dpp) in nfp_net_set_ringparam()