[openib-general] Re: [PATCH] [CM] 2/2 Fix CM redirection in SRP
Roland Dreier
rolandd at cisco.com
Fri Sep 9 13:50:17 PDT 2005
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
More information about the general
mailing list