--- /dev/null
+/*\r
+ * Copyright (c) 1996-2008 Intel Corporation. All rights reserved.\r
+ *\r
+ * This software is available to you under the OpenIB.org BSD license\r
+ * below:\r
+ *\r
+ * Redistribution and use in source and binary forms, with or\r
+ * without modification, are permitted provided that the following\r
+ * conditions are met:\r
+ *\r
+ * - Redistributions of source code must retain the above\r
+ * copyright notice, this list of conditions and the following\r
+ * disclaimer.\r
+ *\r
+ * - Redistributions in binary form must reproduce the above\r
+ * copyright notice, this list of conditions and the following\r
+ * disclaimer in the documentation and/or other materials\r
+ * provided with the distribution.\r
+ *\r
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,\r
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\r
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AWV\r
+ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS\r
+ * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN\r
+ * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\r
+ * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\r
+ * SOFTWARE.\r
+ */\r
+\r
+#pragma once\r
+\r
+#ifndef _VERBS_H_\r
+#define _VERBS_H_\r
+\r
+#include <initguid.h>\r
+#include <iba/ib_ci.h>\r
+\r
+static inline USHORT VerbsVersion(UINT8 Major, UINT8 Minor)\r
+{\r
+ return ((USHORT) Major << 8) | ((USHORT) Minor);\r
+}\r
+\r
+static inline UINT8 VerbsVersionMajor(USHORT Version)\r
+{\r
+ return (UINT8) (Version >> 8);\r
+}\r
+\r
+static inline UINT8 VerbsVersionMinor(USHORT Version)\r
+{\r
+ return (UINT8) Version;\r
+}\r
+\r
+DEFINE_GUID(GUID_RDMA_INTERFACE_VERBS, 0xf0ebae86, 0xedb5, 0x4b40,\r
+ 0xa1, 0xa, 0x44, 0xd5, 0xdb, 0x3b, 0x96, 0x4e);\r
+\r
+typedef struct _RDMA_INTERFACE_VERBS\r
+{\r
+ INTERFACE InterfaceHeader;\r
+ ci_interface_t Verbs;\r
+\r
+} RDMA_INTERFACE_VERBS;\r
+\r
+#endif // _VERBS_H_\r