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 9EB2FA00C3; Mon, 3 Oct 2022 16:39:45 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3CA9840DFB; Mon, 3 Oct 2022 16:39:45 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mails.dpdk.org (Postfix) with ESMTP id DA47D40695 for ; Mon, 3 Oct 2022 16:39:42 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1664807983; x=1696343983; h=message-id:date:subject:to:cc:references:from: in-reply-to:content-transfer-encoding:mime-version; bh=GmzDIphHk/7i/FNZt4QQqZJ5LEINg/MOK4CNU4RhtII=; b=ZEAbsmnCkyS0m9gqY4G/kJqDJwJzdO1vVLBKJPA7TTpyMITSUemZFyUE DBSpZg8yf8rhDLQ4B6RbOuj2a38KFwoUyIQpnpvsEbNcoyWLMIBuXZdDJ aCteOoLoniyegwJmyO5slgG6izqBCzZIgJy8vwU3O4r02IlEWTEV7nMb7 5v7kyEu3x/AK3swjaUXSl8mS8reTvemo2PDUkVUK1Fwc8ncyhr1NbMjgq thEB7yi3NBQkr7CnEcUrygaFemhjmF2sjuJH7qOPZ80yXD8VUvogKA2Uh UhuYDOOz2y29TnpKCFiJAFjvpSfmDtMGdfgJqrfgqbIm4FMROYQFZ2EzK w==; X-IronPort-AV: E=McAfee;i="6500,9779,10489"; a="282362136" X-IronPort-AV: E=Sophos;i="5.93,365,1654585200"; d="scan'208";a="282362136" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Oct 2022 07:39:41 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10489"; a="727786191" X-IronPort-AV: E=Sophos;i="5.93,365,1654585200"; d="scan'208";a="727786191" Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by fmsmga002.fm.intel.com with ESMTP; 03 Oct 2022 07:39:41 -0700 Received: from orsmsx611.amr.corp.intel.com (10.22.229.24) by ORSMSX602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Mon, 3 Oct 2022 07:39:40 -0700 Received: from orsmsx607.amr.corp.intel.com (10.22.229.20) by ORSMSX611.amr.corp.intel.com (10.22.229.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Mon, 3 Oct 2022 07:39:40 -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.2375.31 via Frontend Transport; Mon, 3 Oct 2022 07:39:40 -0700 Received: from NAM04-BN8-obe.outbound.protection.outlook.com (104.47.74.46) 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.2375.31; Mon, 3 Oct 2022 07:39:40 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kugH2aShc1X7gl8h9gNR0UonGqDyjXzfFzTvU8QvUh6cDIfOHeDQ7EnGBsCVyeZizTv4Bsn7W9FkJI1r6QxMbu+fMuP4fjT66lI9pWcVSf9P2hSx/ejLHBQSm6NjmGTHo2KZ2X52RDOrFzUnRm0SL/Awy+ccBy+7dF7K7TCxBPRGKR9NCj2SIA4vzmlWpK23Z3DTN4vK8ry6ubsm2EJuhjoS8Jm/HXm/URLib8FWgb1ClsEF3+eQox1KA1oUU7Znn2yeT6BLXEcrHE4YkatzLkKY7O2cwXfAD9Xzf5LD49lqAH9euubLw+DqJnaXUUTHNDyMZrnCfh7coEjgtgOoHw== 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=jBG/bp/axNrjoRdk5LLdF889CnRu2Z6J9GyoE9Bvs6M=; b=Z27r/xJpXLGVE8DkR3XDnwWh8C19zjJ3Q1A1kG5MxskXCPW8heJkhGWVhPdCvViQ53w3/gdQlmEAroq+gqtjPR930mPW/GpdQWExqSLac3f9tDjnaA32hRDib2nGfK7oKvcZ3V10hnHCe4iG6hRVbenbLduJVh9eZgIyNVQ1oJ+Z2dPeN/zClGuc5Ab33bqmE5BvSOhxvgIK8hpUB8pe4bC4ldNu165kCt65O/BFj68+/gqWHfBb0mHgPY2CYOB8WxwoKQsmGX9LmAK65E9EEwIUg5XhylrtNlqym415mkauBzvwmmomfg/VdzwmtWxIgrCjDM8IDsde1fKczk1ycw== 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 MW4PR11MB5872.namprd11.prod.outlook.com (2603:10b6:303:169::14) by DM4PR11MB5261.namprd11.prod.outlook.com (2603:10b6:5:388::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5676.15; Mon, 3 Oct 2022 14:39:38 +0000 Received: from MW4PR11MB5872.namprd11.prod.outlook.com ([fe80::c17d:f1c9:e958:b5e]) by MW4PR11MB5872.namprd11.prod.outlook.com ([fe80::c17d:f1c9:e958:b5e%8]) with mapi id 15.20.5676.028; Mon, 3 Oct 2022 14:39:38 +0000 Message-ID: Date: Mon, 3 Oct 2022 15:39:31 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.3.1 Subject: Re: [PATCH v7] eal: add bus cleanup to eal cleanup To: David Marchand , Bruce Richardson CC: Thomas Monjalon , dev , =?UTF-8?Q?Morten_Br=c3=b8rup?= , Li Zhang , Matan Azrad , Stephen Hemminger , lihuisong References: <20220419161438.1837860-1-kevin.laatz@intel.com> <20220603143601.230519-1-kevin.laatz@intel.com> <7465552.R56niFO833@thomas> Content-Language: en-US From: Kevin Laatz In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO4P265CA0023.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:2ae::13) To MW4PR11MB5872.namprd11.prod.outlook.com (2603:10b6:303:169::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MW4PR11MB5872:EE_|DM4PR11MB5261:EE_ X-MS-Office365-Filtering-Correlation-Id: 4c3c011d-f4ca-46db-e550-08daa54d1907 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 5DIigoorMQ6bTHcT91iJF1Q3ZSxU6w9/csYfa42ovR5+8OcGpiiVzrYHoEZq0l1T8guybpFsucEIHXTR6WpH9YGTQfI09y8ziaZ/Mi87XSd5087baOpxzdqwdjZF/TtZAbkgErfOZmL5qVK6GYso/3ECTnu/XHEK2LWMd/cOI+66wJ08a9RmOOTHNG91H7lwcBy+Iip7JwP/d0onYfW51ycwDBEg2OlbNslfxXzK98KaRkcoy35QGTGoUHS8o/Mt/ZbHhQbU45qtZuUw6s9K6JnrEoJVCXvQuow2wjhKE+fxVrjb2pNsncfwwFa7E9PymijVT/ZsoEWUthVFqITgG5XTPvfoeqdcawEjsfHR2jJ8/DCojsB4FBETFQD/oqBSwZhtRCBAf23wPM91np7LNS1Pz7VTU8QwtNBjIm8DCjcOmh1d++JMsoqAOcEArqbu/t02c2wa7E6jzN9MX1SOXopk/yZGseWkJM39G9JdeDXpnu4wAvubCBsF8ywO1mKMXmvBJ8yIIx3lF/ltBaNym4qERJATu2ISDPCxOotPIHImuxu9Oj8A5Y3GVaAWWWDnKQyHOHPluYscxLkVlRsDMKvDZFP1s3GfEKN61rrIYcYd2HgFnsnE9ys3ZTMZYLhDmCe9qvzWv3RJke82Sb3p2vKyZP++49Q2vytL19TQnjQqCXt6UpEmyXl3vhhQRKaJ5RXQgzwPAW3YZ64oRH8l5x8wuvDp4hUocHBdX8GBbSDfNggUajNX918DJ7HCYEuZGqvl74IGJoq8acnA7kGkhK+9N8BFiM0QF10cu7hNjv3ELf13Kq5hOucCp9p4aLxnOcI5Rxi+jdWLG3dxraVKtg== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MW4PR11MB5872.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(366004)(376002)(39860400002)(136003)(396003)(346002)(451199015)(36756003)(31686004)(8676002)(86362001)(6512007)(54906003)(6666004)(316002)(53546011)(26005)(110136005)(31696002)(2906002)(186003)(6506007)(44832011)(38100700002)(82960400001)(66556008)(2616005)(6636002)(5660300002)(478600001)(4326008)(8936002)(41300700001)(66476007)(966005)(6486002)(66946007)(45980500001)(43740500002); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?UE1sZVpmdTJIOHQzc2xBSzRJVW9kUHpPVERySmtoR2Jpck4yaERkUjB1bzFU?= =?utf-8?B?aTRYOGQvMzVIOEd3Ny84dWM1YWU4eTROK0syWEpuYklmZloyUHNPaWlKc0hB?= =?utf-8?B?Z0Fj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G9ZV2NDYU9RVFlWMEp6VFRG?= =?utf-8?B?Wk9xNDVpUUZvcWs5STB3S1ZxWk5jNkhDeFdyYzBOWDJORU5OZVNud0M4emZC?= =?utf-8?B?L1FZRXl5N29lRzhBTkRvUGhEU3FVa3NhVVBIMjZIcjdlS0NGUXd5Q0YxL1pj?= =?utf-8?B?dTFRSElFaGQvREV2dWFyaEVYM3g1R2pNeDVPcE9LVWhwZk50a3JUR0wyWGlQ?= =?utf-8?Q?aXN+WNUpokKcnp5UHWP8U7n8L?= X-MS-Exchange-CrossTenant-Network-Message-Id: 4c3c011d-f4ca-46db-e550-08daa54d1907 X-MS-Exchange-CrossTenant-AuthSource: MW4PR11MB5872.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Oct 2022 14:39:37.9702 (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: cjHCxZXlhIkwCDSdMmgRQzWO0uHAvIguyBdS48ET1d42cHJaONFrSTlKxhH2jix3Adih2LzJ4mu+P6KgSDFhUA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR11MB5261 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 Hi David, On 03/10/2022 13:35, David Marchand wrote: > Hello Bruce, Kevin, > > On Mon, Jun 13, 2022 at 5:59 PM Bruce Richardson > wrote: >>>> For info, Li has sent a patch for the bus cleanup >>>> which is not updating the bus code: >>>> https://patches.dpdk.org/project/dpdk/patch/20220606114650.209612-3-lizh@nvidia.com/ >>>> It may be a temporary solution before the deprecation. >>> On the principle, that's probably the best, there is no question about >>> unclear frontier of the ABI. >>> (In practice though, the mentionned patch is triggering segfaults in >>> two CI, for pdump). >>> >>> Hiding rte_bus object should be straightforward in v22.11, I had some >>> patches, but never finished the work. >>> >>> It would be great too, to look into rte_driver and rte_device which >>> are exposed important types, but that's another story. >>> >> Agreed, we need to look into all this for 22.11 release, let's defer this >> patch until we get proper deprecation process. Temporary patch looks fine >> as a fix too. > The patch needs some rebasing for making it into 22.11. > Can you work on it, this week? > Yes, I'll have a look at it - thanks for your work on the deprecations and cleanup! -Kevin