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 CDA38A00C5; Thu, 28 Jul 2022 18:48:53 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C0B4E40151; Thu, 28 Jul 2022 18:48:53 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id 9367C4014F for ; Thu, 28 Jul 2022 18:48:51 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1659026932; x=1690562932; h=date:from:to:cc:subject:message-id:references: in-reply-to:mime-version; bh=7zGWfb1cUisEvo1ac09yOnNH+6ob3DBiVDT0D5r7caw=; b=FqlLz+8gKh4GTPr2ADnDLMZwV7c1pXwcklqAF2IkFatZ2KzfLAVQlqlY /zBF2/sSIIZ9dykkxXM8Vsy7RbIKzc1aSfsE0NVEHrAS8lnHGjr4G9PgR KagJVS9nwQFir6JmsFXkLUOXazOEfJrP5hTr3GszVPV1PSDMfFnpl67zE 4u94Mbw/O1xEyj1vdA12plNR7qAowWbKP0FOmFKLSVnUDR7GH8JmTY0/l k+88Ys7LL289FHZfe3B+41bTjGcCz9ZV1nR4ear5g5pARMQAUMFrfzUdj CYIOa141dNufANAV6QYWwopP3NMf2wpQdRdF8Momu3inZyvFX7LZ1jlpf g==; X-IronPort-AV: E=McAfee;i="6400,9594,10422"; a="289330743" X-IronPort-AV: E=Sophos;i="5.93,198,1654585200"; d="scan'208";a="289330743" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Jul 2022 09:48:50 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,198,1654585200"; d="scan'208";a="659812083" Received: from orsmsx605.amr.corp.intel.com ([10.22.229.18]) by fmsmga008.fm.intel.com with ESMTP; 28 Jul 2022 09:48:50 -0700 Received: from orsmsx608.amr.corp.intel.com (10.22.229.21) by ORSMSX605.amr.corp.intel.com (10.22.229.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.28; Thu, 28 Jul 2022 09:48:49 -0700 Received: from orsmsx606.amr.corp.intel.com (10.22.229.19) by ORSMSX608.amr.corp.intel.com (10.22.229.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.28; Thu, 28 Jul 2022 09:48:49 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx606.amr.corp.intel.com (10.22.229.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.28 via Frontend Transport; Thu, 28 Jul 2022 09:48:49 -0700 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.48) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2375.28; Thu, 28 Jul 2022 09:48:49 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VaMCpE/bgYV5tnEcbdrlxYKapHQ/hrG9N/ZqhQLM2y2YNKtYGttIIZmzb/XVCfOsXsoBrrSEJFXWZBrilXLaexJnbIfdDn77YHmwbZMI25CB2PJ0szwry49Zuskz7uj3slg2f10+l51jLxtAiqQ4gH/X0CcmOOquCjoVBU0Yl9+ZGxIqdJjw+ShjslSnbKUVadFsHTxht9Cq6chFyqRFikUpYM8HwcpETHGCtsTWLd9zSpLVWNYI7683BIVk1tm28MYPfWKDBIa5lF4xqepAdNnmxiVpa04TzdHBoHMA8VpDVeZxrttoMmAJb2AKCpQt/bBocq91qjsxozu3dvfUpQ== 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:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=vem8PeQINmZKc3JlS6jIL3MgbG/p7IT4jMsuFvObfvg=; b=l5nXWLI3M7AmYZmhd1bR4xSRB1Zqh6xu2Aq7Rvo11t2OLIDtSSNJ+HY7pcUoudDlL2Wd/s6HMELChWUSNtpXsMABwwwLooAwiHoEKCA+YfWsTWMuOIh/WROTooYEogrdBwlM1TCYB5TSm/+a+/z4Bvv40pKK2H933hW1aR1H3cbEASlC/jBHvmON7rPWCLfQHPglTUNr6S2wcefQYw6+Venv5citdXm/PzkHBASvmF1vbMcVb+Sz1qoWyQ+SDl36b3YgTGmaWNOdYI7+19Jr7MIjP5DbKfH1DdpBIqmIGItyqD8cszKh8ilYfQ9nZwvCaNuoCcgUj4tZaMbFnhIuvg== 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 Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from MWHPR11MB1629.namprd11.prod.outlook.com (2603:10b6:301:d::21) by MW3PR11MB4762.namprd11.prod.outlook.com (2603:10b6:303:5d::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5458.19; Thu, 28 Jul 2022 16:48:48 +0000 Received: from MWHPR11MB1629.namprd11.prod.outlook.com ([fe80::8e4:e1e9:a851:4b0d]) by MWHPR11MB1629.namprd11.prod.outlook.com ([fe80::8e4:e1e9:a851:4b0d%5]) with mapi id 15.20.5458.024; Thu, 28 Jul 2022 16:48:48 +0000 Date: Thu, 28 Jul 2022 17:48:40 +0100 From: Bruce Richardson To: David Marchand CC: , Aman Singh , Yuying Zhang , Sunila Sahu , Fan Zhang , Ashish Gupta , "Gaetan Rivet" , Anatoly Burakov , "Akhil Goyal" , Dmitry Kozlyuk , Narcisa Ana Maria Vasile , Dmitry Malloy , Pallavi Kadam , "Thomas Monjalon" , Ferruh Yigit , Andrew Rybchenko , Reshma Pattan , Stephen Hemminger Subject: Re: [RFC v3 19/26] bus: move IOVA definition from header Message-ID: References: <20220628144643.1213026-1-david.marchand@redhat.com> <20220728152640.547725-1-david.marchand@redhat.com> <20220728152640.547725-20-david.marchand@redhat.com> Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20220728152640.547725-20-david.marchand@redhat.com> X-ClientProxiedBy: LO4P123CA0565.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:33b::19) To MWHPR11MB1629.namprd11.prod.outlook.com (2603:10b6:301:d::21) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: eae2a65d-d5dc-4d32-d2da-08da70b90b09 X-MS-TrafficTypeDiagnostic: MW3PR11MB4762:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: p+XxgURcDiIZiwBoannYFsHf01EoCe2RLV2a+nuoUKTxuwLyrmUWUkX3a+4Vl2s/JhBEOocXXUtBTqwId9VQ3pP1CzaiyeBJiqbgwgIw6vC9czBgmsqVHn+rEuxBvGyYtIr5wa5/Alcd5Cpju1RNyWer8+/t0dHpBz2AAAMDWH3fMA/E3i+TSA+cOVo0nMiT/5i7BhXlq0S+snZqXnqiEmmNAF9LDgn/tD9oxyYyH2vTbiRGqC/HrWCCUMz5JqLKM5mPpSlNxOLM5Cbu8OxpF8IfAChC9dkPhIZZwSNzHFAIJCLOGk30z0tXV6CAf7aT2GQKDj2ggrj2lMDBFDj7a7bsfDeBfaE+y/gK87wfG4TMiUhVQTBewKL5DNYmH63MCBKPBF2PaPLxe5/b33mqdQZU3jMZuGtcWoWBXGBlBfNW1OJSWamjJPl3uLjqa9JA89M7pzsB0GlKxnk7+zsmikk43tsQe/RnF16mYARxAhetPb8wCPpL1WOulsCGJLIA6m6HuBpQ9cGWCeXa3VQ9J3t3zYYU2Oi9uity/ljVCwkWjWqvdTckNS6oOlDX4ufE4RBKcySOqs4M/c8iRkwPervOt9LZtVbwhPGFoS4W7VQC8KPUojAtMWow9xg6HvKtTlT8SUKTqgAUhLe0QJq7F0CyrueNcpNZQVCPPiWb7ipKS5BVFRNl3OOkOBFaDNwLLD6sTN2Bw4onJHH1g2O3MnU14u6b9C5XHvtadl2k45dfCXHludShwLdYsNIPc9iS X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MWHPR11MB1629.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230016)(346002)(136003)(376002)(366004)(39860400002)(396003)(38100700002)(4326008)(7416002)(8936002)(6512007)(8676002)(66476007)(4744005)(6506007)(66946007)(5660300002)(6486002)(478600001)(66556008)(82960400001)(26005)(186003)(54906003)(41300700001)(2906002)(6916009)(316002)(6666004)(44832011)(86362001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?zphfx/YfebcQjT3iPiIV+XPtWjBTOGkgwZgMceZGYUJ8Hf+ygYs9ayZwDiEJ?= =?us-ascii?Q?A4TILtrr9M8KxQxaR7lB0p3yZhPbiW9NlyAac+AIqM6yzw2NrCV6vMGC1GHO?= =?us-ascii?Q?m++oDugXMVySrjUu1bnNpZs5IrHTZU122sYymEd78JXE8HBEBZUG/TSHeOuA?= =?us-ascii?Q?Q0WqsMas/6UdeKQKb47kLOhp8WRJsoAK7by0czo/2eitKX7gzvQeNTlwNwuM?= =?us-ascii?Q?yEB6CN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BQD6TAS?= =?us-ascii?Q?e1ZgSjmZ+GJUQLZfL5Lj3KiXqr5YZNtBSg9M5ICmaHoUZUbaCyksvyFtNNGv?= =?us-ascii?Q?4+etVzcilufZ+EWpyI+eamd45DVg+SZ0KMf7IwD8TfVjz6XF74dxlgl00yR1?= =?us-ascii?Q?TgF6bjRQRO+G4kP9P442Yn65wESs6TlfgFw62mmcIppZJc9m4Gdp7s1HnR/E?= =?us-ascii?Q?8u68yP/RiKdV8pqg7yXtigQNsuiQRtUhTzqZtx0soH2zLjsLVL004M/MC8rO?= =?us-ascii?Q?rS3/Avw+5xlhs0NVX29Kliq8JqwboyOUFQcWrjbD/z16m8/uaeP4xqhv51qP?= =?us-ascii?Q?r6l3lqvAkemVlo5XsJPdsy4kBH+JHln9EOePbMaEiJUwqysPeLWbEic9Q6rz?= =?us-ascii?Q?qQaVvNp3jNN4mXh54ha9S9MXngJqCNMa++cUsgSXIn8REfsYKs9R0zr2AS2D?= =?us-ascii?Q?lDDQi8NQPQWNMf7658Qqv0nq0PWs3Oi2AMZEbSm0BZbg4H8sxGK64hzuiTkA?= =?us-ascii?Q?qA=3D=3D?= X-MS-Exchange-CrossTenant-Network-Message-Id: eae2a65d-d5dc-4d32-d2da-08da70b90b09 X-MS-Exchange-CrossTenant-AuthSource: MWHPR11MB1629.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Jul 2022 16:48:48.5300 (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: JGq9W8l0BjKXo0FVXopg0d7ejdDzFSpRsznAiUmvoZ1aUbiyL9EJjH8yx3jSknhLZw46Zvsgo9tBRCtNDX327ZyG6TEX2Kv2krAS5nZWNdA= X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW3PR11MB4762 X-OriginatorOrg: intel.com 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 On Thu, Jul 28, 2022 at 05:26:33PM +0200, David Marchand wrote: > iova enum definition does not need to be defined as part of the bus API. > Move it to rte_eal.h. > With this step, rte_eal.h does not depend on rte_bus.h and rte_dev.h. > Fix existing code that was relying on these implicit inclusions. > > Signed-off-by: David Marchand > --- Acked-by: Bruce Richardson