Home
last modified time | relevance | path

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

/drivers/infiniband/sw/rdmavt/
Dqp.c630 while (qp->s_last != qp->s_head) { in rvt_clear_mr_refs()
631 struct rvt_swqe *wqe = rvt_get_swqe_ptr(qp, qp->s_last); in rvt_clear_mr_refs()
634 if (++qp->s_last >= qp->s_size) in rvt_clear_mr_refs()
635 qp->s_last = 0; in rvt_clear_mr_refs()
681 u32 s_last = qp->s_last; in rvt_qp_sends_has_lkey() local
683 while (s_last != qp->s_head) { in rvt_qp_sends_has_lkey()
684 struct rvt_swqe *wqe = rvt_get_swqe_ptr(qp, s_last); in rvt_qp_sends_has_lkey()
689 if (++s_last >= qp->s_size) in rvt_qp_sends_has_lkey()
690 s_last = 0; in rvt_qp_sends_has_lkey()
894 qp->s_last = 0; in rvt_init_qp()
[all …]
Dtrace_tx.h126 __entry->last = qp->s_last;
/drivers/infiniband/hw/hfi1/
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()
Drc.c482 if (qp->s_last == READ_ONCE(qp->s_head)) in hfi1_make_rc_req()
490 wqe = rvt_get_swqe_ptr(qp, qp->s_last); in hfi1_make_rc_req()
491 hfi1_trdma_send_complete(qp, wqe, qp->s_last != qp->s_acked ? in hfi1_make_rc_req()
552 if (qp->s_last != qp->s_cur) in hfi1_make_rc_req()
1619 } else if (qp->s_last == qp->s_acked) { in hfi1_restart_rc()
1680 u32 n = qp->s_last; in reset_sending_psn()
1830 while (qp->s_last != qp->s_acked) { in hfi1_rc_send_complete()
1831 wqe = rvt_get_swqe_ptr(qp, qp->s_last); in hfi1_rc_send_complete()
1836 trace_hfi1_qp_send_completion(qp, wqe, qp->s_last); in hfi1_rc_send_complete()
1882 trace_hfi1_qp_send_completion(qp, wqe, qp->s_last); in do_rc_completion()
[all …]
Dqp.c628 qp->s_last == qp->s_acked && in qp_idle()
651 wqe = rvt_get_swqe_ptr(qp, qp->s_last); in qp_iter_print()
675 qp->s_last, qp->s_acked, qp->s_cur, in qp_iter_print()
Dtrace_tid.h878 __field(u32, s_last)
896 __entry->s_last = qp->s_last;
916 __entry->s_last,
Dud.c494 if (qp->s_last == READ_ONCE(qp->s_head)) in hfi1_make_ud_req()
501 wqe = rvt_get_swqe_ptr(qp, qp->s_last); in hfi1_make_ud_req()
Dtid_rdma.c2564 if (qp->s_last == qp->s_acked) in hfi1_rc_rcv_tid_rdma_read_resp()
/drivers/infiniband/hw/qib/
Dqib_rc.c244 if (qp->s_last == READ_ONCE(qp->s_head)) in qib_make_rc_req()
251 wqe = rvt_get_swqe_ptr(qp, qp->s_last); in qib_make_rc_req()
252 rvt_send_complete(qp, wqe, qp->s_last != qp->s_acked ? in qib_make_rc_req()
829 } else if (qp->s_last == qp->s_acked) { in qib_restart_rc()
859 u32 n = qp->s_last; in reset_sending_psn()
917 while (qp->s_last != qp->s_acked) { in qib_rc_send_complete()
918 wqe = rvt_get_swqe_ptr(qp, qp->s_last); in qib_rc_send_complete()
1194 if (qp->s_last == qp->s_acked) { in do_rc_ack()
1465 if (qp->s_last == qp->s_acked) { in qib_rc_rcv_resp()
Dqib_qp.c430 wqe = rvt_get_swqe_ptr(qp, qp->s_last); in qib_qp_iter_print()
448 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.c250 if (qp->s_last == READ_ONCE(qp->s_head)) in qib_make_ud_req()
257 wqe = rvt_get_swqe_ptr(qp, qp->s_last); in qib_make_ud_req()