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 6EEA1A00C3 for ; Thu, 8 Dec 2022 08:46:19 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 680E44161A; Thu, 8 Dec 2022 08:46:19 +0100 (CET) Received: from smartserver.smartsharesystems.com (smartserver.smartsharesystems.com [77.243.40.215]) by mails.dpdk.org (Postfix) with ESMTP id 17BDC40DDC; Thu, 8 Dec 2022 08:46:18 +0100 (CET) Content-class: urn:content-classes:message Subject: RE: [PATCH] net/idpf: fix build option check MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Date: Thu, 8 Dec 2022 08:46:16 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.5 Message-ID: <98CBD80474FA8B44BF855DF32C47DC35D87571@smartserver.smartshare.dk> In-Reply-To: <20221208033127.57161-1-jingjing.wu@intel.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [PATCH] net/idpf: fix build option check Thread-Index: AdkKtZtV67zL0JhtRoaXFbt/e83nhAAI2V1A References: <20221208033127.57161-1-jingjing.wu@intel.com> From: =?iso-8859-1?Q?Morten_Br=F8rup?= To: "Jingjing Wu" , Cc: , X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org > From: Jingjing Wu [mailto:jingjing.wu@intel.com] > Sent: Thursday, 8 December 2022 04.31 >=20 > When enable_iova_as_pa option is disabled, idpf driver should avoid > the building in its build file. >=20 > Fixes: 5bf87b45b2c8 (net/idpf: add AVX512 data path for single queue > model) > Cc: stable@dpdk.org >=20 > Signed-off-by: Jingjing Wu > --- > drivers/net/idpf/meson.build | 6 ++++++ > 1 file changed, 6 insertions(+) >=20 > diff --git a/drivers/net/idpf/meson.build > b/drivers/net/idpf/meson.build > index 998afd21fe..650dade0b9 100644 > --- a/drivers/net/idpf/meson.build > +++ b/drivers/net/idpf/meson.build > @@ -7,6 +7,12 @@ if is_windows > subdir_done() > endif >=20 > +if dpdk_conf.get('RTE_IOVA_AS_PA') =3D=3D 0 > + build =3D false > + reason =3D 'driver does not support disabling IOVA as PA mode' > + subdir_done() > +endif > + > deps +=3D ['common_idpf'] >=20 > sources =3D files( > -- > 2.25.1 >=20 I had to try the same, so I can surely say... Reviewed-by: Morten Br=F8rup