Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/net/ethernet/netronome/nfp/nfdk/
Dnfdk.h15 #define NFDK_TX_DESC_BLOCK_CNT (NFDK_TX_DESC_BLOCK_SZ / \ macro
17 #define NFDK_TX_DESC_STOP_CNT (NFDK_TX_DESC_BLOCK_CNT * \
43 #define D_BLOCK_CPL(idx) (NFDK_TX_DESC_BLOCK_CNT - \
44 (idx) % NFDK_TX_DESC_BLOCK_CNT)
Ddp.c147 if (round_down(tx_ring->wr_p, NFDK_TX_DESC_BLOCK_CNT) != in nfp_nfdk_tx_maybe_close_block()
148 round_down(tx_ring->wr_p + n_descs, NFDK_TX_DESC_BLOCK_CNT)) in nfp_nfdk_tx_maybe_close_block()
382 if (unlikely(round_down(wr_idx, NFDK_TX_DESC_BLOCK_CNT) != in nfp_nfdk_tx()
383 round_down(wr_idx + cnt - 1, NFDK_TX_DESC_BLOCK_CNT))) in nfp_nfdk_tx()
389 if (tx_ring->wr_p % NFDK_TX_DESC_BLOCK_CNT) in nfp_nfdk_tx()
898 if ((round_down(tx_ring->wr_p, NFDK_TX_DESC_BLOCK_CNT) != in nfp_nfdk_tx_xdp_buf()
899 round_down(tx_ring->wr_p + n_descs, NFDK_TX_DESC_BLOCK_CNT)) || in nfp_nfdk_tx_xdp_buf()
970 if (tx_ring->wr_p % NFDK_TX_DESC_BLOCK_CNT) in nfp_nfdk_tx_xdp_buf()
1376 if (unlikely(round_down(wr_idx, NFDK_TX_DESC_BLOCK_CNT) != in nfp_nfdk_ctrl_tx_one()
1377 round_down(wr_idx + cnt - 1, NFDK_TX_DESC_BLOCK_CNT))) in nfp_nfdk_ctrl_tx_one()
[all …]