public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
From: Hal Rosenstock <hal-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
To: Ira Weiny <weiny2-i2BcT+NCU+M@public.gmane.org>
Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: [PATCHv2 1/3] libibmad: Add remaining SM GUIDInfo attribute fields
Date: Sat, 26 Mar 2011 13:08:37 +0200	[thread overview]
Message-ID: <4D8DC935.5020400@dev.mellanox.co.il> (raw)


Signed-off-by: Hal Rosenstock <hal-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
---
Change since v1:
Hopefully fix formatting problem after sending

  libibmad/include/infiniband/mad.h |    9 ++++++++-
  libibmad/src/fields.c             |    9 ++++++++-
  2 files changed, 16 insertions(+), 2 deletions(-)

diff --git a/libibmad/include/infiniband/mad.h 
b/libibmad/include/infiniband/mad.h
index 7571a61..02f0dc8 100644
--- a/libibmad/include/infiniband/mad.h
+++ b/libibmad/include/infiniband/mad.h
@@ -1,7 +1,7 @@
  /*
   * Copyright (c) 2004-2009 Voltaire Inc.  All rights reserved.
   * Copyright (c) 2009 HNR Consulting.  All rights reserved.
- * Copyright (c) 2009 Mellanox Technologies LTD.  All rights reserved.
+ * Copyright (c) 2009-2010 Mellanox Technologies LTD.  All rights reserved.
   *
   * This software is available to you under a choice of one of two
   * licenses.  You may choose to be licensed under the terms of the GNU
@@ -580,6 +580,13 @@ enum MAD_FIELDS {
       * GUIDInfo fields
       */
      IB_GUID_GUID0_F,
+    IB_GUID_GUID1_F,
+    IB_GUID_GUID2_F,
+    IB_GUID_GUID3_F,
+    IB_GUID_GUID4_F,
+    IB_GUID_GUID5_F,
+    IB_GUID_GUID6_F,
+    IB_GUID_GUID7_F,

      /*
       * ClassPortInfo fields
diff --git a/libibmad/src/fields.c b/libibmad/src/fields.c
index a5a510a..c9897e7 100644
--- a/libibmad/src/fields.c
+++ b/libibmad/src/fields.c
@@ -1,7 +1,7 @@
  /*
   * Copyright (c) 2004-2009 Voltaire Inc.  All rights reserved.
   * Copyright (c) 2009 HNR Consulting.  All rights reserved.
- * Copyright (c) 2009 Mellanox Technologies LTD.  All rights reserved.
+ * Copyright (c) 2009-2010 Mellanox Technologies LTD.  All rights reserved.
   *
   * This software is available to you under a choice of one of two
   * licenses.  You may choose to be licensed under the terms of the GNU
@@ -380,6 +380,13 @@ static const ib_field_t ib_mad_f[] = {
       * GUIDInfo fields
       */
      {0, 64, "GUID0", mad_dump_hex},
+    {64, 64, "GUID1", mad_dump_hex},
+    {128, 64, "GUID2", mad_dump_hex},
+    {192, 64, "GUID3", mad_dump_hex},
+    {256, 64, "GUID4", mad_dump_hex},
+    {320, 64, "GUID5", mad_dump_hex},
+    {384, 64, "GUID6", mad_dump_hex},
+    {448, 64, "GUID7", mad_dump_hex},

      /*
       * ClassPortInfo fields
-- 
1.5.3

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

                 reply	other threads:[~2011-03-26 11:08 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=4D8DC935.5020400@dev.mellanox.co.il \
    --to=hal-ldsdmyg8hgv8yrgs2mwiifqbs+8scbdb@public.gmane.org \
    --cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=weiny2-i2BcT+NCU+M@public.gmane.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