public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] libibumad: add SA CAP MASK[2] definitions
@ 2013-06-22 21:47 Ira Weiny
       [not found] ` <20130622144711.11814c38b9b4fd65f9598038-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Ira Weiny @ 2013-06-22 21:47 UTC (permalink / raw)
  To: linux-rdma-u79uwXL29TY76Z2rM5mHXA; +Cc: Hal Rosenstock



Signed-off-by: Ira Weiny <ira.weiny-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
---
 include/infiniband/umad_sa.h |   24 ++++++++++++++++++++++++
 1 files changed, 24 insertions(+), 0 deletions(-)

diff --git a/include/infiniband/umad_sa.h b/include/infiniband/umad_sa.h
index eb7812d..a236806 100644
--- a/include/infiniband/umad_sa.h
+++ b/include/infiniband/umad_sa.h
@@ -102,6 +102,30 @@ enum {
 	UMAD_LEN_SA_DATA		= 200
 };
 
+/* CM bits */
+enum {
+	UMAD_SA_CAP_MASK_IS_SUBNET_OPT_REC_SUP              = (1 << 8),
+	UMAD_SA_CAP_MASK_IS_UD_MCAST_SUP                    = (1 << 9),
+	UMAD_SA_CAP_MASK_IS_MULTIPATH_SUP                   = (1 << 10),
+	UMAD_SA_CAP_MASK_IS_REINIT_SUP                      = (1 << 11),
+	UMAD_SA_CAP_MASK_IS_GID_SCOPED_MULTIPATH_SUP        = (1 << 12),
+	UMAD_SA_CAP_MASK_IS_PORTINFO_CAP_MASK_MATCH_SUP     = (1 << 13),
+	UMAD_SA_CAP_MASK_IS_LINK_SPEED_WIDTH_PAIRS_REC_SUP  = (1 << 14),
+	UMAD_SA_CAP_MASK_IS_PA_SERVICES_SUP                 = (1 << 15)
+};
+/* CM2 bits */
+enum {
+	UMAD_SA_CAP_MASK2_IS_UNPATH_REPATH_SUP              = (1 << 0),
+	UMAD_SA_CAP_MASK2_IS_QOS_SUP                        = (1 << 1),
+	UMAD_SA_CAP_MASK2_IS_REV_PATH_PKEY_MEM_BIT_SUP      = (1 << 2),
+	UMAD_SA_CAP_MASK2_IS_MCAST_TOP_SUP                  = (1 << 3),
+	UMAD_SA_CAP_MASK2_IS_HIERARCHY_INFO_SUP             = (1 << 4),
+	UMAD_SA_CAP_MASK2_IS_ADDITIONAL_GUID_SUP            = (1 << 5),
+	UMAD_SA_CAP_MASK2_IS_FULL_PORTINFO_REC_SUP          = (1 << 6),
+	UMAD_SA_CAP_MASK2_IS_EXT_SPEEDS_SUP                 = (1 << 7),
+	UMAD_SA_CAP_MASK2_IS_MCAST_SERVICE_REC_SUP          = (1 << 8)
+};
+
 /*
  *  sm_key is not aligned on an 8-byte boundary, so is defined as a byte array
  */
-- 
1.7.1

--
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 related	[flat|nested] 2+ messages in thread

* Re: [PATCH] libibumad: add SA CAP MASK[2] definitions
       [not found] ` <20130622144711.11814c38b9b4fd65f9598038-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
@ 2013-06-29 13:53   ` Hal Rosenstock
  0 siblings, 0 replies; 2+ messages in thread
From: Hal Rosenstock @ 2013-06-29 13:53 UTC (permalink / raw)
  To: Ira Weiny; +Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA

On 6/22/2013 5:47 PM, Ira Weiny wrote:
> 
> 
> Signed-off-by: Ira Weiny <ira.weiny-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>

Thanks. Applied.

-- Hal
--
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:[~2013-06-29 13:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-22 21:47 [PATCH] libibumad: add SA CAP MASK[2] definitions Ira Weiny
     [not found] ` <20130622144711.11814c38b9b4fd65f9598038-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2013-06-29 13:53   ` Hal Rosenstock

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox