Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/infiniband/hw/qib/
Dqib_rc.c249 if (qp->s_last == READ_ONCE(qp->s_head)) in qib_make_rc_req()
256 wqe = rvt_get_swqe_ptr(qp, qp->s_last); in qib_make_rc_req()
257 qib_send_complete(qp, wqe, qp->s_last != qp->s_acked ? in qib_make_rc_req()
840 } else if (qp->s_last == qp->s_acked) { in qib_restart_rc()
870 u32 n = qp->s_last; in reset_sending_psn()
928 while (qp->s_last != qp->s_acked) { in qib_rc_send_complete()
929 u32 s_last; in qib_rc_send_complete() local
931 wqe = rvt_get_swqe_ptr(qp, qp->s_last); in qib_rc_send_complete()
935 s_last = qp->s_last; in qib_rc_send_complete()
936 if (++s_last >= qp->s_size) in qib_rc_send_complete()
[all …]
Dqib_ruc.c220 if (sqp->s_last == READ_ONCE(sqp->s_head)) in qib_ruc_loopback()
222 wqe = rvt_get_swqe_ptr(sqp, sqp->s_last); in qib_ruc_loopback()
238 if (sqp->s_last == sqp->s_cur) { in qib_ruc_loopback()
628 last = qp->s_last; in qib_send_complete()
632 qp->s_last = last; in qib_send_complete()
Dqib_qp.c433 wqe = rvt_get_swqe_ptr(qp, qp->s_last); in qib_qp_iter_print()
451 qp->s_last, qp->s_acked, qp->s_cur, in qib_qp_iter_print()
Dqib_uc.c63 if (qp->s_last == READ_ONCE(qp->s_head)) in qib_make_uc_req()
70 wqe = rvt_get_swqe_ptr(qp, qp->s_last); in qib_make_uc_req()
Dqib_ud.c255 if (qp->s_last == READ_ONCE(qp->s_head)) in qib_make_ud_req()
262 wqe = rvt_get_swqe_ptr(qp, qp->s_last); in qib_make_ud_req()
/Linux-v4.19/drivers/infiniband/hw/hfi1/
Drc.c303 if (qp->s_last == READ_ONCE(qp->s_head)) in hfi1_make_rc_req()
311 wqe = rvt_get_swqe_ptr(qp, qp->s_last); in hfi1_make_rc_req()
312 hfi1_send_complete(qp, wqe, qp->s_last != qp->s_acked ? in hfi1_make_rc_req()
368 if (qp->s_last != qp->s_cur) in hfi1_make_rc_req()
1045 } else if (qp->s_last == qp->s_acked) { in hfi1_restart_rc()
1077 u32 n = qp->s_last; in reset_sending_psn()
1153 while (qp->s_last != qp->s_acked) { in hfi1_rc_send_complete()
1154 u32 s_last; in hfi1_rc_send_complete() local
1156 wqe = rvt_get_swqe_ptr(qp, qp->s_last); in hfi1_rc_send_complete()
1160 s_last = qp->s_last; in hfi1_rc_send_complete()
[all …]
Druc.c204 if (sqp->s_last == READ_ONCE(sqp->s_head)) in ruc_loopback()
206 wqe = rvt_get_swqe_ptr(sqp, sqp->s_last); in ruc_loopback()
222 if (sqp->s_last == sqp->s_cur) { in ruc_loopback()
932 last = qp->s_last; in hfi1_send_complete()
938 qp->s_last = last; in hfi1_send_complete()
Duc.c82 if (qp->s_last == READ_ONCE(qp->s_head)) in hfi1_make_uc_req()
90 wqe = rvt_get_swqe_ptr(qp, qp->s_last); in hfi1_make_uc_req()
134 if (qp->s_last != qp->s_cur) in hfi1_make_uc_req()
Dqp.c539 qp->s_last == qp->s_acked && in qp_idle()
562 wqe = rvt_get_swqe_ptr(qp, qp->s_last); in qp_iter_print()
586 qp->s_last, qp->s_acked, qp->s_cur, in qp_iter_print()
Dud.c513 if (qp->s_last == READ_ONCE(qp->s_head)) in hfi1_make_ud_req()
520 wqe = rvt_get_swqe_ptr(qp, qp->s_last); in hfi1_make_ud_req()
/Linux-v4.19/drivers/infiniband/sw/rdmavt/
Dqp.c441 while (qp->s_last != qp->s_head) { in rvt_clear_mr_refs()
442 struct rvt_swqe *wqe = rvt_get_swqe_ptr(qp, qp->s_last); in rvt_clear_mr_refs()
451 if (++qp->s_last >= qp->s_size) in rvt_clear_mr_refs()
452 qp->s_last = 0; in rvt_clear_mr_refs()
498 u32 s_last = qp->s_last; in rvt_qp_sends_has_lkey() local
500 while (s_last != qp->s_head) { in rvt_qp_sends_has_lkey()
501 struct rvt_swqe *wqe = rvt_get_swqe_ptr(qp, s_last); in rvt_qp_sends_has_lkey()
506 if (++s_last >= qp->s_size) in rvt_qp_sends_has_lkey()
507 s_last = 0; in rvt_qp_sends_has_lkey()
670 qp->s_last = 0; in rvt_init_qp()
[all …]
Dtrace_tx.h126 __entry->last = qp->s_last;
/Linux-v4.19/include/rdma/
Drdmavt_qp.h361 u32 s_last; /* last completed entry */ member