linux-rdma.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Haim Boozaglo <haimbo@mellanox.com>
To: linux-rdma@vger.kernel.org
Cc: Haim Boozaglo <haimbo@mellanox.com>
Subject: [PATCH] libibumad: Support 128 devices
Date: Mon, 12 Aug 2019 16:59:48 +0000	[thread overview]
Message-ID: <1565629188-24799-2-git-send-email-haimbo@mellanox.com> (raw)
In-Reply-To: <1565629188-24799-1-git-send-email-haimbo@mellanox.com>

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(-)

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


      reply	other threads:[~2019-08-12 16:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-12 16:59 [PATCH rdma-core 0/1] Support 128 IB devices Haim Boozaglo
2019-08-12 16:59 ` Haim Boozaglo [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1565629188-24799-2-git-send-email-haimbo@mellanox.com \
    --to=haimbo@mellanox.com \
    --cc=linux-rdma@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).