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

Steve Wise swise at opengridcomputing.com
Tue Jul 8 11:40:54 PDT 2008


Roland Dreier wrote:
>  > 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.
>   

I could still change cxgb3 to do this if you want.  We can have both...







More information about the general mailing list