[PATCH] libibumad: Support 128 devices

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Extend the maximum of available InfiniBand devices
by changing the macro from 32 to 128.

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

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;
-- 
1.8.3.1




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux