[PATCH] common/mlx5: enable opration in iova virtual address mode
Morten Brørup
mb at smartsharesystems.com
Wed Apr 12 15:25:10 CEST 2023
> From: Viacheslav Ovsiienko [mailto:viacheslavo at nvidia.com]
> Sent: Wednesday, 12 April 2023 14.53
>
> The ConnectX NIC series hardware provides the advanced internal
> MMU option and can operate directly ob virtual addresses, host
> software should not do 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,
> thus allowing their compilation for IOVA VA mode.
>
> Signed-off-by: Viacheslav Ovsiienko <viacheslavo at nvidia.com>
> ---
Excellent.
Acked-by: Morten Brørup <mb at smartsharesystems.com>
More information about the dev
mailing list