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 24DB4A00C5; Thu, 28 Jul 2022 18:59:16 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0DA8C40151; Thu, 28 Jul 2022 18:59:16 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id 9DE6D4014F for ; Thu, 28 Jul 2022 18:59:14 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1659027554; x=1690563554; h=date:from:to:cc:subject:message-id:references: in-reply-to:mime-version; bh=2Qrq8bDF2vTKXIvk48des2xZ3sVXU5z4xmsgGLGdf8w=; b=BGyA6kyOF2o7xnKHgRs6n0CWcoFPBWc/GLqzLjWxwxUZ3X8myA62QsNH Oy6bu5TKRlAIrVGXhE6jj3ZFp+Gt1ICzclgPURfcfwtBfnJg736YuS/CE 2d1+rcQgRKUY9I/+sleSCLuke7NdXtQysWD3UDo9c42CJaFLafBA2LGM8 uZgC5cb8Q+KhYpeYc3wV76EhpyMHV6aAFeA3CeOatSiWaS4N98nNvl7fD RgkxzFBmQL002xrWDG8uX/k0bsi9TGJGNeT0w/zLCL8f5NXOGjEoRaW/U 1TFq8MecPt0dUyO53OqCD7nfxPvQ7dD58Ud3Qm0jsdjnwVwTTtR8dJhFm A==; X-IronPort-AV: E=McAfee;i="6400,9594,10422"; a="289761946" X-IronPort-AV: E=Sophos;i="5.93,198,1654585200"; d="scan'208";a="289761946" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Jul 2022 09:59:13 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,198,1654585200"; d="scan'208";a="659816053" Received: from fmsmsx605.amr.corp.intel.com ([10.18.126.85]) by fmsmga008.fm.intel.com with ESMTP; 28 Jul 2022 09:59:13 -0700 Received: from fmsmsx607.amr.corp.intel.com (10.18.126.87) by fmsmsx605.amr.corp.intel.com (10.18.126.85) 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:59:13 -0700 Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) by fmsmsx607.amr.corp.intel.com (10.18.126.87) 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:59:12 -0700 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx612.amr.corp.intel.com (10.18.126.92) 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:59:12 -0700 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (104.47.58.106) by edgegateway.intel.com (192.55.55.68) 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:59:12 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ePLWmgDhgcPw18YgoFb9O43VX4WgmJ3SzqWmMFSOo6iE460hsZWcTmhsnVgk3JUS1wNnfEIuyNwZ9HKI4/p2XHaboV/8TpsymfIAoX0dWhvVGJQ/bBJ5G7mj9/Nxnlxu7h9xWnChdRb51tRYZg+RL2oUeFuAlS7KiB8lVCbSChvSAOrN+mEJdfBBD768pLRFyQ3oa+iCD7H7VgykHq92iuNDXLudeJItgWZXeeeMJBVsSylK9e1t5FNcIhoqz69Mv6qli7JaqdygqetEKC/MTcJtzqE+AS6jIozXkXcPLRtqPkcYncbWuSeyeh2+Vz33Pp9IqdnzyplhRpe6r//cDA== 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=4ucZ6S8XOKv4gDwJPhW1/mNK7vhhPQyI1E1wr+PiYE4=; b=kvU45Lqd8C7iJ3KZ30+qpeNOjSVcpcHo/WGRm9Pqh2oX6YaYcLSnn9MXc/hzE8gvZfxWKx7dno99aakljdKQoMBORcbDbedKb5Xd/SqQ+n91Odz2JbvCm8ZachenPrT9vvs5+5pDNvi8F5gwgVsyUI6LET92zMmexoAODADrTQUXLvt87koi3kBEOQan6wr2jmKqjdI02K0IRqU7y8sxBMpS8sy37KFRKSGE7MuyrusxTcFb25nPqiF4XQfcLr8WJhjf1O8x7R+CvkbeBooFHDOET2WNmGOg1/gA9FXIJtbMs+/Ff6t9KgFMHsTwHGTZa+KAHFdBpkwtsYO8XU6IPA== 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 MN0PR11MB6256.namprd11.prod.outlook.com (2603:10b6:208:3c3::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5482.11; Thu, 28 Jul 2022 16:59:10 +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:59:10 +0000 Date: Thu, 28 Jul 2022 17:59:03 +0100 From: Bruce Richardson To: David Marchand CC: , Aman Singh , Yuying Zhang , Ray Kinsella , Thomas Monjalon , Ferruh Yigit , "Andrew Rybchenko" Subject: Re: [RFC v3 22/26] dev: introduce driver accessors Message-ID: References: <20220628144643.1213026-1-david.marchand@redhat.com> <20220728152640.547725-1-david.marchand@redhat.com> <20220728152640.547725-23-david.marchand@redhat.com> Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20220728152640.547725-23-david.marchand@redhat.com> X-ClientProxiedBy: LO3P123CA0015.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:ba::20) 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: 196ef852-8725-4998-6ac6-08da70ba7d90 X-MS-TrafficTypeDiagnostic: MN0PR11MB6256:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: /avh4XJ1iG+1b8lnKECZmH8zWz7siz6f6voeiQkT/q3LxrCBu0aBOOuycHzFyVsldVLd3ryxCLpGB4juGELMgEULki6g3odvR+t3U2qBOGKO89Z4IfeqpGUZEasWnTTMEE8XH7ZaV/P36lBxuY/DEzUfDbYnu3KdgYTZ1/uju+34k0/UV9nitG7l8FcfJjZU4ojhV8HGuxPie7de6TvXss3JlDfD3/hzhPhRV7Vo/kYrNzDKlTUYvgbw7+SSHNavQRS9+mqffQkfp1otu6guIJgGtsAqMsvBwK0kK8+RpqiQwVUYDk9R8uV7ofjoXO+IR6loLjrhZrH2U1unBe1UCJ63oClei8zfe+gDJM27D0bhPpaFe6LnNlMzW29q1ooODICKCwEUdQN+O10ZkVggrutD4exyZD0GULyZ+6oMrD9Eks+JH4coiT8r3Wo2/u3qliXPwnCKOb99UVa4XA5xhtLab0IE2/v+cYR+xJbd1hLV8BJ+MciB671Nx6pImDF6GDyivO6tTlrQpmdm2y0zvwq5HGeVjq2wxF3wnDWvN1mXlF8Oksa7fMw7LHiZoAcWZfsyTkPWDWtztBIL7Is1cE4uWhGci9TM5wS/SsXFsVNYNjA1wguu0iFIAA87nwIliBCtbxHZxAKQkc8mZLbGBrgqO99IOlvIl56UmgBla4XZWsYixxiaRACSJQU4EjmBi5lreAq4t1ShCJ6cxgT+CkwnZX9L8xb5dgNfbyoQewQPRAG0RHq8AtbqNvGyE9im 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)(136003)(366004)(376002)(346002)(39860400002)(396003)(6916009)(26005)(186003)(6506007)(2906002)(6512007)(41300700001)(38100700002)(83380400001)(82960400001)(86362001)(66556008)(66476007)(5660300002)(6486002)(54906003)(66946007)(6666004)(316002)(8936002)(8676002)(4326008)(478600001)(44832011)(4744005); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?R4QpLqp7y4HVMavx42xoch9wmhMVihap6iGIBiWHIxaRMmZWQJd9KF0V5FKD?= =?us-ascii?Q?gm2UnOXYvUOzyvLF422sp59a7g+pOcbzJRwyAIsN47oA8mOqwMYUSbvmQL/U?= =?us-ascii?Q?KJwlLj9lbxvYgvVqJ2aYchM1SiG8P/6+aF4EFcu68SHdJDiDlwXR2f5pZfl8?= =?us-ascii?Q?BeyaDrwe74Fv4W/TKXg8CyQTfbVTO/xYOee6+sWNnrTbtlNVvL9JDPPhfCFY?= =?us-ascii?Q?br2CHrl7U1tg5IhZXOvSmRcCrT9JPw+E+CIlndWFIR5osxV7kjkZ4fpZOAtN?= =?us-ascii?Q?oZaivurf+NFGU+voVeopuX85n+ohcacBo0tffUchDhlI9nFHhcADzq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VYvE6eR2q1V1ewVmWPVVsZDr?= =?us-ascii?Q?baB9dJf/dQEZEu0qCnxvMEFQ0F6U1+E27r1Trc4OgRpfOECm2eisVdRgpVjF?= =?us-ascii?Q?QDis8dEbBIVmFm2HEI0F1YDBYC+4fjni/AfTvCgPChYOIlk+JHIeCGJ/fnVo?= =?us-ascii?Q?Qe3Az8X37fysA9sxdtlvnbfUnIla884aY15I8IIv396t0Ov7/Lt/DxWtJMlw?= =?us-ascii?Q?RYA6leDvhqfwtMMyBUMeK94ILyu0W9jLdQMvnaY2G9YxqdTd1r03Vp+zI1qf?= =?us-ascii?Q?pU38mLYBj1HQpBRLY+ClvttatmcA89K0FqHyw8tw32ANFFjxV2PybOnt07G3?= =?us-ascii?Q?iZ7EIILoOKnDEfVCdUhMGOmggo7vYQ1Ft2kgGPkA6iyCt7tQNOf78Yo/roeu?= =?us-ascii?Q?fQ=3D=3D?= X-MS-Exchange-CrossTenant-Network-Message-Id: 196ef852-8725-4998-6ac6-08da70ba7d90 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:59:10.0284 (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: jOk75jsgtFFMSDJYNmoFN0VYn/HnIZs3oS89GRiUUEx92JF0ijqwTUfPIF9BOISSmQZKU8a8F3gFLWOp70tw9L7MItZxcuYr/Th7pVFytFU= X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN0PR11MB6256 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:36PM +0200, David Marchand wrote: > Prepare for making the driver object opaque by adding accessors. > Update existing "external" users. > Internal users may still dereference a rte_driver object. > > Signed-off-by: David Marchand > --- Acked-by: Bruce Richardson