From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 381C742927; Wed, 12 Apr 2023 15:25:14 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BE205410F2; Wed, 12 Apr 2023 15:25:13 +0200 (CEST) Received: from smartserver.smartsharesystems.com (smartserver.smartsharesystems.com [77.243.40.215]) by mails.dpdk.org (Postfix) with ESMTP id C44E7406A2 for ; Wed, 12 Apr 2023 15:25:12 +0200 (CEST) Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: [PATCH] common/mlx5: enable opration in iova virtual address mode Date: Wed, 12 Apr 2023 15:25:10 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.5 Message-ID: <98CBD80474FA8B44BF855DF32C47DC35D87868@smartserver.smartshare.dk> In-Reply-To: <20230412125320.8585-1-viacheslavo@nvidia.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [PATCH] common/mlx5: enable opration in iova virtual address mode Thread-Index: AdltPdV+5WKguLdkT+uoBlypsN7UBgABAYtQ References: <20230412125320.8585-1-viacheslavo@nvidia.com> From: =?iso-8859-1?Q?Morten_Br=F8rup?= To: "Viacheslav Ovsiienko" , Cc: , , X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org > From: Viacheslav Ovsiienko [mailto:viacheslavo@nvidia.com] > Sent: Wednesday, 12 April 2023 14.53 >=20 > 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. >=20 > To force IOVA VA mode the DPDK should be built with meson option: >=20 > enable_iova_as_pa=3Dfalse >=20 > 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. >=20 > Signed-off-by: Viacheslav Ovsiienko > --- Excellent. Acked-by: Morten Br=F8rup