On Mon, Oct 26, 2020 at 04:42:12PM +0200, Gal Pressman wrote: > On 26/10/2020 15:26, Leon Romanovsky wrote: > > From: Jason Gunthorpe <jgg@xxxxxxxxxx> > > > > This fixes a subtle bug, the WQ mailbox has only 5 bits to describe the > > page_offset, while mlx5_ib_get_buf_offset() is hard wired to only work > > with 6 bit page_offsets. > > > > Thus it did not properly reject badly aligned buffers. > > > > YISHAI: WTF? Why does this PRM command only have 5 bits? We must force 4k > > alignment for WQ umems in the userspace? > > You forgot to remove those :). Yeah, sorry, this is what is happening if you are keeping patches in submission queue for months :(. Thanks