From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id E9C6141EB0;
	Thu, 16 Mar 2023 12:00:24 +0100 (CET)
Received: from mails.dpdk.org (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id DA89142D37;
	Thu, 16 Mar 2023 12:00:24 +0100 (CET)
Received: from new3-smtp.messagingengine.com (new3-smtp.messagingengine.com
 [66.111.4.229]) by mails.dpdk.org (Postfix) with ESMTP id A1E2D42D32
 for <dev@dpdk.org>; Thu, 16 Mar 2023 12:00:23 +0100 (CET)
Received: from compute6.internal (compute6.nyi.internal [10.202.2.47])
 by mailnew.nyi.internal (Postfix) with ESMTP id E085E58213D;
 Thu, 16 Mar 2023 07:00:22 -0400 (EDT)
Received: from mailfrontend2 ([10.202.2.163])
 by compute6.internal (MEProxy); Thu, 16 Mar 2023 07:00:22 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h=
 cc:cc:content-transfer-encoding:content-type:content-type:date
 :date:from:from:in-reply-to:in-reply-to:message-id:mime-version
 :references:reply-to:sender:subject:subject:to:to; s=fm2; t=
 1678964422; x=1678971622; bh=h+bI98MHTrZ/+SNotDuZsi0uNTMAFe39Vz7
 pN+9aBUU=; b=ugUcFXKujc3qNGBwbCpgNg7bgrmwwDbHa9DweAfr7iguh00pU2u
 fBW39Dh6jKlreCVl2JMrxl0dQ0wRoC+bP/X+U766jADWLpJh9PPHcyy5p74eNvBq
 BICU+WQer2dtnzDfCstc/RnVhnnnFTfqj8w1GhOAm4zslIUPAANljxO2Bg8QVIHW
 vr9y5StFNoIe1ltVcyPSE2cXr61jIQk/AoFoMJ1yXhW65ThRpH2z9x3gsoQaI7vV
 cMEcZhGZZK8NnsI/gBictUjWukRrNfBDn6FwsArkenm2Ou608nbxQxnmDO8h7/bz
 bsGag9cGZswT/0eXGRif2ry9nDNjYrzESgg==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:cc:content-transfer-encoding
 :content-type:content-type:date:date:feedback-id:feedback-id
 :from:from:in-reply-to:in-reply-to:message-id:mime-version
 :references:reply-to:sender:subject:subject:to:to:x-me-proxy
 :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=
 1678964422; x=1678971622; bh=h+bI98MHTrZ/+SNotDuZsi0uNTMAFe39Vz7
 pN+9aBUU=; b=uHQVVP4jnfuqf70WQe+98KsU8DW0k9NBr4HS4A6VpXt4piRZEPx
 NU8WU3H0GCDoXgfnGcCqly5vX8MmN0Ten+T7mVPYwKnjFuQUTBXSXgN+Nta23r4a
 8ZTkurzvNMRAFiLGqdTW/QUXKC6EpZXvEhl6MY44qEwYOVFZHIn4q8B3hrQpE/re
 5B9r8k5J6BAg6iYQxM/8WRW5SguV2lOA0kIOhO1vLkZdPmyXjRyDYH3aABrGB1Kl
 8jjwimyAgel+AzLDIpB7JBAv1vM3HGBBII8SmzDLQ4L+HAwLlmajTF9ho4x4np2Q
 oRC7/095Dob/mmOsIl+7LaL6bhR+e0+wtCg==
X-ME-Sender: <xms:xfYSZIrHHLrZuRnwjQDORUq2dQWB3Gaabmy8PKDqV_gdplcrGGe7EA>
 <xme:xfYSZOoNtQAy8jX-T1HjEOJZUpe7EZ_srsIA1525Sv_y45y8_ZF2m_a0THuTFV2ob
 w7xc9MCVhxhtpN5KQ>
X-ME-Received: <xmr:xfYSZNOAr65cB7_jTGh5YtjW5kd9BMD2zug3h3s8j-ZL7Dhyuu1edvN76cX74y3IogGrlEhzyLqq5QEi3PHXBBavZg>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrvdeftddgvdefucetufdoteggodetrfdotf
 fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen
 uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne
 cujfgurhephffvvefufffkjghfggfgtgesthhqredttddtudenucfhrhhomhepvfhhohhm
 rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc
 ggtffrrghtthgvrhhnpeefhfejleeuvdevtddutdeutdevhfeijeethfffueejhfetuddu
 vedtkedtieekffenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh
 hrohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght
X-ME-Proxy: <xmx:xfYSZP7X3g9yffDCg6PdZ6ubq6yPZPtjkw83zCpkmPk1GrP_Y3u_kA>
 <xmx:xfYSZH7vW5bi3oZfbCtK0YsjiKyOoM2bc12e1w7wBv1vzEhhCSs2fw>
 <xmx:xfYSZPjIXiskINS28NoFlyYnUygGWuDsGNKsiw3Jh8A2YAnQC-XJxw>
 <xmx:xvYSZBhRVwUbo1ZwCiQqlD9lrCSoyntCht9lFjS07pseHNSjSDI1qg>
Feedback-ID: i47234305:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu,
 16 Mar 2023 07:00:16 -0400 (EDT)
From: Thomas Monjalon <thomas@monjalon.net>
To: dev@dpdk.org
Cc: David Marchand <david.marchand@redhat.com>,
 Bruce Richardson <bruce.richardson@intel.com>,
 Qi Zhang <qi.z.zhang@intel.com>,
 Morten =?ISO-8859-1?Q?Br=F8rup?= <mb@smartsharesystems.com>,
 Shijith Thotton <sthotton@marvell.com>,
 Olivier Matz <olivier.matz@6wind.com>,
 Ruifeng Wang <ruifeng.wang@arm.com>, Parav Pandit <parav@nvidia.com>,
 Xueming Li <xuemingl@nvidia.com>,
 Tomasz Duszynski <tduszynski@marvell.com>, Long Li <longli@microsoft.com>,
 Nithin Dabilpuram <ndabilpuram@marvell.com>,
 Kiran Kumar K <kirankumark@marvell.com>,
 Sunil Kumar Kori <skori@marvell.com>, Satha Rao <skoteshwar@marvell.com>,
 Jingjing Wu <jingjing.wu@intel.com>, Beilei Xing <beilei.xing@intel.com>,
 Ankur Dwivedi <adwivedi@marvell.com>, Anoob Joseph <anoobj@marvell.com>,
 Tejasree Kondoj <ktejasree@marvell.com>, Kai Ji <kai.ji@intel.com>,
 Pablo de Lara <pablo.de.lara.guarch@intel.com>,
 Radha Mohan Chintakuntla <radhac@marvell.com>,
 Veerasenareddy Burru <vburru@marvell.com>,
 Kevin Laatz <kevin.laatz@intel.com>,
 Pavan Nikhilesh <pbhagavatula@marvell.com>,
 Mattias =?ISO-8859-1?Q?R=F6nnblom?= <mattias.ronnblom@ericsson.com>,
 Liang Ma <liangma@liangbit.com>, Peter Mccarthy <peter.mccarthy@intel.com>,
 Jerin Jacob <jerinj@marvell.com>,
 Harry van Haaren <harry.van.haaren@intel.com>,
 "Artem V. Andreev" <artem.andreev@oktetlabs.ru>,
 Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>,
 Ashwin Sekhar T K <asekhar@marvell.com>,
 Srikanth Yalavarthi <syalavarthi@marvell.com>,
 "John W. Linville" <linville@tuxdriver.com>,
 Ciara Loftus <ciara.loftus@intel.com>, Chas Williams <chas3@att.com>,
 "Min Hu (Connor)" <humin29@huawei.com>,
 Yuying Zhang <yuying.zhang@intel.com>, Gaetan Rivet <grive@u256.net>,
 Dongdong Liu <liudongdong3@huawei.com>,
 Yisen Zhuang <yisen.zhuang@huawei.com>,
 Konstantin Ananyev <konstantin.v.ananyev@yandex.ru>,
 Qiming Yang <qiming.yang@intel.com>, Jakub Grajciar <jgrajcia@cisco.com>,
 Tetsuya Mukawa <mtetsuyah@gmail.com>, Jakub Palider <jpalider@marvell.com>,
 Sachin Saxena <sachin.saxena@nxp.com>,
 Hemant Agrawal <hemant.agrawal@nxp.com>,
 fengchengwen <fengchengwen@huawei.com>
Subject: Re: [PATCH v3 1/5] build: clarify configuration without IOVA field in
 mbuf
Date: Thu, 16 Mar 2023 12:00:15 +0100
Message-ID: <2273513.ElGaqSPkdT@thomas>
In-Reply-To: <61879568-0fbc-5ce9-26c2-af5daae9afc4@huawei.com>
References: <20230219115529.3260580-1-thomas@monjalon.net>
 <20230314142958.3479004-2-thomas@monjalon.net>
 <61879568-0fbc-5ce9-26c2-af5daae9afc4@huawei.com>
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="iso-8859-1"
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org

15/03/2023 02:56, fengchengwen:
> On 2023/3/14 22:29, Thomas Monjalon wrote:
> > The impact of the option "enable_iova_as_pa" is explained for users.
> >=20
> > Also the code flag "RTE_IOVA_AS_PA" is renamed as "RTE_IOVA_IN_MBUF"
> > in order to be more accurate (IOVA mode is decided at runtime),
> > and more readable in the code.
> >=20
> > Similarly the drivers are using the variable "require_iova_in_mbuf"
> > instead of "pmd_supports_disable_iova_as_pa" with an opposite meaning.
> > By default, it is assumed that drivers require the IOVA field in mbuf.
> > The drivers which support removing this field have to declare themselve=
s.
> > Some bus drivers are declared compatible.
> >=20
> > If the option "enable_iova_as_pa" is disabled, the unsupported drivers
> > will be listed with the new reason text "requires IOVA in mbuf".
> >=20
> > Suggested-by: Bruce Richardson <bruce.richardson@intel.com>
> > Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
> > Reviewed-by: Bruce Richardson <bruce.richardson@intel.com>
> > Acked-by: Morten Br=F8rup <mb@smartsharesystems.com>
>=20
> Acked-by: Chengwen Feng <fengchengwen@huawei.com>

Applied