Home
last modified time | relevance | path

Searched refs:aeth (Results 1 – 13 of 13) sorted by relevance

/Linux-v5.10/drivers/infiniband/sw/rdmavt/
Drc.c96 u32 aeth = qp->r_msn & IB_MSN_MASK; in rvt_compute_aeth() local
103 aeth |= IB_AETH_CREDIT_INVAL << IB_AETH_CREDIT_SHIFT; in rvt_compute_aeth()
150 aeth |= x << IB_AETH_CREDIT_SHIFT; in rvt_compute_aeth()
152 return cpu_to_be32(aeth); in rvt_compute_aeth()
163 void rvt_get_credit(struct rvt_qp *qp, u32 aeth) in rvt_get_credit() argument
166 u32 credit = (aeth >> IB_AETH_CREDIT_SHIFT) & IB_AETH_CREDIT_MASK; in rvt_get_credit()
184 credit = (aeth + credit_table[credit]) & IB_MSN_MASK; in rvt_get_credit()
Dqp.c2548 static inline unsigned long rvt_aeth_to_usec(u32 aeth) in rvt_aeth_to_usec() argument
2550 return ib_rvt_rnr_table[(aeth >> IB_AETH_CREDIT_SHIFT) & in rvt_aeth_to_usec()
2579 void rvt_add_rnr_timer(struct rvt_qp *qp, u32 aeth) in rvt_add_rnr_timer() argument
2585 to = rvt_aeth_to_usec(aeth); in rvt_add_rnr_timer()
/Linux-v5.10/drivers/infiniband/hw/hfi1/
Dtrace_rc.h120 TP_PROTO(struct rvt_qp *qp, u32 aeth, u32 psn,
122 TP_ARGS(qp, aeth, psn, wqe),
126 __field(u32, aeth)
135 __entry->aeth = aeth;
145 __entry->aeth,
155 TP_PROTO(struct rvt_qp *qp, u32 aeth, u32 psn,
157 TP_ARGS(qp, aeth, psn, wqe)
Dtrace.c333 trace_seq_printf(p, AETH_PRN, be32_to_cpu(eh->aeth) >> 24, in parse_everbs_hdrs()
334 parse_syndrome(be32_to_cpu(eh->aeth) >> 24), in parse_everbs_hdrs()
335 be32_to_cpu(eh->aeth) & IB_MSN_MASK); in parse_everbs_hdrs()
352 be32_to_cpu(eh->tid_rdma.w_rsp.aeth) >> 24, in parse_everbs_hdrs()
354 be32_to_cpu(eh->tid_rdma.w_rsp.aeth) in parse_everbs_hdrs()
356 (be32_to_cpu(eh->tid_rdma.w_rsp.aeth) & in parse_everbs_hdrs()
400 be32_to_cpu(eh->tid_rdma.r_rsp.aeth) >> 24, in parse_everbs_hdrs()
402 be32_to_cpu(eh->tid_rdma.r_rsp.aeth) in parse_everbs_hdrs()
404 (be32_to_cpu(eh->tid_rdma.r_rsp.aeth) & in parse_everbs_hdrs()
413 be32_to_cpu(eh->tid_rdma.ack.aeth) >> 24, in parse_everbs_hdrs()
[all …]
Drc.c210 ohdr->u.aeth = rvt_compute_aeth(qp); in make_rc_ack()
258 ohdr->u.at.aeth = rvt_compute_aeth(qp); in make_rc_ack()
281 ohdr->u.aeth = rvt_compute_aeth(qp); in make_rc_ack()
380 ohdr->u.aeth = in make_rc_ack()
385 ohdr->u.aeth = rvt_compute_aeth(qp); in make_rc_ack()
1226 ohdr->u.aeth = cpu_to_be32((qp->r_msn & IB_MSN_MASK) | in hfi1_make_bth_aeth()
1230 ohdr->u.aeth = rvt_compute_aeth(qp); in hfi1_make_bth_aeth()
2006 int do_rc_ack(struct rvt_qp *qp, u32 aeth, u32 psn, int opcode, in do_rc_ack() argument
2026 if (aeth >> IB_AETH_NAK_SHIFT) in do_rc_ack()
2111 trace_hfi1_rc_ack_do(qp, aeth, psn, wqe); in do_rc_ack()
[all …]
Drc.h54 int do_rc_ack(struct rvt_qp *qp, u32 aeth, u32 psn, int opcode, u64 val,
Dtid_rdma.c2378 resp->aeth = rvt_compute_aeth(qp); in hfi1_build_tid_rdma_read_resp()
2450 u32 opcode, aeth; in hfi1_rc_rcv_tid_rdma_read_resp() local
2458 aeth = be32_to_cpu(ohdr->u.tid_rdma.r_rsp.aeth); in hfi1_rc_rcv_tid_rdma_read_resp()
2529 if (!do_rc_ack(qp, aeth, ipsn, opcode, 0, rcd)) in hfi1_rc_rcv_tid_rdma_read_resp()
3906 ohdr->u.tid_rdma.w_rsp.aeth = rvt_compute_aeth(qp); in hfi1_build_tid_rdma_write_resp()
4036 u32 opcode, aeth, psn, flow_psn, i, tidlen = 0, pktlen; in hfi1_rc_rcv_tid_rdma_write_resp() local
4042 aeth = be32_to_cpu(ohdr->u.tid_rdma.w_rsp.aeth); in hfi1_rc_rcv_tid_rdma_write_resp()
4089 if (!do_rc_ack(qp, aeth, psn, opcode, 0, rcd)) in hfi1_rc_rcv_tid_rdma_write_resp()
4434 ohdr->u.tid_rdma.ack.aeth = rvt_compute_aeth(qp); in hfi1_build_tid_rdma_write_ack()
4437 ohdr->u.tid_rdma.ack.aeth = in hfi1_build_tid_rdma_write_ack()
[all …]
Dtrace_tid.h1565 TP_PROTO(struct rvt_qp *qp, u32 aeth, u32 psn,
1567 TP_ARGS(qp, aeth, psn, req_psn, resync_psn),
1571 __field(u32, aeth)
1579 __entry->aeth = aeth;
1588 __entry->aeth,
1597 TP_PROTO(struct rvt_qp *qp, u32 aeth, u32 psn,
1599 TP_ARGS(qp, aeth, psn, req_psn, resync_psn)
/Linux-v5.10/include/rdma/
Dtid_rdma_defs.h24 __be32 aeth; member
41 __be32 aeth; member
65 __be32 aeth; member
Dib_hdrs.h73 __be32 aeth; member
77 __be32 aeth; member
Drdmavt_qp.h649 void rvt_get_credit(struct rvt_qp *qp, u32 aeth);
875 void rvt_add_rnr_timer(struct rvt_qp *qp, u32 aeth);
/Linux-v5.10/drivers/infiniband/hw/qib/
Dqib_rc.c132 ohdr->u.aeth = rvt_compute_aeth(qp); in qib_make_rc_ack()
141 ohdr->u.at.aeth = rvt_compute_aeth(qp); in qib_make_rc_ack()
162 ohdr->u.aeth = rvt_compute_aeth(qp); in qib_make_rc_ack()
184 ohdr->u.aeth = in qib_make_rc_ack()
189 ohdr->u.aeth = rvt_compute_aeth(qp); in qib_make_rc_ack()
640 ohdr->u.aeth = cpu_to_be32((qp->r_msn & IB_MSN_MASK) | in qib_send_rc_ack()
644 ohdr->u.aeth = rvt_compute_aeth(qp); in qib_send_rc_ack()
1006 static int do_rc_ack(struct rvt_qp *qp, u32 aeth, u32 psn, int opcode, in do_rc_ack() argument
1023 if (aeth >> IB_AETH_NAK_SHIFT) in do_rc_ack()
1103 switch (aeth >> IB_AETH_NAK_SHIFT) { in do_rc_ack()
[all …]
/Linux-v5.10/drivers/infiniband/sw/rxe/
Drxe_hdr.h751 struct rxe_aeth *aeth = arg; in __aeth_syn() local
753 return (AETH_SYN_MASK & be32_to_cpu(aeth->smsn)) >> 24; in __aeth_syn()
758 struct rxe_aeth *aeth = arg; in __aeth_set_syn() local
759 u32 smsn = be32_to_cpu(aeth->smsn); in __aeth_set_syn()
761 aeth->smsn = cpu_to_be32((AETH_SYN_MASK & (syn << 24)) | in __aeth_set_syn()
767 struct rxe_aeth *aeth = arg; in __aeth_msn() local
769 return AETH_MSN_MASK & be32_to_cpu(aeth->smsn); in __aeth_msn()
774 struct rxe_aeth *aeth = arg; in __aeth_set_msn() local
775 u32 smsn = be32_to_cpu(aeth->smsn); in __aeth_set_msn()
777 aeth->smsn = cpu_to_be32((AETH_MSN_MASK & msn) | in __aeth_set_msn()