Home
last modified time | relevance | path

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

/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.c148 if (round_down(tx_ring->wr_p, NFDK_TX_DESC_BLOCK_CNT) != in nfp_nfdk_tx_maybe_close_block()
149 round_down(tx_ring->wr_p + n_descs, NFDK_TX_DESC_BLOCK_CNT)) in nfp_nfdk_tx_maybe_close_block()
407 if (unlikely(round_down(wr_idx, NFDK_TX_DESC_BLOCK_CNT) != in nfp_nfdk_tx()
408 round_down(wr_idx + cnt - 1, NFDK_TX_DESC_BLOCK_CNT))) in nfp_nfdk_tx()
414 if (tx_ring->wr_p % NFDK_TX_DESC_BLOCK_CNT) in nfp_nfdk_tx()
932 if ((round_down(tx_ring->wr_p, NFDK_TX_DESC_BLOCK_CNT) != in nfp_nfdk_tx_xdp_buf()
933 round_down(tx_ring->wr_p + n_descs, NFDK_TX_DESC_BLOCK_CNT)) || in nfp_nfdk_tx_xdp_buf()
1004 if (tx_ring->wr_p % NFDK_TX_DESC_BLOCK_CNT) in nfp_nfdk_tx_xdp_buf()
1417 if (unlikely(round_down(wr_idx, NFDK_TX_DESC_BLOCK_CNT) != in nfp_nfdk_ctrl_tx_one()
1418 round_down(wr_idx + cnt - 1, NFDK_TX_DESC_BLOCK_CNT))) in nfp_nfdk_ctrl_tx_one()
[all …]