/linux/drivers/infiniband/hw/hfi1/ |
A D | trace_rc.h | 79 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 D | trace.c | 298 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 D | rc.c | 338 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 D | rc.h | 54 int do_rc_ack(struct rvt_qp *qp, u32 aeth, u32 psn, int opcode, u64 val,
|
A D | tid_rdma.c | 2385 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 D | trace_tid.h | 1565 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 D | rc.c | 54 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 D | qp.c | 2497 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 D | tid_rdma_defs.h | 24 __be32 aeth; member 41 __be32 aeth; member 65 __be32 aeth; member
|
A D | ib_hdrs.h | 73 __be32 aeth; member 77 __be32 aeth; member
|
A D | rdmavt_qp.h | 649 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 D | qib_rc.c | 184 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 D | rxe_hdr.h | 750 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()
|