Home
last modified time | relevance | path

Searched refs:D_IDX (Results 1 – 8 of 8) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/netronome/nfp/nfd3/
Dxsk.c32 wr_idx = D_IDX(tx_ring, tx_ring->wr_p); in nfp_nfd3_xsk_tx_xdp()
135 idx = D_IDX(rx_ring, rx_ring->rd_p); in nfp_nfd3_xsk_rx()
292 todo = D_IDX(tx_ring, qcp_rd_p - tx_ring->qcp_rd_p); in nfp_nfd3_xsk_complete()
297 tx_ring->qcp_rd_p = D_IDX(tx_ring, tx_ring->qcp_rd_p + todo); in nfp_nfd3_xsk_complete()
303 idx = D_IDX(tx_ring, tx_ring->rd_p); in nfp_nfd3_xsk_complete()
352 wr_idx = D_IDX(tx_ring, tx_ring->wr_p + i); in nfp_nfd3_xsk_tx()
360 wr_idx = D_IDX(tx_ring, tx_ring->wr_p + i); in nfp_nfd3_xsk_tx()
Ddp.c307 wr_idx = D_IDX(tx_ring, tx_ring->wr_p); in nfp_nfd3_tx()
355 wr_idx = D_IDX(tx_ring, wr_idx + 1); in nfp_nfd3_tx()
439 todo = D_IDX(tx_ring, qcp_rd_p - tx_ring->qcp_rd_p); in nfp_nfd3_tx_complete()
448 idx = D_IDX(tx_ring, tx_ring->rd_p++); in nfp_nfd3_tx_complete()
521 todo = D_IDX(tx_ring, qcp_rd_p - tx_ring->qcp_rd_p); in nfp_nfd3_xdp_complete()
526 tx_ring->qcp_rd_p = D_IDX(tx_ring, tx_ring->qcp_rd_p + todo); in nfp_nfd3_xdp_complete()
530 idx = D_IDX(tx_ring, tx_ring->rd_p); in nfp_nfd3_xdp_complete()
593 wr_idx = D_IDX(rx_ring, rx_ring->wr_p); in nfp_nfd3_rx_give_one()
863 wr_idx = D_IDX(tx_ring, tx_ring->wr_p); in nfp_nfd3_tx_xdp_buf()
935 idx = D_IDX(rx_ring, rx_ring->rd_p); in nfp_nfd3_rx()
[all …]
Drings.c17 idx = D_IDX(tx_ring, tx_ring->rd_p); in nfp_nfd3_xsk_tx_bufs_free()
52 idx = D_IDX(tx_ring, tx_ring->rd_p); in nfp_nfd3_tx_ring_reset()
/linux-6.12.1/drivers/net/ethernet/netronome/nfp/nfdk/
Ddp.c164 wr_idx = D_IDX(tx_ring, wr_p); in nfp_nfdk_tx_maybe_close_block()
301 wr_idx = D_IDX(tx_ring, tx_ring->wr_p); in nfp_nfdk_tx()
492 todo = D_IDX(tx_ring, qcp_rd_p - tx_ring->qcp_rd_p); in nfp_nfdk_tx_complete()
501 txbuf = &ktxbufs[D_IDX(tx_ring, rd_p)]; in nfp_nfdk_tx_complete()
613 wr_idx = D_IDX(rx_ring, rx_ring->wr_p); in nfp_nfdk_rx_give_one()
849 todo = D_IDX(tx_ring, qcp_rd_p - tx_ring->qcp_rd_p); in nfp_nfdk_xdp_complete()
856 int idx = D_IDX(tx_ring, tx_ring->rd_p + done); in nfp_nfdk_xdp_complete()
888 tx_ring->qcp_rd_p = D_IDX(tx_ring, tx_ring->qcp_rd_p + done); in nfp_nfdk_xdp_complete()
941 wr_idx = D_IDX(tx_ring, tx_ring->wr_p); in nfp_nfdk_tx_xdp_buf()
951 wr_idx = D_IDX(tx_ring, tx_ring->wr_p); in nfp_nfdk_tx_xdp_buf()
[all …]
Drings.c23 rd_idx = D_IDX(tx_ring, tx_ring->rd_p); in nfp_nfdk_tx_ring_reset()
/linux-6.12.1/drivers/net/ethernet/netronome/nfp/
Dnfp_net_xsk.c65 wr_idx = D_IDX(rx_ring, rx_ring->wr_p); in nfp_net_xsk_rx_ring_fill_freelist()
Dnfp_net_dp.c106 wr_idx = D_IDX(rx_ring, rx_ring->wr_p); in nfp_net_rx_ring_reset()
Dnfp_net.h118 #define D_IDX(ring, idx) ((idx) & ((ring)->cnt - 1)) macro