Searched refs:rxd_cnt (Results 1 – 5 of 5) sorted by relevance
/linux-6.1.9/drivers/net/ethernet/netronome/nfp/ |
D | nfp_net_debugfs.c | 16 int fl_rd_p, fl_wr_p, rxd_cnt; in nfp_rx_q_show() local 31 rxd_cnt = rx_ring->cnt; in nfp_rx_q_show() 41 for (i = 0; i < rxd_cnt; i++) { in nfp_rx_q_show() 60 if (i == rx_ring->rd_p % rxd_cnt) in nfp_rx_q_show() 62 if (i == rx_ring->wr_p % rxd_cnt) in nfp_rx_q_show() 64 if (i == fl_rd_p % rxd_cnt) in nfp_rx_q_show() 66 if (i == fl_wr_p % rxd_cnt) in nfp_rx_q_show()
|
D | nfp_net_ethtool.c | 433 ring->rx_pending = nn->dp.rxd_cnt; in nfp_net_get_ringparam() 437 static int nfp_net_set_ring_size(struct nfp_net *nn, u32 rxd_cnt, u32 txd_cnt) in nfp_net_set_ring_size() argument 445 dp->rxd_cnt = rxd_cnt; in nfp_net_set_ring_size() 456 u32 tx_dpp, qc_min, qc_max, rxd_cnt, txd_cnt; in nfp_net_set_ringparam() local 467 rxd_cnt = roundup_pow_of_two(ring->rx_pending); in nfp_net_set_ringparam() 470 if (rxd_cnt < qc_min || rxd_cnt > qc_max || in nfp_net_set_ringparam() 474 if (nn->dp.rxd_cnt == rxd_cnt && nn->dp.txd_cnt == txd_cnt) in nfp_net_set_ringparam() 478 nn->dp.rxd_cnt, rxd_cnt, nn->dp.txd_cnt, txd_cnt); in nfp_net_set_ringparam() 480 return nfp_net_set_ring_size(nn, rxd_cnt, txd_cnt); in nfp_net_set_ringparam()
|
D | nfp_net_dp.c | 309 rx_ring->cnt = dp->rxd_cnt; in nfp_net_rx_ring_alloc()
|
D | nfp_net.h | 524 unsigned int rxd_cnt; member
|
D | nfp_net_common.c | 2223 nn->dp.rxd_cnt = NFP_NET_RX_DESCS_DEFAULT; in nfp_net_alloc()
|