Hi Jack,

Thanks so much for the response.. This is really helpful!


Best Regards,
Marc

On Thu, Jul 10, 2014 at 1:25 PM, Jack Morgenstein
<[email protected]> wrote:
> On Wed, 9 Jul 2014 18:40:46 +0530
> Bob Biloxi <[email protected]> wrote:
>
>> Hi,
>>
>> I was going through the mr.c file as part of understanding WRITE_MTT
>> command in the mlx4 code.
>>
>> I could see that instead of issuing the WRITE_MTT HCR command, in case
>> of SRIOV, we're directly accessing the ICM space for the MTT Table,
>> taking the ownership and updating it. We're doing this using
>> dma_sync_single_for_cpu and dma_sync_single_for_cpu.
>>
>> I was curious as to why this approach was chosen instead of using the
>> HCR command.
>>
>> Can anyone please explain the reason/motivation behind this approach?
>>
> Performance. Direct write to memory is much faster than via HCR
>
> -Jack
>
>>
>>
>> Thanks so much,
>>
>>
>> Best Regards,
>> Marc
>> --
>> 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