[openib-general] [PATCH] vendor: identify rmpp mads

Sean Hefty sean.hefty at intel.com
Thu Mar 16 10:05:05 PST 2006


>> > static inline int is_rmpp_data(struct ib_mad *mad)
>> > {
>> >         /* check if has rmpp header */
>> >         if (mad->mad_hdr.mgmt_class != IB_MGMT_CLASS_SUBN_ADM &&
>> >             mad->mad_hdr.mgmt_class != IB_MCLASS_DEV_MGMT &&
>> >             (mad->mad_hdr.mgmt_class < IB_MGMT_CLASS_VENDOR_RANGE2_START
>> > ||
>> >              mad->mad_hdr.mgmt_class > IB_MGMT_CLASS_VENDOR_RANGE2_END))
>> >                 return 0;
>>
>> Can you explain what is wrong with the existing RMPP checks?
>
>I think it is that DevMgt also supports RMPP.

I can't find is_rmpp_data() in the code.  So, I'm assuming that this routine is
a new check for something.  What are the existing checks missing?

- Sean




More information about the general mailing list