Home
last modified time | relevance | path

Searched refs:aeth (Results 1 - 25 of 26) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/infiniband/sw/rdmavt/
H A 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()
159 * @aeth: the Acknowledge Extended Transport Header
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()
H A Dqp.c2546 static inline unsigned long rvt_aeth_to_usec(u32 aeth) in rvt_aeth_to_usec() argument
2548 return ib_rvt_rnr_table[(aeth >> IB_AETH_CREDIT_SHIFT) & in rvt_aeth_to_usec()
2575 * @aeth: aeth of RNR timeout, simulated aeth for loopback
2577 void rvt_add_rnr_timer(struct rvt_qp *qp, u32 aeth) in rvt_add_rnr_timer() argument
2583 to = rvt_aeth_to_usec(aeth); in rvt_add_rnr_timer()
/kernel/linux/linux-6.6/drivers/infiniband/sw/rdmavt/
H 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()
117 * @aeth: the Acknowledge Extended Transport Header
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()
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
H A 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;
142 "[%s] qpn 0x%x aeth 0x%x psn 0x%x opcode 0x%x spsn 0x%x lpsn 0x%x",
145 __entry->aeth,
155 TP_PROTO(struct rvt_qp *qp, u32 aeth, u32 psn,
157 TP_ARGS(qp, aeth, psn, wqe)
H A Dtrace.c128 #define AETH_PRN "aeth syn:0x%.2x %s msn:0x%.8x"
333 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()
353 parse_syndrome(/* aeth */ 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()
401 parse_syndrome(/* aeth */ in parse_everbs_hdrs()
[all...]
H A 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, ps in do_rc_ack()
2357 u32 aeth; rc_rcv_resp() local
[all...]
H A Drc.h54 int do_rc_ack(struct rvt_qp *qp, u32 aeth, u32 psn, int opcode, u64 val,
H A 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, ps in hfi1_rc_rcv_tid_rdma_write_resp()
4493 u32 aeth, psn, req_psn, ack_psn, flpsn, resync_psn, ack_kpsn; hfi1_rc_rcv_tid_rdma_ack() local
[all...]
H 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;
1585 "[%s] qpn 0x%x aeth 0x%x psn 0x%x req_psn 0x%x resync_psn 0x%x",
1588 __entry->aeth,
1597 TP_PROTO(struct rvt_qp *qp, u32 aeth, u32 psn,
1599 TP_ARGS(qp, aeth, psn, req_psn, resync_psn)
/kernel/linux/linux-6.6/drivers/infiniband/hw/hfi1/
H 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;
101 "[%s] qpn 0x%x aeth 0x%x psn 0x%x opcode 0x%x spsn 0x%x lpsn 0x%x",
104 __entry->aeth,
114 TP_PROTO(struct rvt_qp *qp, u32 aeth, u32 psn,
116 TP_ARGS(qp, aeth, psn, wqe)
H A Dtrace.c86 #define AETH_PRN "aeth syn:0x%.2x %s msn:0x%.8x"
296 trace_seq_printf(p, AETH_PRN, be32_to_cpu(eh->aeth) >> 24, in parse_everbs_hdrs()
297 parse_syndrome(be32_to_cpu(eh->aeth) >> 24), in parse_everbs_hdrs()
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()
316 parse_syndrome(/* aeth */ 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()
363 be32_to_cpu(eh->tid_rdma.r_rsp.aeth) >> 24, in parse_everbs_hdrs()
364 parse_syndrome(/* aeth */ in parse_everbs_hdrs()
[all...]
H A Drc.c168 ohdr->u.aeth = rvt_compute_aeth(qp); in make_rc_ack()
216 ohdr->u.at.aeth = rvt_compute_aeth(qp); in make_rc_ack()
239 ohdr->u.aeth = rvt_compute_aeth(qp); in make_rc_ack()
338 ohdr->u.aeth = in make_rc_ack()
343 ohdr->u.aeth = rvt_compute_aeth(qp); in make_rc_ack()
1185 ohdr->u.aeth = cpu_to_be32((qp->r_msn & IB_MSN_MASK) | in hfi1_make_bth_aeth()
1189 ohdr->u.aeth = rvt_compute_aeth(qp); in hfi1_make_bth_aeth()
1964 int do_rc_ack(struct rvt_qp *qp, u32 aeth, u32 psn, int opcode, in do_rc_ack() argument
1984 if (aeth >> IB_AETH_NAK_SHIFT) in do_rc_ack()
2069 trace_hfi1_rc_ack_do(qp, aeth, ps in do_rc_ack()
2315 u32 aeth; rc_rcv_resp() local
[all...]
H A Drc.h54 int do_rc_ack(struct rvt_qp *qp, u32 aeth, u32 psn, int opcode, u64 val,
H 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()
3918 ohdr->u.tid_rdma.w_rsp.aeth = rvt_compute_aeth(qp); in hfi1_build_tid_rdma_write_resp()
4048 u32 opcode, aeth, psn, flow_psn, i, tidlen = 0, pktlen; in hfi1_rc_rcv_tid_rdma_write_resp() local
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, ps in hfi1_rc_rcv_tid_rdma_write_resp()
4505 u32 aeth, psn, req_psn, ack_psn, flpsn, resync_psn, ack_kpsn; hfi1_rc_rcv_tid_rdma_ack() local
[all...]
H 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;
1585 "[%s] qpn 0x%x aeth 0x%x psn 0x%x req_psn 0x%x resync_psn 0x%x",
1588 __entry->aeth,
1597 TP_PROTO(struct rvt_qp *qp, u32 aeth, u32 psn,
1599 TP_ARGS(qp, aeth, psn, req_psn, resync_psn)
/kernel/linux/linux-5.10/include/rdma/
H A Dtid_rdma_defs.h24 __be32 aeth; member
41 __be32 aeth; member
65 __be32 aeth; member
H A Dib_hdrs.h73 __be32 aeth; member
77 __be32 aeth; member
H 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);
/kernel/linux/linux-6.6/include/rdma/
H A Dtid_rdma_defs.h24 __be32 aeth; member
41 __be32 aeth; member
65 __be32 aeth; member
H A Dib_hdrs.h73 __be32 aeth; member
77 __be32 aeth; member
H 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);
/kernel/linux/linux-5.10/drivers/infiniband/hw/qib/
H A 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_SHIF in do_rc_ack()
1281 u32 aeth; qib_rc_rcv_resp() local
[all...]
/kernel/linux/linux-6.6/drivers/infiniband/hw/qib/
H A 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()
641 ohdr->u.aeth = cpu_to_be32((qp->r_msn & IB_MSN_MASK) | in qib_send_rc_ack()
645 ohdr->u.aeth = rvt_compute_aeth(qp); in qib_send_rc_ack()
1007 static int do_rc_ack(struct rvt_qp *qp, u32 aeth, u32 psn, int opcode, in do_rc_ack() argument
1024 if (aeth >> IB_AETH_NAK_SHIFT) in do_rc_ack()
1104 switch (aeth >> IB_AETH_NAK_SHIF in do_rc_ack()
1283 u32 aeth; qib_rc_rcv_resp() local
[all...]
/kernel/linux/linux-5.10/drivers/infiniband/sw/rxe/
H A 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 in __aeth_set_msn()
[all...]
/kernel/linux/linux-6.6/drivers/infiniband/sw/rxe/
H A Drxe_hdr.h795 struct rxe_aeth *aeth = arg; in __aeth_syn() local
797 return (AETH_SYN_MASK & be32_to_cpu(aeth->smsn)) >> 24; in __aeth_syn()
802 struct rxe_aeth *aeth = arg; in __aeth_set_syn() local
803 u32 smsn = be32_to_cpu(aeth->smsn); in __aeth_set_syn()
805 aeth->smsn = cpu_to_be32((AETH_SYN_MASK & (syn << 24)) | in __aeth_set_syn()
811 struct rxe_aeth *aeth = arg; in __aeth_msn() local
813 return AETH_MSN_MASK & be32_to_cpu(aeth->smsn); in __aeth_msn()
818 struct rxe_aeth *aeth = arg; in __aeth_set_msn() local
819 u32 smsn = be32_to_cpu(aeth->smsn); in __aeth_set_msn()
821 aeth in __aeth_set_msn()
[all...]

Completed in 40 milliseconds

12