From patchwork Mon Jun 3 06:22:05 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Line Holen X-Patchwork-Id: 2650861 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 C687540077 for ; Mon, 3 Jun 2013 06:22:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751857Ab3FCGW2 (ORCPT ); Mon, 3 Jun 2013 02:22:28 -0400 Received: from aserp1040.oracle.com ([141.146.126.69]:46021 "EHLO aserp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752138Ab3FCGW2 convert rfc822-to-8bit (ORCPT ); Mon, 3 Jun 2013 02:22:28 -0400 Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238]) by aserp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id r536M739012123 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 3 Jun 2013 06:22:08 GMT Received: from userz7021.oracle.com (userz7021.oracle.com [156.151.31.85]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r536M52h015667 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 3 Jun 2013 06:22:06 GMT Received: from abhmt101.oracle.com (abhmt101.oracle.com [141.146.116.53]) by userz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r536M5QH023293; Mon, 3 Jun 2013 06:22:05 GMT MIME-Version: 1.0 Message-ID: Date: Sun, 2 Jun 2013 23:22:05 -0700 (PDT) From: Line Holen To: Cc: Subject: [PATCH] umad_sm.h Add SM trap definitions X-Mailer: Zimbra on Oracle Beehive Content-Disposition: inline X-Source-IP: acsinet22.oracle.com [141.146.126.238] Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org Signed-off-by: Line Holen --- -- 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 --git a/include/infiniband/umad_sm.h b/include/infiniband/umad_sm.h index 0ef3863..297734f 100644 --- a/include/infiniband/umad_sm.h +++ b/include/infiniband/umad_sm.h @@ -4,6 +4,7 @@ * Copyright (c) 2004 Intel Corporation. All rights reserved. * Copyright (c) 2004 Topspin Corporation. All rights reserved. * Copyright (c) 2004 Voltaire Corporation. All rights reserved. + * Copyright (c) 2013 Oracle and/or its affiliates. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU @@ -77,6 +78,25 @@ enum { }; enum { + UMAD_SM_GID_IN_SERVICE_TRAP = 64, + UMAD_SM_GID_OUT_OF_SERVICE_TRAP = 65, + UMAD_SM_MGID_CREATED_TRAP = 66, + UMAD_SM_MGID_DESTROYED_TRAP = 67, + UMAD_SM_UNPATH_TRAP = 68, + UMAD_SM_REPATH_TRAP = 69, + UMAD_SM_LINK_STATE_CHANGED_TRAP = 128, + UMAD_SM_LINK_INTEGRITY_THRESHOLD_TRAP = 129, + UMAD_SM_BUFFER_OVERRUN_THRESHOLD_TRAP = 130, + UMAD_SM_WATCHDOG_TIMER_EXPIRED_TRAP = 131, + UMAD_SM_LOCAL_CHANGES_TRAP = 144, + UMAD_SM_SYS_IMG_GUID_CHANGED_TRAP = 145, + UMAD_SM_BAD_MKEY_TRAP = 256, + UMAD_SM_BAD_PKEY_TRAP = 257, + UMAD_SM_BAD_QKEY_TRAP = 258, + UMAD_SM_BAD_SWITCH_PKEY_TRAP = 259 +}; + +enum { UMAD_LEN_SMP_DATA = 64, UMAD_SMP_MAX_HOPS = 64 };