2014-09-20 8:24 GMT+02:00 Bart Van Assche <[email protected]>:
>
> On 09/19/14 18:04, Jinpu Wang wrote:
>>
>> Another question, in srp_map_finish_fmr, the desc va is set to 0,
>> could you point me how SRP protect multiple rdma operation write to
>> same addr?  or different fmr-rkey will protect this?
>
>
> Hello Jack,
>
> As you can see in srpt_map_sg_to_ib_sge() in the SRP target driver the 
> virtual address (db->va) and rkey (db->key) are always used in combination - 
> the virtual address is never used alone. Please note that this not only holds 
> for FMR but also for FR. More information can be found in paragraph "10.6.2 
> MEMORY REGISTRATION" in the InfiniBand Architecture Specification.
>
> Bart.
>

Hello Bart,

Thanks for your informative reply, I will go through InfiniBand
Architecture Spec to understand memory registration better.

Have a nice weekend!

Jack




>
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
> the body of a message to [email protected]
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to