From patchwork Thu Feb 21 18:41:34 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Hefty, Sean" X-Patchwork-Id: 2172701 X-Patchwork-Delegate: hal@mellanox.com Return-Path: X-Original-To: patchwork-linux-rdma@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id C05FE3FD4E for ; Thu, 21 Feb 2013 18:41:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755257Ab3BUSlr (ORCPT ); Thu, 21 Feb 2013 13:41:47 -0500 Received: from mga09.intel.com ([134.134.136.24]:16725 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754720Ab3BUSlr (ORCPT ); Thu, 21 Feb 2013 13:41:47 -0500 Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga102.jf.intel.com with ESMTP; 21 Feb 2013 10:40:25 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.84,710,1355126400"; d="scan'208";a="265817485" Received: from cst-linux.jf.intel.com ([10.23.221.68]) by orsmga001.jf.intel.com with ESMTP; 21 Feb 2013 10:41:46 -0800 From: sean.hefty@intel.com To: linux-rdma@vger.kernel.org Cc: Sean Hefty Subject: [PATCH] libibumad/sa: Add SA specific status values Date: Thu, 21 Feb 2013 10:41:34 -0800 Message-Id: <1361472094-12503-1-git-send-email-sean.hefty@intel.com> X-Mailer: git-send-email 1.7.3 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org From: Sean Hefty Signed-off-by: Sean Hefty --- 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,