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 240D8A00C5; Thu, 28 Jul 2022 19:05:28 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1197540151; Thu, 28 Jul 2022 19:05:28 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id 4E6FB4014F for ; Thu, 28 Jul 2022 19:05:26 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1659027926; x=1690563926; h=date:from:to:cc:subject:message-id:references: in-reply-to:mime-version; bh=nC0G6oIANaCallkXVSD4kORts7XLQTcFPtJhmLgBOAg=; b=CkL/CHQ/XXXCfJVdHaCRgwHxvPL7p5Hr5hImWLbEboT50aLe2tJ7R9B2 EbT3yhBjx26RbY8trLt2VXazIvA4c/J4rQx68vAkaPoku2M9vv4THqnTR S6WlSroh+v9PfrVy0gnBhdKgsPp0mT1BK2rEenVi6I5P0c+blWuo6sm26 WHFbmAT3d7zXggZ5GIh1XyBdJdXyPZ5pAn/DauHQ0lQCHjeaCLYj90Yon mSA05in3FWm63NXiSeS4wukjro/pWdJG23QbrAejHs7jlcQkt15cp5/XG SIXHiCeAeRXiD6u1pRngGlAcq54Vjux6qexUC108q27C7m35bmul0tV02 A==; X-IronPort-AV: E=McAfee;i="6400,9594,10422"; a="314359487" X-IronPort-AV: E=Sophos;i="5.93,198,1654585200"; d="scan'208";a="314359487" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Jul 2022 10:04:11 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,198,1654585200"; d="scan'208";a="659819351" Received: from fmsmsx605.amr.corp.intel.com ([10.18.126.85]) by fmsmga008.fm.intel.com with ESMTP; 28 Jul 2022 10:04:11 -0700 Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) 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 10:04:10 -0700 Received: from fmsmsx605.amr.corp.intel.com (10.18.126.85) 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; Thu, 28 Jul 2022 10:04:10 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) 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 via Frontend Transport; Thu, 28 Jul 2022 10:04:10 -0700 Received: from NAM02-SN1-obe.outbound.protection.outlook.com (104.47.57.46) by edgegateway.intel.com (192.55.55.70) 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 10:04:10 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WMPon1u8gqqVoVzMOXQD8etLqTgAJpF0vFej/m2IFaCgqb7Kor29PIMvJ3efJoU8/Kb210NGMux0Lt2Mok7UToQakK/HXCY6nZU4D1VnBIDKYFfbtYRPR8DXNT8CxQYtkSsLnbmrNTK/12Xn6+d2pA+ZuYDIIg5Aq17BSyLUx/vbGewz5pUwCn8JRX5e2gyThoGXGAdrpWSLWp4PAyQbp9O7m/PvoDMs/orHz9MJGbmRWOWt8bxpuVuYhjg9KsznL7SSg+N5UWALimnFD5dBsMPGEJs9GvzVVX+4/cldDX4rD78AJD2ATeRIQrF8xTGytrZa5S+5UiZTIEk7ywoIzA== 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=SRHzAVVetZ1F1j3iP7S0L8tfKV9i85jaHXOa+OeCcYs=; b=MEcqh5a2m7y0f3Tpk4kta1e5b+XhkCmzf6XkG90xhM96r/HV1xayIz9zpjwaTFIgsI4x4Fsgj1DQ78q6qCtF08HWFmuTy9LzJvXpdwkDVcm6bxtLguvk/v2y/ZDXUCyoz22WcT1Qb3/pr5wbUylTwEBzvTcZPxA3RaZZy9VRFyRXrrerWVkMMvK1tPECWEsm44iavLXjyyEvgcW4d11nBDwI5b39etynvCvUlSzy1cQ9d7KpXxe7uxANML7RqBg4gow1DyryTojUpDFGbENY64+LBek6MzVrkiiXaa8AVuOVuNSAhZlNXUyib2O8OZCEVqz+ZIw4KTnyQNocvrvpNw== 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 17:04:08 +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 17:04:07 +0000 Date: Thu, 28 Jul 2022 18:04:01 +0100 From: Bruce Richardson To: David Marchand CC: , Ray Kinsella , Maxime Coquelin , Chenbo Xia Subject: Re: [RFC v3 26/26] dev: hide device object Message-ID: References: <20220628144643.1213026-1-david.marchand@redhat.com> <20220728152640.547725-1-david.marchand@redhat.com> <20220728152640.547725-27-david.marchand@redhat.com> Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20220728152640.547725-27-david.marchand@redhat.com> X-ClientProxiedBy: LO4P123CA0583.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:276::13) 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: 9ffdaf69-a724-4664-ba5a-08da70bb2f1d 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: wMgZrAmz9PxVZzHd1aN0nQFl773nV1WihTJruIiEsL0T+3XH8yu0saJxK4obnH8L00MmbDS9uej6698vr9jZ6r/OXJzuDFDeqHKDuKmvkDb7b9AcjOnWzmc5I/UfoLlEoOJWou+uuBLAv13WRdArZYz8VFOlEaeJTzd3WdLddGXD3y4/FHLqh6eGF2+6sRswUtESXc5EdRAWPxzz38X+ekA7A5wec2QnXukxC3zzPILWh+lQ9k/UJoCzFQDEyIly07Mbv+m8JGaOmq/bTypYMkHWFNa/jlMpJxUmS3i8Zo6jRihafa7IbPYrMsZSiXTFPD5LFOnl+IWPV8/AZ+j0v45BE3D3NggtueIh3KkNIicUlZig8Hk26nxjsmYfo07fXscZqSU0LQjT66pc5iimTJGRKF2YdfWrAznI7iBHPaMvfaiQZCl31R6e2Ow8Y9QOOTTtVskBlEmQlyciytav3lKCdKUwRmLlHI9eXi6ekwrhgBHrKjUrwiHD9eyY3JPxgoFd46mhXzpuujsYWrQZMUiJ1GANRHWYHp0LlHWC/j/1XqYHCc8OyoXdVn4cMNSa37wkE1La/4G+scLPb6reORRstGMrfEjOzwaj11e+xutEwqOszJE91s5qpcJaBSR0zkW/lA2Z1/0nEPGW7sZk0LzCD7IFQa+IVJ4p+FiazRiTiVV30zoCQ1hSlwygNwNRQfZWxIQszQ/pz56XesyfxUY9FvhnRYjZhIIjRH/3VrMtbaK7dUQiia3rQ8bOm6cH 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)(396003)(136003)(366004)(346002)(376002)(39860400002)(186003)(6512007)(66556008)(83380400001)(107886003)(66946007)(54906003)(4326008)(8676002)(6666004)(66476007)(6506007)(26005)(6916009)(8936002)(2906002)(86362001)(6486002)(41300700001)(82960400001)(478600001)(38100700002)(44832011)(316002)(5660300002)(4744005); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?48qQDEqhIyVS1G3tu282KzxkQdTnZsWAnG3Mxc+SFo1Wyh24VNTtio+TzVY6?= =?us-ascii?Q?ZQETSP6YwsE3X3j4d0Vn/TdRRsAKHYoehZtM79X1mq5TA22aHToSQJjHQGHM?= =?us-ascii?Q?kAGLnGns0LvAxCH0qm/imOcWfU2zvKDzRP3rAzsiCdHkXLUFW26gntRlr3fl?= =?us-ascii?Q?7NRoPUv1nzYCN9g8dkBz4q0b7QCTajAGyP5sYsLYOnUTp3gTBG6Jyj8uVbHR?= =?us-ascii?Q?tGQtiygu28iK/ALjASOJU7OYZXc8AplZij8PDxcY4r6WI3CEkQLgPwm/WQlh?= =?us-ascii?Q?ZtXtmHztftbQaTen0QJMvmvdU4C7Ozgv09difZwoJVpi5x5Ydn7eo/1X3Ot+?= =?us-ascii?Q?PrMBPe1MP/3N3EKDNoylEe0MdJHXEizf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K1i?= =?us-ascii?Q?9KxBn2PQuwYl/7HoTrHPPtHHfjmxcLjzu2NtaXNlkgX521IYnPDH3BylU3g4?= =?us-ascii?Q?8rc+J8KLb/byA9K/dPkq6Wyh8zFdFKa4L2EkXws0DLrT3CrCqWc2BwB6UGcE?= =?us-ascii?Q?poQJaQP7tkI97XLT3L/b2qas6bcVkfS8Xpd1WujJtjR2peFod5r0ou6BM8UL?= =?us-ascii?Q?x0skWWlFPPlC/+smFA5uwsRifnw1ycRKRmt/RDy8CAfoeaMWyj2PagApRSsd?= =?us-ascii?Q?hCR68i/eJwS7RQj57aWADbJAJOHlmCsvr3imSfRcJR+cwNVWI1nbusRSQdFo?= =?us-ascii?Q?w0BkTR/LVXlC2bCZbeuz2K8TjXPlyjo70tpmiH27nkz8msc/1a7wM2Ww+JN5?= =?us-ascii?Q?Ag=3D=3D?= X-MS-Exchange-CrossTenant-Network-Message-Id: 9ffdaf69-a724-4664-ba5a-08da70bb2f1d X-MS-Exchange-CrossTenant-AuthSource: MWHPR11MB1629.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Jul 2022 17:04:07.9112 (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: ym8M0dKzpNlmxtMeYKjaS+dcRcnr4IYGaH/yECnSdNAmqV+97hqCK72/9ZMUMn6LGMYvhsqL4zBy3b1LkKiqmtA8mySn/bWLRq4RocHDNoI= 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:40PM +0200, David Marchand wrote: > Make rte_device opaque for non internal users. > This will make extending this object possible without breaking the ABI. > > Some applications may have been dereferencing rte_device objects, mark > this object's accessors as stable. > > Signed-off-by: David Marchand > --- Acked-by: Bruce Richardson