Skip to contentSkip to conversation

libibumad: Increase the limit of UMAD_MAX_DEVICES

PATCH Applied Arputham Benjamin 2 participants 2 messages Aug 10, 2010 – Sep 1, 2010 1 message not in the archive InfiniBand

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libibumad: Increase the limit of UMAD_MAX_DEVICES

ibstat command doesn't show all HCAs when the number of HCAs in one system exceeds 20. We need to change this limit. Increase it to 32 to be consistent with the define "IB_UVERBS_MAX_DEVICES = 32"

---

libibumad-1.3.5/include/infiniband/umad.h +1 -1
diff -rup a/libibumad-1.3.5/include/infiniband/umad.h b/libibumad-1.3.5/include/infiniband/umad.h
@@ -44,7 +44,7 @@
 #endif				/* __cplusplus */
 
 BEGIN_C_DECLS
-#define UMAD_MAX_DEVICES 20
+#define UMAD_MAX_DEVICES 32
 #define UMAD_ANY_PORT	0
 typedef struct ib_mad_addr {
 	uint32_t qpn;

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): 4C61E116.9060204-sJ/[email protected]

#2 lore raw
Quoted 5 lines · Arputham Benjamin

ibstat command doesn't show all HCAs when the number of HCAs in one system exceeds 20. We need to change this limit. Increase it to 32 to be consistent with the define "IB_UVERBS_MAX_DEVICES = 32"

Applied. Thanks.

Sasha
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html