Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/net/ethernet/netronome/nfp/
A Dnfp_net_ethtool.c636 u32 qc_max = nn->dev_info->max_qc_size; in nfp_net_get_ringparam() local
638 ring->rx_max_pending = qc_max; in nfp_net_get_ringparam()
639 ring->tx_max_pending = qc_max / nn->dp.ops->tx_min_desc_per_pkt; in nfp_net_get_ringparam()
663 u32 tx_dpp, qc_min, qc_max, rxd_cnt, txd_cnt; in nfp_net_set_ringparam() local
671 qc_max = nn->dev_info->max_qc_size; in nfp_net_set_ringparam()
677 if (rxd_cnt < qc_min || rxd_cnt > qc_max || in nfp_net_set_ringparam()
678 txd_cnt < qc_min / tx_dpp || txd_cnt > qc_max / tx_dpp) in nfp_net_set_ringparam()

Completed in 7 milliseconds