Re: [PATCH v2 01/24] mlx4-ib: Use coherent memory for priv pages

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

 



On 6/20/2016 8:44 AM, Leon Romanovsky wrote:
On Sun, Jun 19, 2016 at 04:02:23PM -0400, Chuck Lever wrote:


Thanks Chuck and Sagi for the help.

<...>


I
didn't see such note along the thread, basically, I think this is
where we should be starting, thoughts? I also added the mlx4 core/IB
maintainer.

Yishai was notified about this issue on May 25:

http://marc.info/?l=linux-rdma&m=146419192913960&w=2

Yishai and me follow this thread closely and we work on finding the
root cause of this issue.


Just found the root cause of the problem, it was found to be a hardware limitation that is described as part of the PRM. The driver code had to be written accordingly, confirmed that internally with the relevant people.

From PRM:
"The PBL should be physically contiguous, must reside in a 64-byte-aligned address, and must not include the last 8 bytes of a page."

The last sentence pointed that only one page can be used as the last 8 bytes should not be included. That's why there is a hard limit in the code for 511 entries.

Re the candidate fix that you sent, from initial review it makes sense, we'll formally confirm it soon after finalizing the regression testing in our side.

Thanks Chuck and Sagi for evaluating and working on a solution.
--
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