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 3AEC5A00C5; Thu, 28 Jul 2022 19:01:00 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1DB1040151; Thu, 28 Jul 2022 19:01:00 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id A62834014F for ; Thu, 28 Jul 2022 19:00:58 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1659027659; x=1690563659; h=date:from:to:cc:subject:message-id:references: in-reply-to:mime-version; bh=ibVBYtM2zk/eXMoWqvvBDB63zwZ5K5BpV9q5UlelV3g=; b=gf2/zUg/GFCmLJa/z2IsU2WdevSnA6shVmmYtQk6JFsVvr7F9qqYqmw1 8JUpuUifGOY9koH08esmkbsKqPE5jbk3MpVl5sU1LUFsEKjhgxq3N6OqD XbGRI8YOGMKtFikt957p/peXHysjLSwQFPfta5sxo6+IicsDVP3ee4ZKo HEAbNCrzrytGJDNqiY2E0ZpsKWNsWbn712H+WjojmxL9Iz6ZVvEqztMCP bPtXHzDIIRDzjEsoPxLi+poNuhwNNNFDrDoPkugX1H6fZ2DQYkaWTSkFC 0x1jz+xJTfLiwen6olc1K6zzu5cyALndrp6JF2b5Z0BkIPjKSN9h1HyHa w==; X-IronPort-AV: E=McAfee;i="6400,9594,10422"; a="289333645" X-IronPort-AV: E=Sophos;i="5.93,198,1654585200"; d="scan'208";a="289333645" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Jul 2022 10:00:43 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,198,1654585200"; d="scan'208";a="668921937" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by fmsmga004.fm.intel.com with ESMTP; 28 Jul 2022 10:00:41 -0700 Received: from orsmsx609.amr.corp.intel.com (10.22.229.22) by ORSMSX603.amr.corp.intel.com (10.22.229.16) 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:00:40 -0700 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx609.amr.corp.intel.com (10.22.229.22) 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:00:40 -0700 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.169) by edgegateway.intel.com (134.134.137.103) 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:00:39 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Lq7USS9gIhsHkWDdehoSgPh8X/TBgo3NJwLzEg+nYhgTtPu2gTcmS2iv4jjraN3ua0PgzKor+WNH1SlyjJ3rQtPwk7cNM8Ymgt34Dsev0JSEUBCy4efd3/FLHodr9NZTRdklfPcT/6Jdb8kcM7gGKrPXR5jli+Mwew1RM+6/7F1ONtOvK/O9SrWbUJx3ZiiQhR8wVT7oWaZc0H3dsD+ny3juHKCAQ7N0AJ5xKirHOzPpMGCr2lrUq+sxECAAWsbI/GmkggNNbJAKlgo3tzgqf7oOOD3Wge2yL0SLcDCTEfrNaFObhtHHuTXle/u2VMxhZrVuqZkavQMY84X+i3hlyA== 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=Ga5mRVOxFVWRHhC5aNUEEYCXDFpdbdTs6kPAPkEcun4=; b=bx4bsWBWaqUZtgJr7J+ZhsD5zsODlIhe8fy77CVNyQeZCsWsl7/gsP+EFuIKIAfucgRldPx1VP/KzbLt3Iq3RIc2IV1YkznUH68HCWK5YX3S6/BSFaFm4tkXAZ0A6xs77b8ihpslXz7bttYlCryHg0/Zk3hG4LMYk2FUUJ+UiGb17E5ZpWgX4sQ4IxK2e4888tat8dvzuG3t4TAx2jW8b7C8rDcXNC4/yUbCv40H9Pm6JSwligviE3BVNIThwVNi1xOGU8DhgRZAYUegDI9XF8GjwZLDz29ocn5M9yZoWA4AyXc0Op4X+8N0NKTHTquAD3/bGRoozPMcdORGtrXSUQ== 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 17:00:36 +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:00:36 +0000 Date: Thu, 28 Jul 2022 18:00:18 +0100 From: Bruce Richardson To: David Marchand CC: , Nicolas Chautru , Parav Pandit , Xueming Li , Hemant Agrawal , Sachin Saxena , "Stephen Hemminger" , Long Li , Fan Zhang , Sunila Sahu , Ashish Gupta , Ajit Khaparde , Raveendra Padasalagi , Vikas Gupta , Chandubabu Namburu , "Ankur Dwivedi" , Anoob Joseph , "Tejasree Kondoj" , Gagandeep Singh , "Kevin Laatz" , Timothy McDaniel , Jerin Jacob , Elena Agostini , Ciara Loftus , Qi Zhang , Shepard Siegel , Ed Czeck , John Miller , "Steven Webster" , Matt Peters , Rasesh Mody , Shahed Shaikh , Somnath Kotur , "Rahul Lakkireddy" , Simei Su , Wenjun Wu , Marcin Wojtas , "Michal Krawczyk" , Shai Brandes , "Evgeny Schemeilin" , Igor Chauskin , "John Daley" , Hyong Youb Kim , Gaetan Rivet , Xiao Wang , Yuying Zhang , Beilei Xing , Jingjing Wu , Qiming Yang , Matan Azrad , Viacheslav Ovsiienko , "Chaoyong He" , Niklas Soderlund , Harman Kalra , "Devendra Singh Rawat" , Andrew Rybchenko , Maciej Czekaj , "Maxime Coquelin" , Chenbo Xia , Jochen Behrens , Jakub Palider , Tomasz Duszynski , Ori Kam , "Akhil Goyal" , Chengwen Feng , "Ray Kinsella" , Thomas Monjalon , Ferruh Yigit , Abhinandan Gujjar , Jay Jayatheerthan , Olivier Matz , Reshma Pattan Subject: Re: [RFC v3 23/26] dev: hide driver object Message-ID: References: <20220628144643.1213026-1-david.marchand@redhat.com> <20220728152640.547725-1-david.marchand@redhat.com> <20220728152640.547725-24-david.marchand@redhat.com> Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20220728152640.547725-24-david.marchand@redhat.com> X-ClientProxiedBy: LNXP265CA0024.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:5e::36) 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: 7b7f1009-6d16-46e1-3137-08da70bab08f X-MS-TrafficTypeDiagnostic: MN0PR11MB6256:EE_ X-LD-Processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: A8scZBWS0ns8FmS2nByuQ9DtCLM50+XxE+tAOhRnkSjaIxkhgkopd5fV2QFgyZvJZVC30lQtXFCpH6d9F8TWBLjIEVKXctbP10/92yelxFSTJJdcrCfnmzy8+uL/C3UwH73i2ZEAuqNtZjzm2+Xh8z30TY/qBNysDFxXBDprGSAWot/diLOrUnoVyYaJ3S+jvnJjfRGxv3X3v63NMVDkdgg+2GX+Meg4DNQk+ZGIDtqO0w+Fdm1rYz+x0SDlyflEdzTuUJGacnjhsEqnomW0z1qM5ihZ5iHoxjoNPLpwhu9HyBN0gihB60neRuwm53eEtsn5If/TLnpcpgEXtp1q3DAKhUHzuxUcbHTR7FY8yeWnh2B3c7iUPfKtu21WypkXq8WLgltaBOZ26+YPLyC5K3RFXPTiWsE+srkyVVD+m7BfY6HXaOIMqWTyxtECSUOski+1b3clqiuaddXJfgNLA6zNWMDuLfsf9KMnVQxGJDDMMYOiju8IvwGYt7hweGvcFb5oHPfYrjErtjf9Qju6zD1JybYJPGXTmXUcyQFNdzRxycL7flDZzLRoRhVoaDpU1MFlAEpuo/NOCMGFIlawV5XYLik6no015Nqw1xsHtjHleEVWAnLyeoO4Vs5x1Cg4C7LKRA/2czuZxEBfA7g0onQgR4HQx64awo7Z5KCAE1BWEgQfgSUknpmqQAYdKT0Hvk51zbiqxGl2pyJj4nhL0cJ6wuuJGznG23W1jjsXfqCxkuQJIWtzLZXozIjgM8c5 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)(107886003)(6506007)(2906002)(6512007)(41300700001)(38100700002)(83380400001)(82960400001)(86362001)(66556008)(66476007)(5660300002)(6486002)(54906003)(66946007)(7406005)(7416002)(7366002)(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?HuPMzEfKaVzYGGBt6odj3PBGAkucrkg6yFZG+EAwxIV0MU2xf7OwXySWPtaV?= =?us-ascii?Q?aMLqRCILXIqWR8sp6aF/OrEQ8mwg+vimumUOydOagNx9I9hHYzpykijHGm70?= =?us-ascii?Q?pGA2zZlkCuTo3EVJVMGJ7SUXbWb4vi3q+XzxL5plAQTsvRoOcBWspilSxCuz?= =?us-ascii?Q?qjbD9MG8la1M/LRq/g11CIACTSgMi9ztStQ/Z+J49gT403y83ItICjXDEtDV?= =?us-ascii?Q?L3JOYlMsWH5zQuJfXVN1bNxgQI8w99KaZio77OlOK2G0n29iieAoIsc6lMBE?= =?us-ascii?Q?mCM0QfJK41NnzmvHp17nZcierV9EP0B+Z3zYACLgSMxqeme5Vb+AcuR5TI4w?= =?us-ascii?Q?XJn/+XAgUk4YNmWUDzX4Z/MhGfV+knmP+BOL9Wryffz+4zoG9P9dBRFw7/o6?= =?us-ascii?Q?KlrjnqqgsoGaGfYXL2lPEf6usI8vLdZQe0XV1rUrH7hlBnk+SUKpF2QGGlb4?= =?us-ascii?Q?S57jPu7PPYF2CGBryn5Gcsc+zaZt56QdUlsdXLLOgzQpymzCFk7uYeg1fYm8?= =?us-ascii?Q?Qc2utngfIGACQ/0/QvNLe7AECmWeNuGa5bT15Z/7I0SI4zTOY0F2uT4wDS/8?= =?us-ascii?Q?XdcSJjFLL6RB0YXJIuzPbaN2pSEVsjqwiha/cTFpGbm7y3WaZAk6R18lfMpd?= =?us-ascii?Q?lwZcdaWv6TFv/nzKTNVaqc8bZqxUlYitx9rnYXAoN8PHNRb+K0gbjG3Dw8Tf?= =?us-ascii?Q?0CuhEorGDv9oGlHUExzgGtLAIxGypL+7wbgeDXwfP8qlV0dWEG5OtB8YRrqx?= =?us-ascii?Q?r1BznlVWHRDWZynJNBQgpLAnXPRIZXVhccr05ZkXdg39LK27PDG4mYvgkveE?= =?us-ascii?Q?DFsEzNjtxRae2lbhCBKQX1i8eU6ZZtyhXYjNE1kSXTnMfZmdTCfdhgBqebqU?= =?us-ascii?Q?5vBUX//Y5Dw8WXjQgOzFUcGxrCewGXYaCrIPJ64PRl1/p/FTt/Ah3lZIH8nP?= =?us-ascii?Q?tGQhFP59p+If3AZO36EsAzeVGOrRkPNTyRQaj33pDXPbdozLEYZ2lBg/msdF?= =?us-ascii?Q?mrhxKTNNdUvpCye3jztOebibBECqO2XMYEHju42Wu18phckulIB/JJXKIK1+?= =?us-ascii?Q?XU1UW4IJLG9leKf9FRghWpne80KvJKAkYX0ls8kG+J8fOGFqAVMBZzWiDNl8?= =?us-ascii?Q?JWEpy07vtKas8ehArRXUrIqJrkSMsE59j5UptXzCG310EdvZxToCBwDvvrcH?= =?us-ascii?Q?lu3bXxQCKC6sT6uJv31LyDgMi3tD2dADVQuMfxPEt+tutFlLagMP3xaRuNMj?= =?us-ascii?Q?ZTEdbisTnghMfbGSYZifYbT1NrRP6FxW8DwrtgqQXjm4NmHyOsvydqhmG4pT?= =?us-ascii?Q?aO0DWzvcG2Elnqmgednm09HS8V81NZunGCBxl9ufktQgs8yuCZkoYEIQ6EJC?= =?us-ascii?Q?KkLkCuWeeR1EDppBdS9Y77+DG0umUwkI8hZTRjLpyCphDBj86KSQVgDkEO+l?= =?us-ascii?Q?WqVcOKQn8ooj3e4f7qqdpWV4A3lWex2b3UqPzRAqB3T/Z1kRT1A8U560plEM?= =?us-ascii?Q?5EwGm7nmDWxI7XQjpaOujtMx/fo7S29H1YjdzYlkbgerYFyB6HT1pOyvorKK?= =?us-ascii?Q?YW/dyaaIsp0Mqmh5VQXON66bt306zv6djRQThx01w5bBjj0I6TQfGWjDEBrR?= =?us-ascii?Q?aQ=3D=3D?= X-MS-Exchange-CrossTenant-Network-Message-Id: 7b7f1009-6d16-46e1-3137-08da70bab08f 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:00:35.8967 (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: tQl5OHilfmWra6qD+ftS9vKVXdFfQREEUCDvrHvG6wny3G2pxqhmjPlChAwAsUK/vhmRTXSaYkfthN7aGhzLiWslAiB9TN6tpiXeawh0ksU= 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:37PM +0200, David Marchand wrote: > Make rte_driver opaque for non internal users. > This will make extending this object possible without breaking the ABI. > > Introduce a new driver header and move rte_driver definition. > Update drivers and library to use the internal header. > > Some applications may have been dereferencing rte_driver objects, mark > this object's accessors as stable. > > Signed-off-by: David Marchand > --- Acked-by: Bruce Richardson