RE: [PATCH 1/1] ibacm: Add support for pathrecord query through netlink

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 
> > +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




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux