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?



Thanks so much,


Best Regards,
Marc
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to