1321936Shselasky/* 2321936Shselasky * Copyright (c) 2010 Intel Corporation. All rights reserved. 3321936Shselasky * Copyright (c) 2014 Mellanox Technologies LTD. All rights reserved. 4321936Shselasky * 5321936Shselasky * This software is available to you under a choice of one of two 6321936Shselasky * licenses. You may choose to be licensed under the terms of the GNU 7321936Shselasky * General Public License (GPL) Version 2, available from the file 8321936Shselasky * COPYING in the main directory of this source tree, or the 9321936Shselasky * OpenIB.org BSD license below: 10321936Shselasky * 11321936Shselasky * Redistribution and use in source and binary forms, with or 12321936Shselasky * without modification, are permitted provided that the following 13321936Shselasky * conditions are met: 14321936Shselasky * 15321936Shselasky * - Redistributions of source code must retain the above 16321936Shselasky * copyright notice, this list of conditions and the following 17321936Shselasky * disclaimer. 18321936Shselasky * 19321936Shselasky * - Redistributions in binary form must reproduce the above 20321936Shselasky * copyright notice, this list of conditions and the following 21321936Shselasky * disclaimer in the documentation and/or other materials 22321936Shselasky * provided with the distribution. 23321936Shselasky * 24321936Shselasky * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 25321936Shselasky * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 26321936Shselasky * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 27321936Shselasky * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS 28321936Shselasky * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 29321936Shselasky * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 30321936Shselasky * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 31321936Shselasky * SOFTWARE. 32321936Shselasky */ 33321936Shselasky 34321936Shselasky#ifndef _UMAD_CM_H 35321936Shselasky#define _UMAD_CM_H 36321936Shselasky 37321936Shselasky#include <infiniband/umad_types.h> 38321936Shselasky 39321936Shselasky#ifdef __cplusplus 40321936Shselasky# define BEGIN_C_DECLS extern "C" { 41321936Shselasky# define END_C_DECLS } 42321936Shselasky#else /* !__cplusplus */ 43321936Shselasky# define BEGIN_C_DECLS 44321936Shselasky# define END_C_DECLS 45321936Shselasky#endif /* __cplusplus */ 46321936Shselasky 47321936ShselaskyBEGIN_C_DECLS 48321936Shselasky 49321936Shselasky/* Communication management attributes */ 50321936Shselaskyenum { 51321936Shselasky UMAD_CM_ATTR_REQ = 0x0010, 52321936Shselasky UMAD_CM_ATTR_MRA = 0x0011, 53321936Shselasky UMAD_CM_ATTR_REJ = 0x0012, 54321936Shselasky UMAD_CM_ATTR_REP = 0x0013, 55321936Shselasky UMAD_CM_ATTR_RTU = 0x0014, 56321936Shselasky UMAD_CM_ATTR_DREQ = 0x0015, 57321936Shselasky UMAD_CM_ATTR_DREP = 0x0016, 58321936Shselasky UMAD_CM_ATTR_SIDR_REQ = 0x0017, 59321936Shselasky UMAD_CM_ATTR_SIDR_REP = 0x0018, 60321936Shselasky UMAD_CM_ATTR_LAP = 0x0019, 61321936Shselasky UMAD_CM_ATTR_APR = 0x001A, 62321936Shselasky UMAD_CM_ATTR_SAP = 0x001B, 63321936Shselasky UMAD_CM_ATTR_SPR = 0x001C, 64321936Shselasky}; 65321936Shselasky 66321936ShselaskyEND_C_DECLS 67321936Shselasky#endif /* _UMAD_CM_H */ 68