[openib-general] [PATCH] vendor: identify rmpp mads
Hal Rosenstock
halr at voltaire.com
Thu Mar 16 09:51:13 PST 2006
On Thu, 2006-03-16 at 12:47, Sean Hefty wrote:
> Ofer Gigi wrote:
> > Same thing should be applied in the function below in
> > /drivers/infiniband/core/mad.c
> >
> > Thanks!
> > Ofer
> >
> > 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.
-- Hal
> - Sean
More information about the general
mailing list