From: Arlin Davis Date: Thu, 22 May 2014 16:29:00 +0000 (-0700) Subject: add new po-pi rdma write perf profile X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=58c37bdf30fa2956ccb26aee7ce8227446dcedd4;p=~ardavis%2Fdapl.git add new po-pi rdma write perf profile Signed-off-by: Arlin Davis --- diff --git a/dapl/svc/mpxyd.h b/dapl/svc/mpxyd.h index 49a1f18..2c01425 100644 --- a/dapl/svc/mpxyd.h +++ b/dapl/svc/mpxyd.h @@ -152,7 +152,7 @@ enum mcm_prof_type MCM_QP_IB_RW, MCM_QP_IB_RR, MCM_QP_PI_IO, - MCM_QP_PO_IO, + MCM_QP_PO_PI_RW, MCM_QP_ALL }; @@ -573,6 +573,7 @@ void m_po_pending_wr(struct mcm_qp *m_qp, int *data, int *events); int m_po_proxy_data(mcm_scif_dev_t *smd, dat_mix_sr_t *pmsg, struct mcm_qp *m_qp); void m_po_wc_event(struct mcm_qp *m_qp, struct mcm_wc_rx *wc_rx, int wc_idx); void m_req_event(struct mcm_cq *m_cq); +int m_po_buf_hd(mcm_scif_dev_t *smd, int m_idx); /* mpxy_in.c, proxy_in services, rdma write, message rcv side */ void m_pi_destroy_wc_q(struct mcm_qp *m_qp); diff --git a/dapl/svc/util.c b/dapl/svc/util.c index 3ceea21..526f3b2 100644 --- a/dapl/svc/util.c +++ b/dapl/svc/util.c @@ -580,8 +580,8 @@ void mcm_qp_prof_pr(struct mcm_qp *m_qp, int type) (m_qp->ts.pi.stop - m_qp->ts.pi.start)/m_qp->ts.pi.cnt); if ((m_qp->ts.po.min) && - (type == MCM_QP_PO_IO || type == MCM_QP_ALL)) - mlog(0, " QP (%p) PERF IO: Proxy-out: FS to LS times" + (type == MCM_QP_PO_PI_RW || type == MCM_QP_ALL)) + mlog(0, " QP (%p) PERF IO: Proxy-out -> Proxy-in: FS to LS times" " (usecs): max %u min %u avg %u ttime %u cnt %u et %u\n", m_qp, m_qp->ts.po.max, m_qp->ts.po.min, m_qp->ts.po.avg, m_qp->ts.po.all, m_qp->ts.po.cnt, @@ -654,8 +654,8 @@ void mcm_qp_prof_ts(struct mcm_qp *m_qp, int type, uint32_t start, uint32_t que, begin = &m_qp->ts.pi.start; end = &m_qp->ts.pi.stop; break; - case MCM_QP_PO_IO: - type_str = "MCM_QP_PO_IO"; + case MCM_QP_PO_PI_RW: + type_str = "MCM_QP_PO_PI_RW"; min = &m_qp->ts.po.min; max = &m_qp->ts.po.max; avg = &m_qp->ts.po.avg;