]> git.openfabrics.org - ~shefty/rdma-win.git/commitdiff
libibumad: add missing #defines to sync with linux
authorshefty <shefty@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Fri, 23 Jan 2009 21:42:19 +0000 (21:42 +0000)
committershefty <shefty@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Fri, 23 Jan 2009 21:42:19 +0000 (21:42 +0000)
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1868 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

trunk/ulp/libibumad/include/infiniband/umad.h

index 16adf8c45c8f11c993101c198c5cfd02e3eed688..d4b1836c840fcff51de6075524eba0a79b66b1f7 100644 (file)
@@ -55,7 +55,8 @@ typedef unsigned __int64      uint64_t;
 #define EINVAL         22\r
 #define ETIMEDOUT      110\r
 \r
-#define UMAD_ANY_PORT          1       // TODO: support this properly\r
+#define UMAD_MAX_DEVICES       20\r
+#define UMAD_ANY_PORT          0\r
 \r
 // Allow casting to WM_MAD_AV\r
 typedef struct ib_mad_addr\r