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

Or Gerlitz ogerlitz at voltaire.com
Mon Jun 30 22:10:31 PDT 2008


Roland Dreier wrote:
>  > --- a/drivers/infiniband/hw/cxgb3/iwch_provider.c
>  > +	dev->ibdev.local_dma_lkey = 0;
>
> why this specific initialization but not in nes or amso1100?  I think the device structure is zeroed out on allocation anyway.
To prevent confusion, lets have it documented somewhere that in the 
iwarp case IB_DEVICE_LOCAL_DMA_LKEY refers to zero-stag and as the name 
suggest its an lkey which equals zero, how does this sound?

Or.





More information about the general mailing list