[ofa-general] Re: [PATCH for-2.6.27 1/2] RDMA/Core: Add local dma lkey support.

Roland Dreier rdreier at cisco.com
Tue Jul 8 11:16:23 PDT 2008


 > RDS and NFSRDMA will use the local_dma_lkey if the device supports it.
 > If not, it will use a dma_mr with local access rights.  So using the
 > local_dma_lkey is just an optimization to avoid allocating a
 > local-access-only dma_mr.

I wonder if it's worth it... the alternative would be for cxgb3 etc. to
just return STag 0 from get_dma_mr if only local access rights are
requested.  But of course as we discussed later STag 0 doesn't do PD
protection, if anyone cared.

We can always change it later anyway.

 - R.



More information about the general mailing list