[PATCH v2] common/mlx5: enable operation in iova virtual address mode
Morten Brørup
mb at smartsharesystems.com
Wed Apr 12 21:15:11 CEST 2023
> From: Viacheslav Ovsiienko [mailto:viacheslavo at nvidia.com]
> Sent: Wednesday, 12 April 2023 19.07
>
> The ConnectX NIC series hardware provides advanced internal
> MMU option and can operate directly over virtual addresses,
> the host software should not care about any virtual-to-physical
> address translations. It means the mlx5 PMDs can operate in DPDK
> IOVA VA (virtual address) mode transparently.
>
> To force IOVA VA mode the DPDK should be built with meson option:
>
> enable_iova_as_pa=false
>
> With this option only drivers supporting IOVA VA mode are enabled.
> This patch marks mlx5 drivers with require_iova_in_mbuf flag false
> value, thus allowing their compilation for IOVA VA mode.
>
> Signed-off-by: Viacheslav Ovsiienko <viacheslavo at nvidia.com>
Acked-by: Morten Brørup <mb at smartsharesystems.com>
More information about the dev
mailing list