Home
last modified time | relevance | path

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

/linux-5.19.10/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.c159 if (round_down(tx_ring->wr_p, NFDK_TX_DESC_BLOCK_CNT) != in nfp_nfdk_tx_maybe_close_block()
160 round_down(tx_ring->wr_p + n_descs, NFDK_TX_DESC_BLOCK_CNT)) in nfp_nfdk_tx_maybe_close_block()
397 if (unlikely(round_down(wr_idx, NFDK_TX_DESC_BLOCK_CNT) != in nfp_nfdk_tx()
398 round_down(wr_idx + cnt - 1, NFDK_TX_DESC_BLOCK_CNT))) in nfp_nfdk_tx()
404 if (tx_ring->wr_p % NFDK_TX_DESC_BLOCK_CNT) in nfp_nfdk_tx()
902 if ((round_down(tx_ring->wr_p, NFDK_TX_DESC_BLOCK_CNT) != in nfp_nfdk_tx_xdp_buf()
903 round_down(tx_ring->wr_p + n_descs, NFDK_TX_DESC_BLOCK_CNT)) || in nfp_nfdk_tx_xdp_buf()
974 if (tx_ring->wr_p % NFDK_TX_DESC_BLOCK_CNT) in nfp_nfdk_tx_xdp_buf()
1378 if (unlikely(round_down(wr_idx, NFDK_TX_DESC_BLOCK_CNT) != in nfp_nfdk_ctrl_tx_one()
1379 round_down(wr_idx + cnt - 1, NFDK_TX_DESC_BLOCK_CNT))) in nfp_nfdk_ctrl_tx_one()
[all …]