[DAPL2] DAPL Counters & 2.0.3 extensions to support counter retrieval.
[mirror/winof/.git] / ulp / dapl2 / dapl / udapl / dapl_evd_create.c
index ee30544..33f53cd 100644 (file)
@@ -95,7 +95,6 @@ DAT_RETURN DAT_API dapl_evd_create (
                  cno_handle, \r
                  evd_flags, \r
                  evd_handle);\r
-    DAPL_CNTR(DCNT_EVD_CREATE);\r
 \r
     ia_ptr      = (DAPL_IA *)ia_handle;\r
     cno_ptr     = (DAPL_CNO *)cno_handle;\r
@@ -109,6 +108,8 @@ DAT_RETURN DAT_API dapl_evd_create (
        goto bail;\r
     }\r
 \r
+    DAPL_CNTR(ia_ptr, DCNT_IA_EVD_CREATE);\r
+\r
     if ( evd_min_qlen <= 0 )\r
     {\r
        dat_status = DAT_ERROR (DAT_INVALID_PARAMETER,DAT_INVALID_ARG2);\r