On 08/04/2015 07:35 PM, ira.weiny wrote:
On Tue, Aug 04, 2015 at 04:21:30PM -0600, Jason Gunthorpe wrote:
quoted
Every single ULP requires a local_dma_lkey to do anything with
a QP, so let us ensure one exists for every PD created.
If the driver can supply a global local_dma_lkey then use that, otherwise
ask the driver to create a local use all physical memory MR associated
with the new PD.
Signed-off-by: Jason Gunthorpe <redacted>
Reviewed-by: Sagi Grimberg <redacted>
Acked-by: Christoph Hellwig <hch@infradead.org>
Reviewed-by: Steve Wise <redacted>
I hit this bug as well.
Reviewed-by: Ira Weiny <redacted>
Tested-by: Ira Weiny <redacted>
I've pulled the v2 of this patch and replaced it with this one. Thanks.
--
Doug Ledford [off-list ref]
GPG KeyID: 0E572FDD