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 67208A00C3 for ; Thu, 8 Dec 2022 04:31:40 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 59DB74161A; Thu, 8 Dec 2022 04:31:40 +0100 (CET) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id 68504410FB; Thu, 8 Dec 2022 04:31:39 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1670470299; x=1702006299; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=IYmiufK5WOUF28CX0MkBLM5vTQqp3w826CpQxGMJvEo=; b=MtjdzTLt8IjZPNgkeM2aa9wMqUlnCnUfLwYQ4SyHDPMMMdSkzCyI0FFj +KLtCZmwY4aUpc8+Y+bFrffbqBpRrE9/Eb46ndOrU/nfGZgeCmUAWBG+X P+ua4cbiHrhX0sKSQ4kGSAzmA0j1nlXXcVfx6B1LCJpa/ejkjMuAUClnv zpMMil5F+1RtkwcJ+I0JMEtoQljT6/61iN9xwxw1xrFUQXyt8TPgM2Bnw gJbFWX8EiOH2QV7Ge0dkyErHx/xK9TRmcLXPjnHerzN+oRYiee5dXW/5i ki28GuQuKRT1Fumn/+zKlb6u8MEpExRshZ+wFKMhJAViav3bknOtuLHJ4 g==; X-IronPort-AV: E=McAfee;i="6500,9779,10554"; a="318915174" X-IronPort-AV: E=Sophos;i="5.96,226,1665471600"; d="scan'208";a="318915174" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Dec 2022 19:31:37 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10554"; a="679373398" X-IronPort-AV: E=Sophos;i="5.96,226,1665471600"; d="scan'208";a="679373398" Received: from dpdk-wujingji.sh.intel.com ([10.67.119.129]) by orsmga001.jf.intel.com with ESMTP; 07 Dec 2022 19:31:36 -0800 From: Jingjing Wu To: dev@dpdk.org Cc: jingjing.wu@intel.com, beilei.xing@intel.com, stable@dpdk.org Subject: [PATCH] net/idpf: fix build option check Date: Thu, 8 Dec 2022 03:31:27 +0000 Message-Id: <20221208033127.57161-1-jingjing.wu@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 When enable_iova_as_pa option is disabled, idpf driver should avoid the building in its build file. Fixes: 5bf87b45b2c8 (net/idpf: add AVX512 data path for single queue model) Cc: stable@dpdk.org Signed-off-by: Jingjing Wu --- drivers/net/idpf/meson.build | 6 ++++++ 1 file changed, 6 insertions(+) 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 +if dpdk_conf.get('RTE_IOVA_AS_PA') == 0 + build = false + reason = 'driver does not support disabling IOVA as PA mode' + subdir_done() +endif + deps += ['common_idpf'] sources = files( -- 2.25.1