DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] Mellanox mlx5 PMD: is IOMMU used?
@ 2018-02-08  3:03 Andrew Theurer
  2018-02-08  6:22 ` Shahaf Shuler
  0 siblings, 1 reply; 2+ messages in thread
From: Andrew Theurer @ 2018-02-08  3:03 UTC (permalink / raw)
  To: users

My understanding is that the vfio-pci kernel module cannot be loaded for
Mellanox adapters, and the mlx5_core must stay loaded in the kernel.  Does
that mean there is no IOMMU used?

Thanks,

-Andrew

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dpdk-users] Mellanox mlx5 PMD: is IOMMU used?
  2018-02-08  3:03 [dpdk-users] Mellanox mlx5 PMD: is IOMMU used? Andrew Theurer
@ 2018-02-08  6:22 ` Shahaf Shuler
  0 siblings, 0 replies; 2+ messages in thread
From: Shahaf Shuler @ 2018-02-08  6:22 UTC (permalink / raw)
  To: Andrew Theurer, users

Hi Andrew

Thursday, February 8, 2018 5:03 AM, Andrew Theurer:
> My understanding is that the vfio-pci kernel module cannot be loaded for
> Mellanox adapters, and the mlx5_core must stay loaded in the kernel.  Does
> that mean there is no IOMMU used?

Yes, the chip set IOMMU is not being used. it can be used, but this is not a strict requirement to enforce memory protection. 
Memory protection and isolation are enforced by the kernel driver and the device.

Mellanox devices has translation engine from VA->PA for registered addresses. 
The PMD is working with VA, and registering them to the device through mlx5_core which enforce the protection, pin the memory (If needed) and provide the PA to the device.  

> 
> Thanks,
> 
> -Andrew

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-02-08  6:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-08  3:03 [dpdk-users] Mellanox mlx5 PMD: is IOMMU used? Andrew Theurer
2018-02-08  6:22 ` Shahaf Shuler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).