> > > +static inline int acm_nl_supported_sa_mad(struct ib_sa_mad *sa_mad) { > > + return (sa_mad->rmpp_version == 0 && > > I think you want something like: > > !(rmpp_flags & RMPP_ACTIVE) > > Instead of checking for version = 0. Will be changed to: !(sa_mad->rmpp_flags & UMAD_RMPP_FLAG_ACTIVE) in next version > > > + sa_mad->method == UMAD_METHOD_GET && > > + sa_mad->attr_id == htons(UMAD_SA_ATTR_PATH_REC)); } -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html