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 2D5A84292A; Wed, 12 Apr 2023 21:15:15 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 14338410F2; Wed, 12 Apr 2023 21:15:15 +0200 (CEST) Received: from smartserver.smartsharesystems.com (smartserver.smartsharesystems.com [77.243.40.215]) by mails.dpdk.org (Postfix) with ESMTP id 9739B406A2 for ; Wed, 12 Apr 2023 21:15:13 +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 v2] common/mlx5: enable operation in iova virtual address mode Date: Wed, 12 Apr 2023 21:15:11 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.5 Message-ID: <98CBD80474FA8B44BF855DF32C47DC35D8786A@smartserver.smartshare.dk> In-Reply-To: <20230412170723.20722-1-viacheslavo@nvidia.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [PATCH v2] common/mlx5: enable operation in iova virtual address mode Thread-Index: AdltYVFxVdAoO+olRgqhnuCufxMPNQAEZIog References: <20230412125320.8585-1-viacheslavo@nvidia.com> <20230412170723.20722-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 19.07 >=20 > 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. >=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 false > value, thus allowing their compilation for IOVA VA mode. >=20 > Signed-off-by: Viacheslav Ovsiienko Acked-by: Morten Br=F8rup