Home
last modified time | relevance | path

Searched refs:CIRC_NEXT (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/drivers/infiniband/hw/hfi1/
Dipoib_tx.c22 #define CIRC_NEXT(val, size) CIRC_ADD(val, 1, size) macro
172 head = CIRC_NEXT(head, max_tx); in hfi1_ipoib_poll_tx_ring()
481 smp_store_release(&tx_ring->tail, CIRC_NEXT(tx_ring->tail, tx_ring->max_items)); in hfi1_ipoib_send_dma_single()
544 smp_store_release(&tx_ring->tail, CIRC_NEXT(tx_ring->tail, tx_ring->max_items)); in hfi1_ipoib_send_dma_list()
Dtid_rdma.h14 #define CIRC_NEXT(val, size) CIRC_ADD(val, 1, size) macro
Dtid_rdma.c1690 tail = CIRC_NEXT(tail, MAX_FLOWS)) { in find_flow_ib()
3137 fidx = CIRC_NEXT(fidx, MAX_FLOWS); in hfi1_tid_rdma_restart_req()
3141 fidx = CIRC_NEXT(fidx, MAX_FLOWS)) { in hfi1_tid_rdma_restart_req()
3874 req->flow_idx = CIRC_NEXT(req->flow_idx, MAX_FLOWS); in hfi1_build_tid_rdma_write_resp()
3881 req->flow_idx = CIRC_NEXT(req->flow_idx, MAX_FLOWS); in hfi1_build_tid_rdma_write_resp()
4168 req->setup_head = CIRC_NEXT(req->setup_head, MAX_FLOWS); in hfi1_rc_rcv_tid_rdma_write_resp()
4558 req->acked_tail = CIRC_NEXT(req->acked_tail, MAX_FLOWS); in hfi1_rc_rcv_tid_rdma_ack()
4671 fidx = CIRC_NEXT(fidx, MAX_FLOWS)) { in hfi1_rc_rcv_tid_rdma_ack()
4943 flow_idx = CIRC_NEXT(flow_idx, MAX_FLOWS)) { in hfi1_rc_rcv_tid_rdma_resync()
5115 req->clear_tail = CIRC_NEXT(req->clear_tail, in hfi1_make_tid_rdma_pkt()