Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/ethernet/netronome/nfp/
Dnfp_net_ethtool.c391 u32 qc_max = nn->dev_info->max_qc_size; in nfp_net_get_ringparam() local
393 ring->rx_max_pending = qc_max; in nfp_net_get_ringparam()
394 ring->tx_max_pending = qc_max / nn->dp.ops->tx_min_desc_per_pkt; in nfp_net_get_ringparam()
418 u32 tx_dpp, qc_min, qc_max, rxd_cnt, txd_cnt; in nfp_net_set_ringparam() local
426 qc_max = nn->dev_info->max_qc_size; in nfp_net_set_ringparam()
432 if (rxd_cnt < qc_min || rxd_cnt > qc_max || in nfp_net_set_ringparam()
433 txd_cnt < qc_min / tx_dpp || txd_cnt > qc_max / tx_dpp) in nfp_net_set_ringparam()