RE: How far back does rdma-core X supports the kernel Y?

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

 



> > >Okay, then it should be
> > >
> > >  if (attr_mask & ~(IB_QP_RATE_LIMIT - 1))
> > >

I'm OK with this

> I think Ram is explaining that the kernel rdma_cm provides the
> attr_mask to use with modify_qp, and that the 4.3 kernel sets the
> three now reserved bits. The expectation is that user space will flow
> those bits and values from the kernel rdma_cm interface back to
> uverbs.
> 
> Userspace never looks at the attr_mask, and it does not matter that
> the values were never in verbs.h.
> 
> rdma-core is expected to work on 4.3, so if 4.3 is using this kind of
> path, we cannot block it in userspace.
> 
> At least, I think that is what Ram is saying.
> 
> Jason

Exactly.
Using IB_QP_RATE_LIMIT instead of IB_QP_DEST_QPN solves this.

As I've said I can create a patch but it'll have to wait to e/o next week.
What are the other locations that you've seen similar errors?

Thanks,
Ram

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