public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
From: sean.hefty-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org
To: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Cc: Sean Hefty <sean.hefty-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Subject: [PATCH] libibumad/sa: Add SA specific status values
Date: Thu, 21 Feb 2013 10:41:34 -0800	[thread overview]
Message-ID: <1361472094-12503-1-git-send-email-sean.hefty@intel.com> (raw)

From: Sean Hefty <sean.hefty-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>

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

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,
-- 
1.7.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:[~2013-02-21 18:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-21 18:41 sean.hefty-ral2JQCrhuEAvxtiuMwx3w [this message]
     [not found] ` <1361472094-12503-1-git-send-email-sean.hefty-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2013-02-22 11:29   ` [PATCH] libibumad/sa: Add SA specific status values Hal Rosenstock

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=1361472094-12503-1-git-send-email-sean.hefty@intel.com \
    --to=sean.hefty-ral2jqcrhueavxtiumwx3w@public.gmane.org \
    --cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@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