1 /* 2 * Copyright (c) 2004, 2005 Voltaire, Inc. All rights reserved. 3 * Copyright (c) 2002-2005 Mellanox Technologies LTD. All rights reserved. 4 * Copyright (c) 1996-2003 Intel Corporation. All rights reserved. 5 * 6 * This software is available to you under a choice of one of two 7 * licenses. You may choose to be licensed under the terms of the GNU 8 * General Public License (GPL) Version 2, available from the file 9 * COPYING in the main directory of this source tree, or the 10 * OpenIB.org BSD license below: 11 * 12 * Redistribution and use in source and binary forms, with or 13 * without modification, are permitted provided that the following 14 * conditions are met: 15 * 16 * - Redistributions of source code must retain the above 17 * copyright notice, this list of conditions and the following 18 * disclaimer. 19 * 20 * - Redistributions in binary form must reproduce the above 21 * copyright notice, this list of conditions and the following 22 * disclaimer in the documentation and/or other materials 23 * provided with the distribution. 24 * 25 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 26 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 27 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 28 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS 29 * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 30 * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 31 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 32 * SOFTWARE. 33 * 34 */ 35 36 /* 37 * Abstract: 38 * Declaration of error code ranges for the various OpenSM modules. 39 */ 40 41 #ifndef _OSM_ERRORS_H_ 42 #define _OSM_ERRORS_H_ 43 44 /* 45 Generic Request Controller 46 0100 - 01FF 47 48 Node Info Receive Controller 49 0200 - 02FF 50 51 Generic Requester 52 0300 - 03FF 53 54 Node Info Receiver 55 0400 - 04FF 56 57 Node Description Receiver 58 0500 - 05FF 59 60 Node Description Receive Controller 61 0600 - 06FF 62 63 Port Info Receiver 64 0700 - 07FF 65 66 Port Info Receive Controller 67 0800 - 08FF 68 69 Mad Pool 70 0900 - 09FF 71 72 SM 73 1000 - 10FF 74 75 SM MAD Controller 76 1100 - 11FF 77 78 VL15 Interface 79 1200 - 12FF 80 81 Switch Info Receive Controller 82 1300 - 13FF 83 84 Switch Info Receiver 85 1400 - 14FF 86 87 State Manager 88 1500 - 15FF 89 90 State Manager Controller 91 1600 - 16FF 92 93 LID Manager 94 1700 - 17FF 95 96 Link Manager 97 1800 - 18FF 98 99 Drop Manager 100 1900 - 19FF 101 102 Linear Forwarding Receive Controller 103 2000 - 20FF 104 105 Linear Forwarding Receiver 106 2100 - 21FF 107 108 Vendor Specific 109 2200 - 22FF 110 111 SMInfo Receive Controller 112 2300 - 23FF 113 114 SMInfo Info Receiver 115 2400 - 24FF 116 117 Generic Responder 118 2500 - 25FF 119 120 Linear Forwarding Receive Controller 121 2600 - 26FF 122 123 Linear Forwarding Receiver 124 2700 - 27FF 125 126 SA MAD controller 127 2800 - 28FF 128 129 Node Record Controller 130 2900 - 29FF 131 132 PortInfo Record Controller 133 3000 - 30FF 134 135 Link Record Controller 136 3100 - 31FF 137 138 Path Record Controller 139 3200 - 32FF 140 141 SMInfo Record Controller 142 3300 - 33FF 143 144 Multicast Record Controller 145 3400 - 34FF 146 147 Unicast Manager 148 3500 - 35FF 149 150 Multicast Manager 151 3600 - 36FF 152 153 SA Response 154 3700 - 37FF 155 156 Link Record Receiver 157 3800 - 38FF 158 159 Multicast Forwarding Receive Controller 160 3900 - 39FF 161 162 Multicast Forwarding Receiver 163 4000 - 40FF 164 165 SMInfo Record Receiver 166 4100 - 41FF 167 168 PortInfo Record Receiver 169 4200 - 42FF 170 171 Service Record Receiver 172 4300 - 43FF 173 174 */ 175 176 #endif /* _OSM_ERRORS_H_ */ 177