Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/netronome/nfp/
H A Dnfp_net_ethtool.c628 u32 qc_max = nn->dev_info->max_qc_size; in nfp_net_get_ringparam() local
630 ring->rx_max_pending = qc_max; in nfp_net_get_ringparam()
631 ring->tx_max_pending = qc_max / nn->dp.ops->tx_min_desc_per_pkt; in nfp_net_get_ringparam()
656 u32 tx_dpp, qc_min, qc_max, rxd_cnt, txd_cnt; in nfp_net_set_ringparam() local
664 qc_max = nn->dev_info->max_qc_size; in nfp_net_set_ringparam()
670 if (rxd_cnt < qc_min || rxd_cnt > qc_max) { in nfp_net_set_ringparam()
675 if (txd_cnt < qc_min / tx_dpp || txd_cnt > qc_max / tx_dpp) { in nfp_net_set_ringparam()