Lines Matching +full:7 +full:- +full:segment
1 /* SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) */
13 #define CIRC_ADD(val, add, size) (((val) + (add)) & ((size) - 1))
15 #define CIRC_PREV(val, size) CIRC_ADD(val, -1, size)
23 * Bit definitions for priv->s_flags.
28 * HFI1_S_TID_WAIT_INTERLCK - QP is waiting for requester interlock
29 * HFI1_R_TID_WAIT_INTERLCK - QP is waiting for responder interlock
38 /* BIT(7) - BIT(15) reserved for RVT_S_WAIT_*. */
116 u32 r_flow_psn; /* IB PSN of next segment start */
118 u32 s_next_psn; /* IB PSN of next segment start for read */
121 u32 cur_seg; /* index of current segment */
122 u32 comp_seg; /* index of last completed segment */
123 u32 ack_seg; /* index of last ack'ed segment */
124 u32 alloc_seg; /* index of next segment to be allocated */
133 * relevant (and not the PSNs maintained by verbs). Track per-flow
134 * PSNs here for a TID RDMA segment.
153 u8 count : 7;
158 * kern_tid_node - used for managing TID's in TID groups
161 * @map: grp->map captured prior to programming this TID group in HW
170 /* Overall info for a TID RDMA segment */
173 * While a TID RDMA segment is being transferred, it uses a QP number
175 * QP number that originated the request). Bits 11-15 of these QP
176 * numbers identify the "TID flow" for the segment.
217 * trdma_clean_swqe - clean flows for swqe if large send queue
223 if (!wqe->priv) in trdma_clean_swqe()
267 if (wqe->priv && in hfi1_setup_tid_rdma_wqe()
268 (wqe->wr.opcode == IB_WR_RDMA_READ || in hfi1_setup_tid_rdma_wqe()
269 wqe->wr.opcode == IB_WR_RDMA_WRITE) && in hfi1_setup_tid_rdma_wqe()
270 wqe->length >= TID_RDMA_MIN_SEGMENT_SIZE) in hfi1_setup_tid_rdma_wqe()