[PATCH v2] common/mlx5: enable operation in iova virtual address mode

Raslan Darawsheh rasland at nvidia.com
Wed May 24 16:04:28 CEST 2023


Hi,

> -----Original Message-----
> From: Slava Ovsiienko <viacheslavo at nvidia.com>
> Sent: Wednesday, April 12, 2023 8:07 PM
> To: dev at dpdk.org
> Cc: Matan Azrad <matan at nvidia.com>; Raslan Darawsheh
> <rasland at nvidia.com>; Ori Kam <orika at nvidia.com>
> Subject: [PATCH v2] common/mlx5: enable operation in iova virtual address
> mode
> 
> 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>
> 
> ---
> v1: http://patches.dpdk.org/project/dpdk/patch/20230412125320.8585-1-
> viacheslavo at nvidia.com/
> v2: fixed typos in commit message, reworded a little bit

Patch applied to next-net-mlx,

Kindest regards,
Raslan Darawsheh


More information about the dev mailing list