Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/infiniband/sw/rdmavt/
Dqp.c590 while (qp->s_last != qp->s_head) { in rvt_clear_mr_refs()
591 struct rvt_swqe *wqe = rvt_get_swqe_ptr(qp, qp->s_last); in rvt_clear_mr_refs()
594 if (++qp->s_last >= qp->s_size) in rvt_clear_mr_refs()
595 qp->s_last = 0; in rvt_clear_mr_refs()
641 u32 s_last = qp->s_last; in rvt_qp_sends_has_lkey() local
643 while (s_last != qp->s_head) { in rvt_qp_sends_has_lkey()
644 struct rvt_swqe *wqe = rvt_get_swqe_ptr(qp, s_last); in rvt_qp_sends_has_lkey()
649 if (++s_last >= qp->s_size) in rvt_qp_sends_has_lkey()
650 s_last = 0; in rvt_qp_sends_has_lkey()
855 qp->s_last = 0; in rvt_init_qp()
[all …]
Dtrace_tx.h84 __entry->last = qp->s_last;
/linux-6.6.21/drivers/infiniband/hw/hfi1/
Duc.c41 if (qp->s_last == READ_ONCE(qp->s_head)) in hfi1_make_uc_req()
49 wqe = rvt_get_swqe_ptr(qp, qp->s_last); in hfi1_make_uc_req()
93 if (qp->s_last != qp->s_cur) in hfi1_make_uc_req()
Drc.c441 if (qp->s_last == READ_ONCE(qp->s_head)) in hfi1_make_rc_req()
449 wqe = rvt_get_swqe_ptr(qp, qp->s_last); in hfi1_make_rc_req()
450 hfi1_trdma_send_complete(qp, wqe, qp->s_last != qp->s_acked ? in hfi1_make_rc_req()
511 if (qp->s_last != qp->s_cur) in hfi1_make_rc_req()
1577 } else if (qp->s_last == qp->s_acked) { in hfi1_restart_rc()
1638 u32 n = qp->s_last; in reset_sending_psn()
1788 while (qp->s_last != qp->s_acked) { in hfi1_rc_send_complete()
1789 wqe = rvt_get_swqe_ptr(qp, qp->s_last); in hfi1_rc_send_complete()
1794 trace_hfi1_qp_send_completion(qp, wqe, qp->s_last); in hfi1_rc_send_complete()
1840 trace_hfi1_qp_send_completion(qp, wqe, qp->s_last); in do_rc_completion()
[all …]
Dqp.c587 qp->s_last == qp->s_acked && in qp_idle()
610 wqe = rvt_get_swqe_ptr(qp, qp->s_last); in qp_iter_print()
634 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.c453 if (qp->s_last == READ_ONCE(qp->s_head)) in hfi1_make_ud_req()
460 wqe = rvt_get_swqe_ptr(qp, qp->s_last); in hfi1_make_ud_req()
Dtid_rdma.c2571 if (qp->s_last == qp->s_acked) in hfi1_rc_rcv_tid_rdma_read_resp()
/linux-6.6.21/include/rdma/
Drdmavt_qp.h421 u32 s_last; /* last completed entry */ member
851 last = rvt_qp_swqe_incr(qp, qp->s_last); in rvt_qp_complete_swqe()
853 smp_store_release(&qp->s_last, last); in rvt_qp_complete_swqe()
/linux-6.6.21/drivers/infiniband/hw/qib/
Dqib_rc.c245 if (qp->s_last == READ_ONCE(qp->s_head)) in qib_make_rc_req()
252 wqe = rvt_get_swqe_ptr(qp, qp->s_last); in qib_make_rc_req()
253 rvt_send_complete(qp, wqe, qp->s_last != qp->s_acked ? in qib_make_rc_req()
830 } else if (qp->s_last == qp->s_acked) { in qib_restart_rc()
860 u32 n = qp->s_last; in reset_sending_psn()
918 while (qp->s_last != qp->s_acked) { in qib_rc_send_complete()
919 wqe = rvt_get_swqe_ptr(qp, qp->s_last); in qib_rc_send_complete()
1195 if (qp->s_last == qp->s_acked) { in do_rc_ack()
1467 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.c64 if (qp->s_last == READ_ONCE(qp->s_head)) in qib_make_uc_req()
71 wqe = rvt_get_swqe_ptr(qp, qp->s_last); in qib_make_uc_req()
Dqib_ud.c251 if (qp->s_last == READ_ONCE(qp->s_head)) in qib_make_ud_req()
258 wqe = rvt_get_swqe_ptr(qp, qp->s_last); in qib_make_ud_req()