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 E678FA0547; Thu, 9 Sep 2021 13:12:02 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C620B40041; Thu, 9 Sep 2021 13:12:02 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id B9BEA4003E for ; Thu, 9 Sep 2021 13:12:00 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10101"; a="243067413" X-IronPort-AV: E=Sophos;i="5.85,280,1624345200"; d="scan'208";a="243067413" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Sep 2021 04:11:57 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,280,1624345200"; d="scan'208";a="431781427" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by orsmga003.jf.intel.com with ESMTP; 09 Sep 2021 04:11:57 -0700 Received: from orsmsx607.amr.corp.intel.com (10.22.229.20) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Thu, 9 Sep 2021 04:11:56 -0700 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx607.amr.corp.intel.com (10.22.229.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Thu, 9 Sep 2021 04:11:56 -0700 Received: from NAM02-BN1-obe.outbound.protection.outlook.com (104.47.51.41) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.12; Thu, 9 Sep 2021 04:11:56 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MAqa2cWsiHaces5c5+vp0d/agFeIkMsxGDpH8fF9dpXFRPkExWo+lormeLYsDZCTMBjiaTtBrWXiCtshdZUtbqe5WqqDbtflG+w6/cFjRqzl+V90g4hjgI/p2eCW9deY1dosCgFM6qZGTrjxKen3ECyOd74RKAhLPwQGbOHtXZb/Khj0BTwiba9JT4tcSZVpk4Fd8pwKSZf0arPmk5MiNi16lNZJlfo3QvpMMJEgNlcKvunKplvAEzLe3UYGGqNLAvG/eIxb8+l2GFEmazQeaunAZ2ReGAPAXFYlYUzXTTCwSL9pzWZ6QfMuc92I+4tFZnUfn7/nzY0bGW3QTLO7IA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=CstaBWQd0OIQNsVAPfAn1uiYfv2JtiXUUrzpETOBWD0=; b=c/jEI/Y6pYSVzbRfy+z9OeAjcmXzn5iQuwPA5ytofy6Y9Z2YsjS1I8aueVDwlm09GBZd//ZLeo55ANzdmOR0ifp3R0z5ReeKsk8dXXY2dx97asW1syxUtCI42EdsjU21NsMATHCLi20n90PzZIDs9RiLtiv+Cxicy3/g/CjHvqa1Pu/aFLpyI6MJzfFwdOUKT5AE//1hDSd/QdM0RQk45XbtfaNpHHcr5i+qOowILOT5oBvA3kqFRH6wlltQQHlqplhTp+xeZFNr8IauM6uwFmTlwMe1f7KsfATjM+yQ+3v1wn8UXdB6jhFYFlsm79UqXTHvMKHdsrbft6CZvKSyWQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=CstaBWQd0OIQNsVAPfAn1uiYfv2JtiXUUrzpETOBWD0=; b=sZcYoFtFIAqiX42Jq+MS0lj8EVxCiIWaCXLGC0hOJZnW4jWeIpI2bLFTGs+u6C98dxQumO0h7U6kdxfz2zjsoiWRA4/qGY53OleYvowqmN0xQBfEYi+RBeBYnnmqM3z7i5AVF1ejPrgofPhxA2Nbc/rQkh/hKUL8FrJHM3jCzBo= Authentication-Results: marvell.com; dkim=none (message not signed) header.d=none;marvell.com; dmarc=none action=none header.from=intel.com; Received: from SJ0PR11MB5055.namprd11.prod.outlook.com (2603:10b6:a03:2d9::10) by BYAPR11MB3413.namprd11.prod.outlook.com (2603:10b6:a03:8c::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4478.24; Thu, 9 Sep 2021 11:11:54 +0000 Received: from SJ0PR11MB5055.namprd11.prod.outlook.com ([fe80::78d4:6f82:aa87:c271]) by SJ0PR11MB5055.namprd11.prod.outlook.com ([fe80::78d4:6f82:aa87:c271%5]) with mapi id 15.20.4478.025; Thu, 9 Sep 2021 11:11:54 +0000 To: Conor Walsh , CC: , , References: <20210903105001.1179328-1-kevin.laatz@intel.com> <20210908103016.1661914-1-kevin.laatz@intel.com> <20210908103016.1661914-2-kevin.laatz@intel.com> <787c62f4-1d60-0c32-c3ca-15209cbf52b0@intel.com> From: Kevin Laatz Message-ID: Date: Thu, 9 Sep 2021 12:11:47 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 In-Reply-To: <787c62f4-1d60-0c32-c3ca-15209cbf52b0@intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-GB X-ClientProxiedBy: DB7PR03CA0083.eurprd03.prod.outlook.com (2603:10a6:10:72::24) To SJ0PR11MB5055.namprd11.prod.outlook.com (2603:10b6:a03:2d9::10) MIME-Version: 1.0 Received: from [192.168.1.15] (109.79.93.65) by DB7PR03CA0083.eurprd03.prod.outlook.com (2603:10a6:10:72::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4500.16 via Frontend Transport; Thu, 9 Sep 2021 11:11:52 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: beb77601-93b7-454f-3cf9-08d97382a138 X-MS-TrafficTypeDiagnostic: BYAPR11MB3413: X-LD-Processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:7691; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Sv7JwXJfK+IGctoXKPAkAo9Gq0XdTlQMnFRW1hI0ogpgyLtrsd8OU4hZa1dEC1ON3ypqtWQqBvCuVpALUilb+gWrmxuq6svHAYWMxo8ah8G2b9Uyg5nE0UG+YjH/CP8JFu0I/J+48wR6UjtaPSYaGj1wQMcanhcGz2OOp2Skn4U84crisKYI7QF236oerkruY5Riwir9BV07B2Q5RjxOdEHt2+1GMNWAWro3IFvXKA04hIwW4zVNHe41qDS9Egl7+8mbaU0wZObIuPEr0q/dL65h+G64HmtocV+/c3O0vc74NVDa3ijPBi5GeHtn5VTUyRAXv0rjaXG0+Rl8lREPS6uHnZsEBBQZeldIgBLUUINT4am2bacoNipH2z8YpYysamZJwFHC4C/D2h7IOWI0RxXxw26tACfibLWFYTnCElSHgu/edSHrprce8j6M+2hAWvYMmVBi2x0rT8MapUEIpKMECFiBFkI6dEQNZdD4gHZSNft1u1KRUZ3/imidrYejv+rty+dtfaegdzfZ4ansPQgCt9cBZH8VFNXQH9qwLWFiEQUcpc2kSedDKDc148eWz/dpAcV0qjgapPTAseVb/O25GxnkABnWmMK7732UNV4iyxSC5qp67geyb7vL2lMkDcpLJxVv8CWuo1++GlS+YbIUjPp1wGAKMcJTh43Fug8E6wUC72KRo0pl18ZavJllHyHMbPFMi0yjDNWMjzr0scwbr2hBR2N6OzYlA35IQKsNV/EbLhqvnx5oHaVWoAs4 X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SJ0PR11MB5055.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(136003)(366004)(39860400002)(396003)(376002)(346002)(4326008)(8676002)(6666004)(186003)(16576012)(83380400001)(31686004)(53546011)(38100700002)(5660300002)(26005)(86362001)(44832011)(31696002)(6486002)(2906002)(478600001)(66946007)(2616005)(36756003)(956004)(316002)(66556008)(66476007)(8936002)(43740500002)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?MTFXZGptQkZISjBIK0p6Y1BpTndxSWFyekRJUUxFRkVkTmtMYk5xZUxLQXRj?= =?utf-8?B?ZXk4U1pBbmpvdStSMk5McFFWam4zdVBpSE9NczBWRFhQN2VoVVp6UktSTG5I?= =?utf-8?B?N21jK2hJZkl3Q3U0cTVXVHVWVEhuUTRWQUJBVk1wbHlmUmdoTWJxMkdNNHlV?= =?utf-8?B?THJwRjVudnlieGh1Wm5jTmJPT0ZKQWFSc0VEWEdRNktJNUVqT3dMS2o2TER4?= =?utf-8?B?YlZVMDJ0MTJhVnJVU0RtOFN0OVZMbjFVRElUeXcrVVZndUZuU0J5cG05Y1pO?= =?utf-8?B?dWZmK3NPUEJPbjFaTzhYN0JZOGVUVmFzSFhMR2h6ckpZYnlrRE41dW02c0NE?= =?utf-8?B?ajFobDFya1NxZXdxWlJ3S0t3bnV0N1RoQWs1U3pGVFBEbmMvNmxGZG1nZFQ1?=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zd6WmFiUFZQc2U2SlpGMDFFKzNk?= =?utf-8?B?Z0JuRDdLdkIwZWdCVnpYSk5odnlJV1k2MDZqRjBhZFZzN1ZjNEtxMmdpTXYv?= =?utf-8?B?MFZhNHd0RlNKQ2NmU1VUNDRWeDg2ampzL0VEOHFOeGdLQ2x3NWhleWtJdGpQ?= =?utf-8?B?aW0xRVl0OXVObG5Ua2YwVTQ4VG9UOUlpNmxrMEJ5MTB6NG1uK3QvSm1VY0dY?= =?utf-8?B?UWVCYzA5aVVRQmRzbmh2NFRrS2g2MXFqclVVSnZOUDdTYXE3dFp0WTM5c2h3?= =?utf-8?B?MVp5K2Jmd1ltU1djSldJTGdvZGlSWitOdGRiaUt5WG5uVWFqaW9XUlJSaVY5?= =?utf-8?B?d1Roa1ZzdXl2ZkZSYWdCandHdjBoMWtRSmpmaEJRVmpKSW9IVVI3Y1NMWVpm?= =?utf-8?B?eXpBajk2bC9NcUd5RmlTa1RKS0dyRTFOUVdpTGg5V0lIK3Ezd0N2OHFkV3c2?= =?utf-8?Q?4ByJguf1u5StUtPA+O5/CCmsf/TDSnSojICUxMw?= X-MS-Exchange-CrossTenant-Network-Message-Id: beb77601-93b7-454f-3cf9-08d97382a138 X-MS-Exchange-CrossTenant-AuthSource: SJ0PR11MB5055.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Sep 2021 11:11:53.9845 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: DEWfLudEwKBF8AG1UOi2lx7KaFiEXQPy/7hUIvu9gQdociD4684TcMEuTRG6LDgKcDLZBaP/OUypVVkreraZMA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR11MB3413 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v3 01/17] raw/ioat: only build if dmadev not present 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 Sender: "dev" On 08/09/2021 17:00, Conor Walsh wrote: > >> From: Bruce Richardson >> >> Only build the rawdev IDXD/IOAT drivers if the dmadev drivers are not >> present. >> >> Signed-off-by: Bruce Richardson >> --- >>   drivers/raw/ioat/meson.build | 23 ++++++++++++++++++++--- >>   1 file changed, 20 insertions(+), 3 deletions(-) >> >> diff --git a/drivers/raw/ioat/meson.build b/drivers/raw/ioat/meson.build >> index 0e81cb5951..7bd9ac912b 100644 >> --- a/drivers/raw/ioat/meson.build >> +++ b/drivers/raw/ioat/meson.build >> @@ -2,14 +2,31 @@ >>   # Copyright 2019 Intel Corporation > Minor nit the copyright should be updated to 2019-2021 >>   build = dpdk_conf.has('RTE_ARCH_X86') >> +# only use ioat rawdev driver if we don't have the equivalent dmadev >> ones >> +if not dpdk_conf.has('RTE_DMA_IDXD') and not >> dpdk_conf.has('RTE_DMA_IOAT') > > When disabling the dmadev drivers using -Ddisable_drivers=dma/* the > rawdev driver isnt available to use for dma devices. > > The way this is ATM if dmadev is disabled it doesnt build rawdev. > > The logic should be - if dpdk_conf.has('RTE_DMA_IDXD') and > dpdk_conf.has('RTE_DMA_IOAT') > Will fix this in v4, thanks!