Home
last modified time | relevance | path

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

/linux/drivers/infiniband/hw/hfi1/
A Dtrace_rc.h79 TP_PROTO(struct rvt_qp *qp, u32 aeth, u32 psn,
81 TP_ARGS(qp, aeth, psn, wqe),
85 __field(u32, aeth)
94 __entry->aeth = aeth;
104 __entry->aeth,
114 TP_PROTO(struct rvt_qp *qp, u32 aeth, u32 psn,
116 TP_ARGS(qp, aeth, psn, wqe)
A Dtrace.c298 be32_to_cpu(eh->aeth) & IB_MSN_MASK); in parse_everbs_hdrs()
315 be32_to_cpu(eh->tid_rdma.w_rsp.aeth) >> 24, in parse_everbs_hdrs()
317 be32_to_cpu(eh->tid_rdma.w_rsp.aeth) in parse_everbs_hdrs()
319 (be32_to_cpu(eh->tid_rdma.w_rsp.aeth) & in parse_everbs_hdrs()
365 be32_to_cpu(eh->tid_rdma.r_rsp.aeth) in parse_everbs_hdrs()
367 (be32_to_cpu(eh->tid_rdma.r_rsp.aeth) & in parse_everbs_hdrs()
376 be32_to_cpu(eh->tid_rdma.ack.aeth) >> 24, in parse_everbs_hdrs()
378 be32_to_cpu(eh->tid_rdma.ack.aeth) in parse_everbs_hdrs()
380 (be32_to_cpu(eh->tid_rdma.ack.aeth) & in parse_everbs_hdrs()
396 be32_to_cpu(eh->at.aeth) >> 24, in parse_everbs_hdrs()
[all …]
A Drc.c338 ohdr->u.aeth = in make_rc_ack()
1984 if (aeth >> IB_AETH_NAK_SHIFT) in do_rc_ack()
2147 rvt_get_credit(qp, aeth); in do_rc_ack()
2195 rvt_add_rnr_timer(qp, aeth); in do_rc_ack()
2315 u32 aeth; in rc_rcv_resp() local
2335 aeth = be32_to_cpu(ohdr->u.aeth); in rc_rcv_resp()
2337 rvt_get_credit(qp, aeth); in rc_rcv_resp()
2361 aeth = be32_to_cpu(ohdr->u.aeth); in rc_rcv_resp()
2418 aeth = be32_to_cpu(ohdr->u.aeth); in rc_rcv_resp()
2453 aeth = be32_to_cpu(ohdr->u.aeth); in rc_rcv_resp()
[all …]
A Drc.h54 int do_rc_ack(struct rvt_qp *qp, u32 aeth, u32 psn, int opcode, u64 val,
A Dtid_rdma.c2385 resp->aeth = rvt_compute_aeth(qp); in hfi1_build_tid_rdma_read_resp()
2457 u32 opcode, aeth; in hfi1_rc_rcv_tid_rdma_read_resp() local
2465 aeth = be32_to_cpu(ohdr->u.tid_rdma.r_rsp.aeth); in hfi1_rc_rcv_tid_rdma_read_resp()
2536 if (!do_rc_ack(qp, aeth, ipsn, opcode, 0, rcd)) in hfi1_rc_rcv_tid_rdma_read_resp()
4054 aeth = be32_to_cpu(ohdr->u.tid_rdma.w_rsp.aeth); in hfi1_rc_rcv_tid_rdma_write_resp()
4101 if (!do_rc_ack(qp, aeth, psn, opcode, 0, rcd)) in hfi1_rc_rcv_tid_rdma_write_resp()
4449 ohdr->u.tid_rdma.ack.aeth = in hfi1_build_tid_rdma_write_ack()
4512 aeth = be32_to_cpu(ohdr->u.tid_rdma.ack.aeth); in hfi1_rc_rcv_tid_rdma_ack()
4529 if (aeth >> 29) { in hfi1_rc_rcv_tid_rdma_ack()
4581 switch (aeth >> 29) { in hfi1_rc_rcv_tid_rdma_ack()
[all …]
A 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/drivers/infiniband/sw/rdmavt/
A Drc.c54 u32 aeth = qp->r_msn & IB_MSN_MASK; in rvt_compute_aeth() local
61 aeth |= IB_AETH_CREDIT_INVAL << IB_AETH_CREDIT_SHIFT; in rvt_compute_aeth()
108 aeth |= x << IB_AETH_CREDIT_SHIFT; in rvt_compute_aeth()
110 return cpu_to_be32(aeth); in rvt_compute_aeth()
121 void rvt_get_credit(struct rvt_qp *qp, u32 aeth) in rvt_get_credit() argument
124 u32 credit = (aeth >> IB_AETH_CREDIT_SHIFT) & IB_AETH_CREDIT_MASK; in rvt_get_credit()
142 credit = (aeth + credit_table[credit]) & IB_MSN_MASK; in rvt_get_credit()
A Dqp.c2497 static inline unsigned long rvt_aeth_to_usec(u32 aeth) in rvt_aeth_to_usec() argument
2499 return ib_rvt_rnr_table[(aeth >> IB_AETH_CREDIT_SHIFT) & in rvt_aeth_to_usec()
2528 void rvt_add_rnr_timer(struct rvt_qp *qp, u32 aeth) in rvt_add_rnr_timer() argument
2534 to = rvt_aeth_to_usec(aeth); in rvt_add_rnr_timer()
/linux/include/rdma/
A Dtid_rdma_defs.h24 __be32 aeth; member
41 __be32 aeth; member
65 __be32 aeth; member
A Dib_hdrs.h73 __be32 aeth; member
77 __be32 aeth; member
A 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/drivers/infiniband/hw/qib/
A Dqib_rc.c184 ohdr->u.aeth = in qib_make_rc_ack()
1024 if (aeth >> IB_AETH_NAK_SHIFT) in do_rc_ack()
1131 rvt_get_credit(qp, aeth); in do_rc_ack()
1159 rvt_add_rnr_timer(qp, aeth); in do_rc_ack()
1283 u32 aeth; in qib_rc_rcv_resp() local
1322 aeth = be32_to_cpu(ohdr->u.aeth); in qib_rc_rcv_resp()
1324 rvt_get_credit(qp, aeth); in qib_rc_rcv_resp()
1348 aeth = be32_to_cpu(ohdr->u.aeth); in qib_rc_rcv_resp()
1406 aeth = be32_to_cpu(ohdr->u.aeth); in qib_rc_rcv_resp()
1447 aeth = be32_to_cpu(ohdr->u.aeth); in qib_rc_rcv_resp()
[all …]
/linux/drivers/infiniband/sw/rxe/
A Drxe_hdr.h750 struct rxe_aeth *aeth = arg; in __aeth_syn() local
752 return (AETH_SYN_MASK & be32_to_cpu(aeth->smsn)) >> 24; in __aeth_syn()
757 struct rxe_aeth *aeth = arg; in __aeth_set_syn() local
758 u32 smsn = be32_to_cpu(aeth->smsn); in __aeth_set_syn()
760 aeth->smsn = cpu_to_be32((AETH_SYN_MASK & (syn << 24)) | in __aeth_set_syn()
766 struct rxe_aeth *aeth = arg; in __aeth_msn() local
768 return AETH_MSN_MASK & be32_to_cpu(aeth->smsn); in __aeth_msn()
773 struct rxe_aeth *aeth = arg; in __aeth_set_msn() local
774 u32 smsn = be32_to_cpu(aeth->smsn); in __aeth_set_msn()
776 aeth->smsn = cpu_to_be32((AETH_MSN_MASK & msn) | in __aeth_set_msn()

Completed in 41 milliseconds