Home
last modified time | relevance | path

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

/drivers/net/ethernet/netronome/nfp/
Dnfp_net_debugfs.c78 int d_rd_p, d_wr_p, txd_cnt; in nfp_tx_q_show() local
94 txd_cnt = tx_ring->cnt; in nfp_tx_q_show()
105 for (i = 0; i < txd_cnt; i++) { in nfp_tx_q_show()
126 if (i == tx_ring->rd_p % txd_cnt) in nfp_tx_q_show()
128 if (i == tx_ring->wr_p % txd_cnt) in nfp_tx_q_show()
130 if (i == d_rd_p % txd_cnt) in nfp_tx_q_show()
132 if (i == d_wr_p % txd_cnt) in nfp_tx_q_show()
Dnfp_net_ethtool.c390 ring->tx_pending = nn->dp.txd_cnt; in nfp_net_get_ringparam()
393 static int nfp_net_set_ring_size(struct nfp_net *nn, u32 rxd_cnt, u32 txd_cnt) in nfp_net_set_ring_size() argument
402 dp->txd_cnt = txd_cnt; in nfp_net_set_ring_size()
411 u32 rxd_cnt, txd_cnt; in nfp_net_set_ringparam() local
419 txd_cnt = roundup_pow_of_two(ring->tx_pending); in nfp_net_set_ringparam()
422 txd_cnt < NFP_NET_MIN_TX_DESCS || txd_cnt > NFP_NET_MAX_TX_DESCS) in nfp_net_set_ringparam()
425 if (nn->dp.rxd_cnt == rxd_cnt && nn->dp.txd_cnt == txd_cnt) in nfp_net_set_ringparam()
429 nn->dp.rxd_cnt, rxd_cnt, nn->dp.txd_cnt, txd_cnt); in nfp_net_set_ringparam()
431 return nfp_net_set_ring_size(nn, rxd_cnt, txd_cnt); in nfp_net_set_ringparam()
Dnfp_net.h530 unsigned int txd_cnt; member
Dnfp_net_common.c2416 tx_ring->cnt = dp->txd_cnt; in nfp_net_tx_ring_alloc()
3897 nn->dp.txd_cnt = NFP_NET_TX_DESCS_DEFAULT; in nfp_net_alloc()
/drivers/net/wireless/mediatek/mt76/mt7921/
Dmac.h305 u8 txd_cnt; member
/drivers/net/wireless/mediatek/mt76/mt7615/
Dmac.h296 u8 txd_cnt; member
/drivers/net/wireless/mediatek/mt76/mt7915/
Dmac.h293 u8 txd_cnt; member