/Linux-v5.4/drivers/infiniband/sw/rdmavt/ |
D | rc.c | 96 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() 152 aeth |= x << IB_AETH_CREDIT_SHIFT; in rvt_compute_aeth() 154 return cpu_to_be32(aeth); in rvt_compute_aeth() 165 void rvt_get_credit(struct rvt_qp *qp, u32 aeth) in rvt_get_credit() argument 168 u32 credit = (aeth >> IB_AETH_CREDIT_SHIFT) & IB_AETH_CREDIT_MASK; in rvt_get_credit() 186 credit = (aeth + credit_table[credit]) & IB_MSN_MASK; in rvt_get_credit()
|
D | qp.c | 2539 static inline unsigned long rvt_aeth_to_usec(u32 aeth) in rvt_aeth_to_usec() argument 2541 return ib_rvt_rnr_table[(aeth >> IB_AETH_CREDIT_SHIFT) & in rvt_aeth_to_usec() 2571 void rvt_add_rnr_timer(struct rvt_qp *qp, u32 aeth) in rvt_add_rnr_timer() argument 2577 to = rvt_aeth_to_usec(aeth); in rvt_add_rnr_timer()
|
/Linux-v5.4/drivers/infiniband/hw/hfi1/ |
D | trace_rc.h | 120 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)
|
D | trace.c | 331 trace_seq_printf(p, AETH_PRN, be32_to_cpu(eh->aeth) >> 24, in parse_everbs_hdrs() 332 parse_syndrome(be32_to_cpu(eh->aeth) >> 24), in parse_everbs_hdrs() 333 be32_to_cpu(eh->aeth) & IB_MSN_MASK); in parse_everbs_hdrs() 350 be32_to_cpu(eh->tid_rdma.w_rsp.aeth) >> 24, in parse_everbs_hdrs() 352 be32_to_cpu(eh->tid_rdma.w_rsp.aeth) in parse_everbs_hdrs() 354 (be32_to_cpu(eh->tid_rdma.w_rsp.aeth) & in parse_everbs_hdrs() 398 be32_to_cpu(eh->tid_rdma.r_rsp.aeth) >> 24, in parse_everbs_hdrs() 400 be32_to_cpu(eh->tid_rdma.r_rsp.aeth) in parse_everbs_hdrs() 402 (be32_to_cpu(eh->tid_rdma.r_rsp.aeth) & in parse_everbs_hdrs() 411 be32_to_cpu(eh->tid_rdma.ack.aeth) >> 24, in parse_everbs_hdrs() [all …]
|
D | rc.c | 210 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() 1227 ohdr->u.aeth = cpu_to_be32((qp->r_msn & IB_MSN_MASK) | in hfi1_make_bth_aeth() 1231 ohdr->u.aeth = rvt_compute_aeth(qp); in hfi1_make_bth_aeth() 2007 int do_rc_ack(struct rvt_qp *qp, u32 aeth, u32 psn, int opcode, in do_rc_ack() argument 2027 if (aeth >> IB_AETH_NAK_SHIFT) in do_rc_ack() 2112 trace_hfi1_rc_ack_do(qp, aeth, psn, wqe); in do_rc_ack() [all …]
|
D | rc.h | 54 int do_rc_ack(struct rvt_qp *qp, u32 aeth, u32 psn, int opcode, u64 val,
|
D | tid_rdma.c | 2378 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() 3905 ohdr->u.tid_rdma.w_rsp.aeth = rvt_compute_aeth(qp); in hfi1_build_tid_rdma_write_resp() 4035 u32 opcode, aeth, psn, flow_psn, i, tidlen = 0, pktlen; in hfi1_rc_rcv_tid_rdma_write_resp() local 4041 aeth = be32_to_cpu(ohdr->u.tid_rdma.w_rsp.aeth); in hfi1_rc_rcv_tid_rdma_write_resp() 4088 if (!do_rc_ack(qp, aeth, psn, opcode, 0, rcd)) in hfi1_rc_rcv_tid_rdma_write_resp() 4433 ohdr->u.tid_rdma.ack.aeth = rvt_compute_aeth(qp); in hfi1_build_tid_rdma_write_ack() 4436 ohdr->u.tid_rdma.ack.aeth = in hfi1_build_tid_rdma_write_ack() [all …]
|
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-v5.4/include/rdma/ |
D | tid_rdma_defs.h | 24 __be32 aeth; member 41 __be32 aeth; member 65 __be32 aeth; member
|
D | ib_hdrs.h | 115 __be32 aeth; member 119 __be32 aeth; member
|
D | rdmavt_qp.h | 658 void rvt_get_credit(struct rvt_qp *qp, u32 aeth); 891 void rvt_add_rnr_timer(struct rvt_qp *qp, u32 aeth);
|
/Linux-v5.4/drivers/infiniband/hw/qib/ |
D | qib_rc.c | 132 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.4/drivers/infiniband/sw/rxe/ |
D | rxe_hdr.h | 778 struct rxe_aeth *aeth = arg; in __aeth_syn() local 780 return (AETH_SYN_MASK & be32_to_cpu(aeth->smsn)) >> 24; in __aeth_syn() 785 struct rxe_aeth *aeth = arg; in __aeth_set_syn() local 786 u32 smsn = be32_to_cpu(aeth->smsn); in __aeth_set_syn() 788 aeth->smsn = cpu_to_be32((AETH_SYN_MASK & (syn << 24)) | in __aeth_set_syn() 794 struct rxe_aeth *aeth = arg; in __aeth_msn() local 796 return AETH_MSN_MASK & be32_to_cpu(aeth->smsn); in __aeth_msn() 801 struct rxe_aeth *aeth = arg; in __aeth_set_msn() local 802 u32 smsn = be32_to_cpu(aeth->smsn); in __aeth_set_msn() 804 aeth->smsn = cpu_to_be32((AETH_MSN_MASK & msn) | in __aeth_set_msn()
|