[opensm] removed opensm\user\include\ib_types.h, even though it was not used, it...
[mirror/winof/.git] / core / winverbs / wv_ioctl.h
index 088cade..898a392 100644 (file)
@@ -97,6 +97,7 @@ enum {
        WV_IO_FUNCTION_EP_CANCEL,\r
        WV_IO_FUNCTION_EP_LISTEN,\r
        WV_IO_FUNCTION_EP_GET_REQUEST,\r
+       WV_IO_FUNCTION_PD_CANCEL,\r
        WV_IO_FUNCTION_MAX\r
 };\r
 \r
@@ -148,6 +149,10 @@ enum {
 #define WV_IOCTL_PD_DEALLOCATE                 WV_IOCTL(WV_IO_FUNCTION_BASE + \\r
                                                                                                 WV_IO_FUNCTION_PD_DEALLOCATE)\r
 \r
+// UINT64 Id / none\r
+#define WV_IOCTL_PD_CANCEL                             WV_IOCTL(WV_IO_FUNCTION_BASE + \\r
+                                                                                                WV_IO_FUNCTION_PD_CANCEL)\r
+\r
 // WV_IO_MEMORY_REGISTER / WV_IO_MEMORY_KEYS\r
 #define WV_IOCTL_MEMORY_REGISTER               WV_IOCTL(WV_IO_FUNCTION_BASE + \\r
                                                                                                 WV_IO_FUNCTION_MEMORY_REGISTER)\r
@@ -272,7 +277,7 @@ enum {
 #define WV_IOCTL_EP_ACCEPT                             WV_IOCTL(WV_IO_FUNCTION_BASE + \\r
                                                                                                 WV_IO_FUNCTION_EP_ACCEPT)\r
 \r
-// UINT64 Id / none\r
+// WV_IO_EP_DISCONNECT/ verbs specific\r
 #define WV_IOCTL_EP_DISCONNECT                 WV_IOCTL(WV_IO_FUNCTION_BASE + \\r
                                                                                                 WV_IO_FUNCTION_EP_DISCONNECT)\r
 \r
@@ -502,8 +507,8 @@ typedef struct _WV_IO_AH_CREATE
 }      WV_IO_AH_CREATE;\r
 \r
 #define WV_CQ_ERROR                            0\r
-#define        WV_CQ_SOLICITED                 1\r
-#define        WV_CQ_NEXT_COMPLETION   2\r
+#define        WV_CQ_NEXT_COMPLETION   1\r
+#define        WV_CQ_SOLICITED                 2\r
 \r
 typedef struct _WV_IO_SRQ_ATTRIBUTES\r
 {\r
@@ -737,4 +742,11 @@ typedef struct _WV_IO_EP_ATTRIBUTES
 \r
 }      WV_IO_EP_ATTRIBUTES;\r
 \r
+typedef struct _WV_IO_EP_DISCONNECT\r
+{\r
+       UINT64                                  Id;\r
+       UINT64                                  QpId;\r
+\r
+}      WV_IO_EP_DISCONNECT;\r
+\r
 #endif // _WV_IOCTL_H_\r