linux-rdma.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] libibumad: Increase the limit of UMAD_MAX_DEVICES
@ 2010-08-10 23:30 Arputham Benjamin
       [not found] ` <4C61E116.9060204-sJ/iWh9BUns@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Arputham Benjamin @ 2010-08-10 23:30 UTC (permalink / raw)
  To: linux-rdma-u79uwXL29TY76Z2rM5mHXA; +Cc: Sasha Khapyorsky

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/iWh9BUns@public.gmane.org>
---
diff -rup a/libibumad-1.3.5/include/infiniband/umad.h b/libibumad-1.3.5/include/infiniband/umad.h
--- a/libibumad-1.3.5/include/infiniband/umad.h	2010-08-10 14:45:01.611516578 -0700
+++ b/libibumad-1.3.5/include/infiniband/umad.h	2010-08-10 14:45:45.427516376 -0700
@@ -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 majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] libibumad: Increase the limit of UMAD_MAX_DEVICES
       [not found] ` <4C61E116.9060204-sJ/iWh9BUns@public.gmane.org>
@ 2010-09-01 12:43   ` Sasha Khapyorsky
  0 siblings, 0 replies; 2+ messages in thread
From: Sasha Khapyorsky @ 2010-09-01 12:43 UTC (permalink / raw)
  To: Arputham Benjamin; +Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA

On 16:30 Tue 10 Aug     , Arputham Benjamin wrote:
> 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/iWh9BUns@public.gmane.org>

Applied. Thanks.

Sasha
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-09-01 12:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-10 23:30 [PATCH] libibumad: Increase the limit of UMAD_MAX_DEVICES Arputham Benjamin
     [not found] ` <4C61E116.9060204-sJ/iWh9BUns@public.gmane.org>
2010-09-01 12:43   ` Sasha Khapyorsky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).