diff mbox

libibumad/sa: Add SA specific status values

Message ID 1361472094-12503-1-git-send-email-sean.hefty@intel.com (mailing list archive)
State Accepted
Delegated to: Hal Rosenstock
Headers show

Commit Message

Hefty, Sean Feb. 21, 2013, 6:41 p.m. UTC
From: Sean Hefty <sean.hefty@intel.com>

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
---
 include/infiniband/umad_sa.h |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

Comments

Hal Rosenstock Feb. 22, 2013, 11:29 a.m. UTC | #1
On 2/21/2013 1:41 PM, sean.hefty@intel.com wrote:
> From: Sean Hefty <sean.hefty@intel.com>
> 
> Signed-off-by: Sean Hefty <sean.hefty@intel.com>

Thanks. Applied.

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

Patch

diff --git a/include/infiniband/umad_sa.h b/include/infiniband/umad_sa.h
index f3e161e..a83b9f9 100644
--- a/include/infiniband/umad_sa.h
+++ b/include/infiniband/umad_sa.h
@@ -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,