Sean/Hal, does this make sense as a place to stick the ClassPortInfo
structure (initially for use with CM redirection)?

If so I'll go ahead and commit it and put it in my git tree as well.

 - R.

Index: include/rdma/ib_mad.h
===================================================================
--- include/rdma/ib_mad.h       (revision 3345)
+++ include/rdma/ib_mad.h       (working copy)
@@ -180,6 +180,26 @@ struct ib_vendor_mad {
        u8                      data[IB_MGMT_VENDOR_DATA];
 };
 
+struct ib_class_port_info
+{
+       u8                      base_version;
+       u8                      class_version;
+       __be16                  capability_mask;
+       __be32                  resp_time_value;
+       u8                      redirect_gid[16];
+       __be32                  redirect_tcslfl;
+       __be16                  redirect_lid;
+       __be16                  redirect_p_key;
+       __be32                  redirect_qp;
+       __be32                  redirect_q_key;
+       u8                      trap_gid[16];
+       __be32                  trap_tcslfl;
+       __be16                  trap_lid;
+       __be16                  trap_p_key;
+       __be32                  trap_hlqp;
+       __be32                  trap_q_key;
+};
+
 /**
  * ib_mad_send_buf - MAD data buffer and work request for sends.
  * @mad: References an allocated MAD data buffer.  The size of the data
_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to