libibumad: Increase the limit of UMAD_MAX_DEVICES
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
@@ -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]
Sasha Khapyorsky
AppliedQuoted 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"Signed-off-by Arputham Benjamin <abenjamin-sJ/[email protected]>
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