diff options
-rw-r--r-- | include/rdma/ib_mad.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/include/rdma/ib_mad.h b/include/rdma/ib_mad.h index fc6b1c18ffc6..53184a38fdf6 100644 --- a/include/rdma/ib_mad.h +++ b/include/rdma/ib_mad.h | |||
@@ -173,6 +173,27 @@ struct ib_vendor_mad { | |||
173 | u8 data[216]; | 173 | u8 data[216]; |
174 | }; | 174 | }; |
175 | 175 | ||
176 | struct ib_class_port_info | ||
177 | { | ||
178 | u8 base_version; | ||
179 | u8 class_version; | ||
180 | __be16 capability_mask; | ||
181 | u8 reserved[3]; | ||
182 | u8 resp_time_value; | ||
183 | u8 redirect_gid[16]; | ||
184 | __be32 redirect_tcslfl; | ||
185 | __be16 redirect_lid; | ||
186 | __be16 redirect_pkey; | ||
187 | __be32 redirect_qp; | ||
188 | __be32 redirect_qkey; | ||
189 | u8 trap_gid[16]; | ||
190 | __be32 trap_tcslfl; | ||
191 | __be16 trap_lid; | ||
192 | __be16 trap_pkey; | ||
193 | __be32 trap_hlqp; | ||
194 | __be32 trap_qkey; | ||
195 | }; | ||
196 | |||
176 | /** | 197 | /** |
177 | * ib_mad_send_buf - MAD data buffer and work request for sends. | 198 | * ib_mad_send_buf - MAD data buffer and work request for sends. |
178 | * @mad: References an allocated MAD data buffer. The size of the data | 199 | * @mad: References an allocated MAD data buffer. The size of the data |