libibumad: Support 128 devices
diff mbox series

Message ID 1565629188-24799-2-git-send-email-haimbo@mellanox.com
State Not Applicable
Headers show
Series
  • libibumad: Support 128 devices
Related show

Commit Message

Haim Boozaglo Aug. 12, 2019, 4:59 p.m. UTC
Extend the maximum of available InfiniBand devices
by changing the macro from 32 to 128.

Signed-off-by: Haim Boozaglo <haimbo@mellanox.com>
---
 libibumad/umad.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch
diff mbox series

diff --git a/libibumad/umad.h b/libibumad/umad.h
index 3cc551f..8e0c8c3 100644
--- a/libibumad/umad.h
+++ b/libibumad/umad.h
@@ -62,7 +62,7 @@  union umad_gid {
 	} global;
 } __attribute__((aligned(4))) __attribute__((packed));
 
-#define UMAD_MAX_DEVICES 32
+#define UMAD_MAX_DEVICES 128
 #define UMAD_ANY_PORT	0
 typedef struct ib_mad_addr {
 	__be32 qpn;