]> git.openfabrics.org - ~ardavis/dapl.git/commitdiff
add new po-pi rdma write perf profile
authorArlin Davis <arlin.r.davis@intel.com>
Thu, 22 May 2014 16:29:00 +0000 (09:29 -0700)
committerArlin Davis <arlin.r.davis@intel.com>
Thu, 22 May 2014 16:29:00 +0000 (09:29 -0700)
Signed-off-by: Arlin Davis <arlin.r.davis@intel.com>
dapl/svc/mpxyd.h
dapl/svc/util.c

index 49a1f18eaba8a7cf24b91d23e2d25a9145c20ab4..2c01425c664e7c1976de2285e8e598361502c1eb 100644 (file)
@@ -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);
index 3ceea218d9b90b9e4b629535bfb7222fcb63b7ad..526f3b2aa691c7c8970d882f4f188a1a005a4539 100644 (file)
@@ -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;