[DAPL2] DAPL Counters & 2.0.3 extensions to support counter retrieval.
[mirror/winof/.git] / ulp / dapl2 / dapl / common / dapl_evd_dto_callb.c
index b354e2a..d10416c 100644 (file)
@@ -84,9 +84,9 @@ dapl_evd_dto_callback (
                  hca_handle, \r
                  cq_handle, \r
                  user_context);\r
-    DAPL_CNTR(DCNT_EVD_DTO_CALLBACK);\r
 \r
     evd_ptr = (DAPL_EVD *) user_context;\r
+    DAPL_CNTR(evd_ptr, DCNT_EVD_DTO_CALLBACK);\r
 \r
     dapl_os_assert (hca_handle == evd_ptr->header.owner_ia->hca_ptr->ib_hca_handle);\r
     dapl_os_assert (evd_ptr->ib_cq_handle == cq_handle);\r