Skip to contentSkip to conversation

libibumad/sa: Add SA specific status values

PATCH In review [email protected] 2 participants 2 messages Feb 21, 2013 – Feb 22, 2013 1 message not in the archive InfiniBand

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libibumad/sa: Add SA specific status values

From: Sean Hefty <[email protected]>

---
 include/infiniband/umad_sa.h |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)
include/infiniband/umad_sa.h +11 -0
index f3e161e..a83b9f9 100644
@@ -60,6 +60,17 @@ enum {
 	UMAD_SA_METHOD_GET_TRACE_TABLE	= 0x13
 };
 
+enum {
+	UMAD_SA_STATUS_SUCCESS		= 0,
+	UMAD_SA_STATUS_NO_RESOURCES	= 1,
+	UMAD_SA_STATUS_REQ_INVALID	= 2,
+	UMAD_SA_STATUS_NO_RECORDS	= 3,
+	UMAD_SA_STATUS_TOO_MANY_RECORDS	= 4,
+	UMAD_SA_STATUS_INVALID_GID	= 5,
+	UMAD_SA_STATUS_INSUF_COMPS	= 6,
+	UMAD_SA_STATUS_REQ_DENIED	= 7
+};
+
 /* SA attributes */
 enum {
 	UMAD_SA_ATTR_NODE_REC		= 0x0011,
Signature · 6 lines
1.7.3

--
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): 1361472094-12503-1-git-send-email-sean.hefty-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org