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 B0100A00C5; Thu, 28 Jul 2022 18:51:39 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3C0FF40151; Thu, 28 Jul 2022 18:51:39 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id F0F174014F for ; Thu, 28 Jul 2022 18:51:37 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1659027098; x=1690563098; h=date:from:to:cc:subject:message-id:references: in-reply-to:mime-version; bh=A2sRkT7p8PBoNIb2J6OiJjI/TlRnl5OBQcrtuFcuAGQ=; b=c41o+Md/CU4gCtdGcKxC8IYQNy6cPMVzBli2XELVMSKKrV1JxgWhFt0U bO1yBZkWC4dkE0U5ruBCBGTMGukwEa1AcEls7VyZ4DIXAdpUHK/uH+VJg fVVewe+p6BPwutdxADrvx4yc0jG8G4zbXC3wQA+muM5OUvJ9RACpyXtVy 8+EDAXrM/O1hgkLb6hmwP1kkyBj5n5Cm4IdGPXhiU8ouaZpoYsvfWm/J9 Z6OydwtGTWtjUCbkFTllV0FmNNIuBYjzIuMc6vXZmdQBBqHczCpJIF/fc MFN229DVNeH+v2Ogw6VVO1DBymGl3vGUB7iw8vyusCGcKGLnzCznSDT58 g==; X-IronPort-AV: E=McAfee;i="6400,9594,10422"; a="289760308" X-IronPort-AV: E=Sophos;i="5.93,198,1654585200"; d="scan'208";a="289760308" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Jul 2022 09:51:37 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,198,1654585200"; d="scan'208";a="928378493" Received: from orsmsx604.amr.corp.intel.com ([10.22.229.17]) by fmsmga005.fm.intel.com with ESMTP; 28 Jul 2022 09:51:36 -0700 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX604.amr.corp.intel.com (10.22.229.17) 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:51:36 -0700 Received: from orsmsx612.amr.corp.intel.com (10.22.229.25) by ORSMSX610.amr.corp.intel.com (10.22.229.23) 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:51:35 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx612.amr.corp.intel.com (10.22.229.25) 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:51:35 -0700 Received: from NAM02-SN1-obe.outbound.protection.outlook.com (104.47.57.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:51:34 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NZlwS4xhhZXnZdeXgK3ev+vutyxRAVdJGoQYoFJxSeXgyknRwAg7f1XeUe/YlhF4BaXG5rqNYgLRD7tXBgP7Zuk8zFti3Xga5UACuqNxAEJtc7SxhVQ1uZvJVCR0EddywB/BLFYceCekOfgWSvz527U5rlozXV15aUQep7Dxi2JaBAkcTXdPcOZOYpcSAsjnx7sfoRWEt+lNEaHY5iv+RYdc4x5h+h1Iejlgfo5clhQc9zcjLN69K1ch0ljjj1h9Ddw71vWegNwGLiu148cGbi4V4mvAKFpGZXN1IdDNsbeqlgetCzwOh9Vcaa1qInFv0tILkvlKXsfQXjNujtaOLw== 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=VaTWRFvWH/BHG7a3XwaFIl5Zn3YsDqqvmGTQTC0utHE=; b=Xsw8v14VxiGZyFGGokXhiV1/Y59ixEQ1169c4MYqgn1QUwqBW/m4YKmLlObZ/OrcXY4C4mZM8pgZYp2dJbbguI9I5McaW8sZ+vBWebfjv2jflFDl511FaZtmOapGIO+yZtVJxMN+bKgzbQ/IqYioz+GPZqgIKGLW99NwD51ofPKwFbZFtf8FztsP8QDg8WJPsHf2N5PtreW3PhduuwovsOoMuZhX5pcrAaacOCWqX/qisXxXJYwDwTTqWEiVmWD3q09CFn+27zW1Kb94BOFPAJdqvyGiijNxPOorvHh6r9GMFyJ63U0arPKwJWBQZ+gjjHDS1cS5AdPB5MwQunasAg== 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 DM6PR11MB2537.namprd11.prod.outlook.com (2603:10b6:5:cd::16) 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:51:32 +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:51:32 +0000 Date: Thu, 28 Jul 2022 17:51:25 +0100 From: Bruce Richardson To: David Marchand CC: , Aman Singh , Yuying Zhang , Anatoly Burakov , "Ray Kinsella" Subject: Re: [RFC v3 20/26] bus: introduce accessors Message-ID: References: <20220628144643.1213026-1-david.marchand@redhat.com> <20220728152640.547725-1-david.marchand@redhat.com> <20220728152640.547725-21-david.marchand@redhat.com> Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20220728152640.547725-21-david.marchand@redhat.com> X-ClientProxiedBy: LO4P123CA0629.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:294::10) 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: 2bedb753-d2c4-4b14-c3b2-08da70b96cdd X-MS-TrafficTypeDiagnostic: DM6PR11MB2537:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: KQ1+TGTi9v+Q6a+wdzvSF/hIa2PAeoYVDOGyttsTD+i/7rsRlak3jB2YTtxa5ndkgN962VadXJei5L8EnGwqdjtngSAqI9gGdwbfsu0Lb+n3I1AuQxmvpa2dd6/DI78NuSmPrWLDU4p3mDer0OkOutg/r4HXVlgpGB8eo4SZuzvNK2N6/woG9KJkzR7rgwVZXn9nqWlwvqOo1E1tnGTgALXbFA4IIh1YbMo487s0wWIt6u1LUW17wBfcn7s1WaYnsh1Khyz6VQjNTmOeYlRpcb6GMxrjfgUJ1TBLAjbITuJt4xZgMVB1rfTnZRt/0yIIRqayHXVtaDuAOWZJlzS5ELJps5sSp8TINhVChEpGF6BGfui8CD5vP6ZltTANqGNR8BMZ+SD9euz2FgMeL3j1DVhlyQzAuqLrZz4yklcbQHmJgIDhtii7UUkmwNf36h5vMNsL2P9w1fJrXFWHKIF+okyqbyF7jbGH0rnrj9rLklG2fbJRzoT9EI7C0+Vo/mTxBUXDLDA2y9yHua0XlAKnDq/ov+XMklGabLYFvdwEiChVF1tH753hYUTIL15nF+Mba3vFDmTwPHzUovXgkmu3ErUuyKzJd+0L9ddnDY6R7eziZ28DgwkiiioQkHJ8t0Civ43zsVyYgHYDsWHUmgoN7ueWprjQoS+OqEpfgjDJNdfm7L1//YbK8xDhzRlC47ccd3U33j7GZMJqnlxgex85/6XmbMm9JZRDH1+G0LWUpcpwWVaHu++2r/hgosb0Jaw3wPoaNMk0DdPcR6ZxRlksZRPfMOZonbFc3JJht048xTI= 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)(39860400002)(376002)(346002)(366004)(136003)(396003)(41300700001)(478600001)(86362001)(6486002)(4744005)(38100700002)(44832011)(5660300002)(316002)(82960400001)(4326008)(8676002)(66946007)(54906003)(6512007)(186003)(83380400001)(66556008)(6666004)(8936002)(2906002)(6506007)(66476007)(6916009)(26005)(67856001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?AwD3+D+Nqxl7oQCIAot7w50NkJO2JNB/JreWGJTbbAwjzAkVGla5DTzTWCQ3?= =?us-ascii?Q?YGyBYG4q+6zF0aQcBl/gvlFpoC5HPEwwLsnzjDAz6/ZRwWolHt71IjSRJ+Uy?= =?us-ascii?Q?/9S4g/fRObrkJzi9SgcKpPe2qUzHg7kQtidjbGrlosABq6dQTv2FEjKpzL5/?= =?us-ascii?Q?WN5i1VA+TZ94dggG0/c2aYrgVIAJbY1omK5rajoCWQfIS9kQSlVX2k0Nt1v9?= =?us-ascii?Q?p5Tw80awILOtWCF2aYte+tJMzOiOCBMd95flvm/cshqjqK25R3nfJzEF4lrV?= =?us-ascii?Q?v9y4mW3ULcwAdb7zK5I3NMKPqZkKYHh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zl/f9tM2spL2S2yNY9Hlpsc4NurlGCYrmm26PhgKNz6R2uJV286y4mn/w?= =?us-ascii?Q?9500RVImueybrrHsdt3+c84VhJML921RrSTovZj9E6EWTW003ajujyw705c9?= =?us-ascii?Q?jWrqnNoMcuTzUexm0WtjZK9ETNN6eXFBtr2fTpPExStzF8ywegHJyp7fgToO?= =?us-ascii?Q?+XYZ/lAPl68TIMze8Rg6B0fOi/0JFjF6I2LYkv+GbzFu/gPpEsW1Zk1chvQp?= =?us-ascii?Q?gA01XhTXEwk6N8/bdA0qE8Pq9zoGoTdBUXkVF997wEx4addZpCfSvMEqLffU?= =?us-ascii?Q?ZxlUrojkPhF4noZCPmNTMN9TAuI1W4jXgySBaYFXlRrKo0U1+UaHMXOk5HjS?= =?us-ascii?Q?Ove8QhfIIc9Y6HKEcnzsOgj3I7OK5fSisklv51EMvqZlbUK//Q8AQin2y9VA?= =?us-ascii?Q?0A=3D=3D?= X-MS-Exchange-CrossTenant-Network-Message-Id: 2bedb753-d2c4-4b14-c3b2-08da70b96cdd 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:51:32.5173 (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: jfY7Rv42okG6RfZryu9R+SJaA+IGwj+LdRX/ZFwoPczZgf261It+rqbjEBO3PiKCGisDU4Bg8rmiAKs82L+YTHWNWcz0j9n5WAvQ6eQO3CE= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB2537 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:34PM +0200, David Marchand wrote: > Add helpers to get a rte_bus object details. > This will be used externally. > Internal users may still dereference a rte_bus object. > > Signed-off-by: David Marchand > --- > Changes since RFC v1: > - changed approach: only external users are updated, > Acked-by: Bruce Richardson