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 1F6F4A00C3; Mon, 1 Aug 2022 09:08:05 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 034E341101; Mon, 1 Aug 2022 09:08:05 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mails.dpdk.org (Postfix) with ESMTP id 2C7DF4067B for ; Mon, 1 Aug 2022 09:08:02 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1659337682; x=1690873682; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=ymyUozBGeREQr/7hbkTnqhym2iwNnPYE9nGDi0404lY=; b=RL2rKYuRJGjtaou8129XKP59yn7X7QmchtRIU4GCr584Cx37yRahf8xo t0jYquEJ7oswb5IQIwaaJmdovFfo93LRdJTNxonz4Bl40gAixabQo9RHh uT5q36rH+a23ehYTf3dUV6513/0qVuzN+8Bcql5a4a0/k6MY3kef9U1VF NEFXI0p1gCF77lcVCVkj1p2pi809sUkD41BOLzk3d8BIIMg2HvNBYdcC4 82U06+Okgf9Cu171Ng+QCUs0dsDPkAsD6PGYTqaTB5tx4bvjxnZ2tPGss LZrE+y0hvDqFjQcrlBJG17OPV/OXYP3SLDBOhMC61BV3fYYIO+Lvkr54W w==; X-IronPort-AV: E=McAfee;i="6400,9594,10425"; a="289093262" X-IronPort-AV: E=Sophos;i="5.93,206,1654585200"; d="scan'208";a="289093262" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Aug 2022 00:06:33 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,206,1654585200"; d="scan'208";a="634793922" Received: from orsmsx604.amr.corp.intel.com ([10.22.229.17]) by orsmga001.jf.intel.com with ESMTP; 01 Aug 2022 00:06:33 -0700 Received: from orsmsx609.amr.corp.intel.com (10.22.229.22) 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; Mon, 1 Aug 2022 00:06:32 -0700 Received: from orsmsx603.amr.corp.intel.com (10.22.229.16) 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; Mon, 1 Aug 2022 00:06:32 -0700 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) 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 via Frontend Transport; Mon, 1 Aug 2022 00:06:32 -0700 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.105) 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.28; Mon, 1 Aug 2022 00:06:30 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WLNRQBzi5/PSCNgKdxss2QZs+svGw1VgO6/JrzkgT61ybmuJCSGNXlHGLGIky1zUTcEH2MoE2F5pSSz49KyxB/QRL9BZiD9q9pw4BqkGzv7CwPdb0Q7CXeN65uItDAr2x+3QvosBvxdxflkcZUztN1w4bQBnXFuMIgYPK/Xa1uX6Z3t301uAseqB+mOZEKXFPC1aOChDTlOwPchM97HRkgQBXzCaNupjaJfXrsJ9w3tbx2kRNqBg82qp/ZoU5vRmpXD+YTRMnbneZbBi52nc3t6wsUkDvkGrxSe+FeBdMBgcCCdW32bqxlCtEVwreVuW6VLSm0wfZeBy9lVAw6wiWA== 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=tK8xN78Zs+cr8wezbJ/83UMn/Cf5PunQkU8YUrynHBo=; b=APWCaxpaLOqxPkK2eiOvg0ODnDPq1fcF4GLZMJZTqo0l7CiyPluDZLySBqYTtahfxwIB2cKsFQMgfMKOIK9gPAlNmI32BgsM02K+aJTqq+jcrBuX7Zujisi7HY2EKFFjKgOm1DWTuLokmKkWsysUCE5jvxti9ohVr22KwXRlKrAIUfu5w4QeeD9gZdmaz8RnXktM5ujn61w9i/st3Pqk/1oQ3kkY/AmWJ2Q77OFkCY37tyL6PJvrSE9cfw+9qomqFa7fDzbfK5XMr0QzOBsSJ/9WbgOBk7+suB/RHnykjLY3cMJaXZKYJqB/XCghTRTVqxgTlIFRfc978IqZkO+9Bw== 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 Received: from DM6PR11MB4348.namprd11.prod.outlook.com (2603:10b6:5:1db::18) by MN2PR11MB4222.namprd11.prod.outlook.com (2603:10b6:208:179::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5482.14; Mon, 1 Aug 2022 07:06:22 +0000 Received: from DM6PR11MB4348.namprd11.prod.outlook.com ([fe80::6983:abe3:d792:ef71]) by DM6PR11MB4348.namprd11.prod.outlook.com ([fe80::6983:abe3:d792:ef71%5]) with mapi id 15.20.5482.016; Mon, 1 Aug 2022 07:06:22 +0000 From: "Jayatheerthan, Jay" To: David Marchand , "dev@dpdk.org" CC: "Chautru, Nicolas" , Parav Pandit , Xueming Li , Hemant Agrawal , Sachin Saxena , "Stephen Hemminger" , Long Li , "Zhang, Roy Fan" , Sunila Sahu , "Ashish Gupta" , Ajit Khaparde , Raveendra Padasalagi , Vikas Gupta , Chandubabu Namburu , Ankur Dwivedi , Anoob Joseph , Tejasree Kondoj , Gagandeep Singh , "Richardson, Bruce" , "Laatz, Kevin" , "McDaniel, Timothy" , Jerin Jacob , Elena Agostini , "Loftus, Ciara" , "Zhang, Qi Z" , "Shepard Siegel" , Ed Czeck , John Miller , "Webster, Steven" , "Peters, Matt" , Rasesh Mody , Shahed Shaikh , Somnath Kotur , "Rahul Lakkireddy" , "Su, Simei" , "Wu, Wenjun1" , Marcin Wojtas , "Michal Krawczyk" , Shai Brandes , "Evgeny Schemeilin" , Igor Chauskin , "Daley, John" , Hyong Youb Kim , Gaetan Rivet , "Wang, Xiao W" , "Zhang, Yuying" , "Xing, Beilei" , "Wu, Jingjing" , "Yang, Qiming" , Matan Azrad , Viacheslav Ovsiienko , Chaoyong He , "Niklas Soderlund" , Harman Kalra , Devendra Singh Rawat , Andrew Rybchenko , Maciej Czekaj , "Maxime Coquelin" , "Xia, Chenbo" , Jochen Behrens , Jakub Palider , Tomasz Duszynski , Ori Kam , "Akhil Goyal" , Chengwen Feng , "Ray Kinsella" , Thomas Monjalon , Ferruh Yigit , "Gujjar, Abhinandan S" , "Matz, Olivier" , "Pattan, Reshma" Subject: RE: [RFC v3 23/26] dev: hide driver object Thread-Topic: [RFC v3 23/26] dev: hide driver object Thread-Index: AQHYopbEOa9LBw1Y+0WVvSF8/luXj62ZpJ7w Date: Mon, 1 Aug 2022 07:06:21 +0000 Message-ID: References: <20220628144643.1213026-1-david.marchand@redhat.com> <20220728152640.547725-1-david.marchand@redhat.com> <20220728152640.547725-24-david.marchand@redhat.com> In-Reply-To: <20220728152640.547725-24-david.marchand@redhat.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.6.500.17 authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 8255a350-6ae3-4cab-f0b6-08da738c56f4 x-ms-traffictypediagnostic: MN2PR11MB4222: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: +q1SYARc47UFvsyNGmS6aYnwuvFJKwwYpLEWTJ+90Ua3B32rRFdT7IpWN97EJ6ApTPSIXanWYCNV38yA5CzYUS+lKreTDNj3hNvX6JUS3rMpO08ZzZX69zX4xXHOr9up3vGSeBHyiRRBm//gdTGHGMXI+Lmig/9GUINGGVxTLIH3Lp0JDeEfBCxRHN/n/f+TDQ+XFTl7by04D8ex1g7nZ5lUM7hj2H/cDZtIwXQTEDkIrAHX7bYbfiVug0t0qCnmh8Mk7TLDBFAq5DBECBhO1HHDnZHJWbzpHbA2YSICH/OmtKdxu2pV8A+3TyWcNaRqg0twtm6fiawhQBCNu//n0I97Pu9p/XMiEunmnztjtANlQhAzxq0+cSZv/9IlV5a95v1rV8UL3Y6WFwWccKUV0TMeAWSXpBL2wqRIpicGpVfO4BrEqb16VoMKpAh7JFPyYfMPs5UXeqXaLl7v0Gub/i0m5xF857vPhiW5Vx7aiD1+1Ryb0aKFLtJYIky/7n2x4AaBxKrVy8GgxRmBIZBJnT8VhDb0K5dRve8QOVQC2BQVw1tEwBBHQvK7TwHTErdGtSQOC96W/ud/nOehn0gOQfaIBMYutD5nLsHIUhsgKhvp8h+Ixnk5L07PeI++Q4JYNH5UDHzFK8KhtZtD07cChFapgwv7PBuNGX6rtdfEfZM6m8PLYdQDhNBb+99fumZ4DqbQ1prHUgAYa3vEkglGGlQZql9hq7gUeRg+KMdjo1P4wmNCUp8wLm0D29KR3M7UoMdnKXUTN2EYRQ7HvNZXXqbWHniIxMUtcodGSJ9R2rKb7p1TUmbNfw88VpFjWZE9 x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR11MB4348.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230016)(39860400002)(366004)(136003)(376002)(346002)(396003)(33656002)(38100700002)(38070700005)(86362001)(82960400001)(71200400001)(478600001)(41300700001)(110136005)(54906003)(55016003)(186003)(107886003)(9686003)(7696005)(83380400001)(5660300002)(6506007)(52536014)(53546011)(26005)(122000001)(2906002)(7366002)(7406005)(7416002)(8936002)(30864003)(316002)(4326008)(64756008)(66446008)(8676002)(66946007)(66476007)(66556008)(76116006)(579004)(559001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?kNp7tpTA4AtMfrz1sjw+F4XogOm5t8aB01nNUYl1g0x4VIx7pmWfk26NLgL/?= =?us-ascii?Q?dMWk0CrP5vPOmgrjapHdOOHRb46HQxvmiS/PMM7ni9N7cZR2EMuLuUITq/fh?= =?us-ascii?Q?Z3EsACdP7wsrJhPV9TygD1jv9wv3lPn43iP3r3RfzAbnpQ/56p6Kw2P/kjcI?= =?us-ascii?Q?8QKjeAgzBfUdUsx0JPq1TfYWplRaM1q8vHfpZ1wyaTAFx0PcVAZJzoNE+Il8?= =?us-ascii?Q?YHHTYF37MKvj3FHxfInG0wshmkeF7TdEDSjRyeUmoD7pQkBbWWRBxEqSU9m2?= =?us-ascii?Q?Emn1ya/Jafxtj3xB8HeLUiVVCZ1KSh+ZVxCrf5YWxyh2QnSQqH8VvjQwiavt?= =?us-ascii?Q?ZNLvel1yQtsjaeOlyE8q2LJDxqOdcluRCfGPmiSnxyLA3QS3Q1vMiz5w0xZl?= =?us-ascii?Q?rgmVpg0Y4Ir7umWeIPe9KTv1jpc+om/g6n21TJ2Lzegtq/KQ+vnMCUCZ9QsO?= =?us-ascii?Q?hgAk2MunU5HyHDwrQE9nrOII0FlXFl92kuaQehpMWKUeLicu1rKCFllaIvEf?= =?us-ascii?Q?sLIHg7vOCFaGzyWRw+jq9K/LxP/ROnprhm5T7TH0ojhWp/6I01VrVsDq32Ih?= =?us-ascii?Q?pxXZ/NfQ0ccEtNnMF4Bq/axkDfAZfTq3BvuIz26MBZx3kkKT7xyb5i6LAmC4?= =?us-ascii?Q?+cWJcZ42C5vQRS2RZijD7RjnJUwCw1UFE7LaDOPimcbKjvpKhZ1kO2nsap4b?= =?us-ascii?Q?Zw5OmjP06l3NYrNxSKHL67SnTeccACGGlHEbf/dSV0ouM0KHj3rX5zxOtYi9?= =?us-ascii?Q?JhAOQfuBAWGMDbCj6iNrH9JzC9/deTsfM6NrO/HmPtxMeRlK9K9kpUUOBM+W?= =?us-ascii?Q?Jchah1tGfoyAbUCzqdQtuGmY1DcX4R1lQPFcooqvX0/hE4PIjoDxeu8LbwuZ?= =?us-ascii?Q?RdJ0crBfqJ59SWefXdrcXyWc8KQH0ya/xM27ReuAl+flOM6leePOwsExBCz2?= =?us-ascii?Q?s8Yeyz+c/P69F/TQRSmafxfXecmYWoxufKi9F1YS6s0F28GUHcwmI5qzB9zP?= =?us-ascii?Q?oGkqbpyhVgQ4ZYqBg5ZR9uK4HO2DMudps1Wv7jxGK0xk9QVDzEZThNtSu0ML?= =?us-ascii?Q?ngcwwgjg/N5kVDIWgsAOKtaaqjqaL+/2+OzkcA3ZEAt0eVi8RKvdiKoQWRni?= =?us-ascii?Q?/HbFBbMbc3hB5aUxdzbzcBtYclhmdBw1RjkZFqntAV85/ZFhs5MHFDovbS9V?= =?us-ascii?Q?8sdRGp6iMYh2BCtu0Tbm8K8xYpw4XiGnTUzsoBzQfth8i2+V6ufyA7dgxcoY?= =?us-ascii?Q?prceVNGxzu+cVgsTMZ5/6KVpCbwlPJo4ZwlHQSaBCOkNCiRVMcWG+90pUYfo?= =?us-ascii?Q?34NLfKX16AvWyXjXmSAQ/3Q+8mh3fTP1sOt6XQTWpqU2DVD+CLockdZs0zXQ?= =?us-ascii?Q?Ts2Vi/NuxzJ3L1egqnEGMndPCqc4u9swCdj0eMYGcptyhdbola92xdLx7vgk?= =?us-ascii?Q?UBZ9mCHg9/WxXaYXgt6H1BGDgGD0Z1zyAHijYDTnn2XdeN7jwvQuNCi3bNu1?= =?us-ascii?Q?o+ClR1gBXFgAdnnNDuECNVMkm6IV//BTPaCZdm58cRiElQXXDgSqtynNeICg?= =?us-ascii?Q?TTPBc5A6fk14bVXb/Vaijuz8jVcAuwr22Y+8c7gYSClcFM49e97aLSGMpr24?= =?us-ascii?Q?+A=3D=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM6PR11MB4348.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8255a350-6ae3-4cab-f0b6-08da738c56f4 X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Aug 2022 07:06:21.7698 (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: u1B/uGWBxlQTSlor1+J3Gfv7XCvUVK7S2mpwFzKw1GqF93m3dUrrp5u63NMInian4iVDdeFWi+6Nb51N3ygqLauiTxFS3cmKtT6KmURqnYE= X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB4222 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 Looks good to me. Acked-by: Jay Jayatheerthan > -----Original Message----- > From: David Marchand > Sent: Thursday, July 28, 2022 8:57 PM > To: dev@dpdk.org > Cc: Chautru, Nicolas ; Parav Pandit ; Xueming Li ; Hemant > Agrawal ; Sachin Saxena ; Stephen Hemminger ; > Long Li ; Zhang, Roy Fan ;= Sunila Sahu ; Ashish Gupta > ; Ajit Khaparde ; R= aveendra Padasalagi > ; Vikas Gupta ; Chandubabu Namburu ; > Ankur Dwivedi ; Anoob Joseph ; = Tejasree Kondoj ; > Gagandeep Singh ; Richardson, Bruce ; Laatz, Kevin ; > McDaniel, Timothy ; Jerin Jacob ; Elena Agostini ; Loftus, > Ciara ; Zhang, Qi Z ; Shepa= rd Siegel ; Ed Czeck > ; John Miller ; We= bster, Steven ; Peters, > Matt ; Rasesh Mody ; Shahed= Shaikh ; Somnath Kotur > ; Rahul Lakkireddy ; Su, Simei ; Wu, Wenjun1 > ; Marcin Wojtas ; Michal Krawczyk = ; Shai Brandes > ; Evgeny Schemeilin ; Igor Chaus= kin ; Daley, John > ; Hyong Youb Kim ; Gaetan Rivet ; Wang, Xiao W > ; Zhang, Yuying ; Xing, Be= ilei ; Wu, Jingjing > ; Yang, Qiming ; Matan Azra= d ; Viacheslav Ovsiienko > ; Chaoyong He ; Niklas = Soderlund ; Harman > Kalra ; Devendra Singh Rawat ; Andrew Rybchenko > ; Maciej Czekaj ; Max= ime Coquelin ; Xia, > Chenbo ; Jochen Behrens ; Jaku= b Palider ; Tomasz Duszynski > ; Ori Kam ; Akhil Goyal ; Chengwen Feng > ; Ray Kinsella ; Thomas Monjalon = ; Ferruh Yigit > ; Gujjar, Abhinandan S ; Jayatheerthan, Jay ; > Matz, Olivier ; Pattan, Reshma > Subject: [RFC v3 23/26] dev: hide driver object >=20 > Make rte_driver opaque for non internal users. > This will make extending this object possible without breaking the ABI. >=20 > Introduce a new driver header and move rte_driver definition. > Update drivers and library to use the internal header. >=20 > Some applications may have been dereferencing rte_driver objects, mark > this object's accessors as stable. >=20 > Signed-off-by: David Marchand > --- > Changes since RFC v2: > - updated release notes, > - marked accessors as stable, >=20 > --- > doc/guides/rel_notes/release_22_11.rst | 2 ++ > drivers/baseband/acc100/rte_acc100_pmd.c | 2 +- > .../fpga_5gnr_fec/rte_fpga_5gnr_fec.c | 2 +- > drivers/baseband/fpga_lte_fec/fpga_lte_fec.c | 2 +- > drivers/bus/auxiliary/auxiliary_params.c | 2 +- > drivers/bus/auxiliary/bus_auxiliary_driver.h | 2 +- > drivers/bus/dpaa/bus_dpaa_driver.h | 2 +- > drivers/bus/fslmc/bus_fslmc_driver.h | 2 +- > drivers/bus/fslmc/fslmc_vfio.c | 2 +- > drivers/bus/fslmc/portal/dpaa2_hw_dpbp.c | 2 +- > drivers/bus/fslmc/portal/dpaa2_hw_dpci.c | 2 +- > drivers/bus/fslmc/portal/dpaa2_hw_dpio.c | 2 +- > drivers/bus/fslmc/portal/dpaa2_hw_dprc.c | 2 +- > drivers/bus/pci/bus_pci_driver.h | 2 +- > drivers/bus/pci/pci_params.c | 2 +- > drivers/bus/vdev/bus_vdev_driver.h | 2 +- > drivers/bus/vdev/vdev.c | 2 +- > drivers/bus/vdev/vdev_params.c | 2 +- > drivers/bus/vmbus/bus_vmbus_driver.h | 2 +- > drivers/common/qat/dev/qat_dev_gen4.c | 2 +- > drivers/common/qat/qat_qp.c | 2 +- > drivers/compress/zlib/zlib_pmd_ops.c | 2 +- > drivers/crypto/bcmfs/bcmfs_qp.c | 2 +- > drivers/crypto/bcmfs/bcmfs_sym_pmd.c | 2 +- > drivers/crypto/ccp/rte_ccp_pmd.c | 2 +- > drivers/crypto/cnxk/cn10k_cryptodev.c | 2 +- > drivers/crypto/cnxk/cn9k_cryptodev.c | 2 +- > drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 2 +- > drivers/crypto/dpaa_sec/dpaa_sec.c | 2 +- > drivers/crypto/scheduler/scheduler_pmd_ops.c | 2 +- > drivers/dma/idxd/idxd_bus.c | 1 + > drivers/event/dlb2/dlb2.c | 2 +- > drivers/event/dlb2/pf/dlb2_pf.c | 2 +- > drivers/event/dpaa/dpaa_eventdev.c | 2 +- > drivers/event/dpaa2/dpaa2_eventdev.c | 2 +- > drivers/event/dpaa2/dpaa2_hw_dpcon.c | 2 +- > drivers/event/octeontx/ssovf_evdev.c | 2 +- > drivers/event/skeleton/skeleton_eventdev.c | 2 +- > drivers/gpu/cuda/cuda.c | 2 +- > drivers/mempool/dpaa2/dpaa2_hw_mempool.c | 2 +- > drivers/net/af_xdp/rte_eth_af_xdp.c | 2 +- > drivers/net/ark/ark_global.h | 2 +- > drivers/net/avp/avp_ethdev.c | 2 +- > drivers/net/axgbe/axgbe_common.h | 2 +- > drivers/net/bnx2x/bnx2x_ethdev.c | 2 +- > drivers/net/bnxt/bnxt_ethdev.c | 2 +- > drivers/net/bnxt/rte_pmd_bnxt.c | 2 +- > drivers/net/cxgbe/base/t4_hw.c | 2 +- > drivers/net/cxgbe/cxgbe_ethdev.c | 2 +- > drivers/net/cxgbe/cxgbe_main.c | 2 +- > drivers/net/cxgbe/sge.c | 2 +- > drivers/net/dpaa2/base/dpaa2_hw_dpni.c | 2 +- > drivers/net/dpaa2/dpaa2_ethdev.c | 2 +- > drivers/net/dpaa2/dpaa2_recycle.c | 2 +- > drivers/net/dpaa2/dpaa2_rxtx.c | 2 +- > drivers/net/dpaa2/dpaa2_sparser.c | 2 +- > drivers/net/e1000/em_ethdev.c | 2 +- > drivers/net/e1000/igb_ethdev.c | 2 +- > drivers/net/e1000/igb_flow.c | 2 +- > drivers/net/ena/ena_ethdev.h | 2 +- > drivers/net/enic/enic_ethdev.c | 2 +- > drivers/net/enic/enic_vf_representor.c | 2 +- > drivers/net/failsafe/failsafe_private.h | 2 +- > drivers/net/fm10k/fm10k_ethdev.c | 2 +- > drivers/net/i40e/i40e_ethdev.c | 2 +- > drivers/net/iavf/iavf_ethdev.c | 2 +- > drivers/net/iavf/iavf_vchnl.c | 2 +- > drivers/net/ice/ice_dcf.c | 2 +- > drivers/net/ice/ice_dcf_ethdev.c | 2 +- > drivers/net/ixgbe/ixgbe_ethdev.c | 2 +- > drivers/net/ixgbe/ixgbe_flow.c | 2 +- > drivers/net/mlx4/mlx4.c | 2 +- > drivers/net/netvsc/hn_ethdev.c | 2 +- > drivers/net/netvsc/hn_nvs.c | 2 +- > drivers/net/netvsc/hn_rndis.c | 2 +- > drivers/net/netvsc/hn_rxtx.c | 2 +- > drivers/net/nfp/nfp_common.c | 2 +- > drivers/net/nfp/nfp_ethdev.c | 2 +- > drivers/net/octeontx/octeontx_ethdev.c | 2 +- > drivers/net/qede/qede_ethdev.h | 2 +- > drivers/net/sfc/sfc_ethdev.c | 2 +- > drivers/net/sfc/sfc_sw_stats.c | 2 +- > drivers/net/sfc/sfc_sw_stats.h | 2 +- > drivers/net/thunderx/nicvf_ethdev.c | 2 +- > drivers/net/vdev_netvsc/vdev_netvsc.c | 2 +- > drivers/net/virtio/virtio_ethdev.c | 2 +- > drivers/net/virtio/virtio_pci_ethdev.c | 2 +- > drivers/net/vmxnet3/vmxnet3_ethdev.c | 2 +- > drivers/raw/cnxk_bphy/cnxk_bphy.c | 2 +- > drivers/raw/skeleton/skeleton_rawdev.c | 2 +- > drivers/raw/skeleton/skeleton_rawdev_test.c | 2 +- > drivers/regex/mlx5/mlx5_regex_control.c | 2 +- > lib/compressdev/rte_compressdev.c | 2 +- > lib/compressdev/rte_compressdev_pmd.c | 2 +- > lib/compressdev/rte_compressdev_pmd.h | 1 + > lib/cryptodev/cryptodev_pmd.c | 2 +- > lib/cryptodev/cryptodev_pmd.h | 1 + > lib/cryptodev/rte_cryptodev.c | 2 +- > lib/dmadev/rte_dmadev_pmd.h | 2 +- > lib/eal/common/eal_common_dev.c | 2 +- > lib/eal/include/dev_driver.h | 28 +++++++++++++++++++ > lib/eal/include/meson.build | 1 + > lib/eal/include/rte_dev.h | 15 ++-------- > lib/eal/version.map | 4 +-- > lib/ethdev/ethdev_driver.h | 1 + > lib/eventdev/eventdev_pmd.h | 2 +- > lib/eventdev/rte_event_crypto_adapter.c | 2 +- > lib/eventdev/rte_event_eth_rx_adapter.c | 2 +- > lib/eventdev/rte_eventdev.c | 2 +- > lib/gpudev/gpudev_driver.h | 2 +- > lib/mempool/rte_mempool_ops.c | 2 +- > lib/pcapng/rte_pcapng.c | 2 +- > lib/rawdev/rte_rawdev.c | 2 +- > lib/rawdev/rte_rawdev_pmd.h | 2 +- > lib/security/rte_security.c | 2 +- > 115 files changed, 144 insertions(+), 122 deletions(-) > create mode 100644 lib/eal/include/dev_driver.h >=20 > diff --git a/doc/guides/rel_notes/release_22_11.rst b/doc/guides/rel_note= s/release_22_11.rst > index 46bb35ad09..ff1a2d6543 100644 > --- a/doc/guides/rel_notes/release_22_11.rst > +++ b/doc/guides/rel_notes/release_22_11.rst > @@ -94,6 +94,8 @@ API Changes > ``vdev``, ``vmbus`` buses has been marked as an internal API. > External users may still register their driver using the associated dr= iver > headers (see ``enable_driver_sdk`` meson option). > + The ``rte_driver`` object is now opaque and must be manipulated throug= h added > + accessors. >=20 > * raw/ifgpa: The function ``rte_pmd_ifpga_get_pci_bus`` has been removed= . >=20 > diff --git a/drivers/baseband/acc100/rte_acc100_pmd.c b/drivers/baseband/= acc100/rte_acc100_pmd.c > index 801e8920df..e2d9409185 100644 > --- a/drivers/baseband/acc100/rte_acc100_pmd.c > +++ b/drivers/baseband/acc100/rte_acc100_pmd.c > @@ -6,7 +6,7 @@ >=20 > #include > #include > -#include > +#include > #include > #include > #include > diff --git a/drivers/baseband/fpga_5gnr_fec/rte_fpga_5gnr_fec.c b/drivers= /baseband/fpga_5gnr_fec/rte_fpga_5gnr_fec.c > index c1d877c87f..51dd090c1b 100644 > --- a/drivers/baseband/fpga_5gnr_fec/rte_fpga_5gnr_fec.c > +++ b/drivers/baseband/fpga_5gnr_fec/rte_fpga_5gnr_fec.c > @@ -6,7 +6,7 @@ >=20 > #include > #include > -#include > +#include > #include > #include > #include > diff --git a/drivers/baseband/fpga_lte_fec/fpga_lte_fec.c b/drivers/baseb= and/fpga_lte_fec/fpga_lte_fec.c > index f16814e241..036579e3ec 100644 > --- a/drivers/baseband/fpga_lte_fec/fpga_lte_fec.c > +++ b/drivers/baseband/fpga_lte_fec/fpga_lte_fec.c > @@ -6,7 +6,7 @@ >=20 > #include > #include > -#include > +#include > #include > #include > #include > diff --git a/drivers/bus/auxiliary/auxiliary_params.c b/drivers/bus/auxil= iary/auxiliary_params.c > index a889e392c6..e4c7ee0c3b 100644 > --- a/drivers/bus/auxiliary/auxiliary_params.c > +++ b/drivers/bus/auxiliary/auxiliary_params.c > @@ -5,7 +5,7 @@ > #include >=20 > #include > -#include > +#include > #include > #include >=20 > diff --git a/drivers/bus/auxiliary/bus_auxiliary_driver.h b/drivers/bus/a= uxiliary/bus_auxiliary_driver.h > index 1c2d2c04af..58fb7c7f69 100644 > --- a/drivers/bus/auxiliary/bus_auxiliary_driver.h > +++ b/drivers/bus/auxiliary/bus_auxiliary_driver.h > @@ -25,7 +25,7 @@ extern "C" { > #include > #include > #include > -#include > +#include > #include >=20 > #define RTE_BUS_AUXILIARY_NAME "auxiliary" > diff --git a/drivers/bus/dpaa/bus_dpaa_driver.h b/drivers/bus/dpaa/bus_dp= aa_driver.h > index cf66fc0c53..26a83b2cdf 100644 > --- a/drivers/bus/dpaa/bus_dpaa_driver.h > +++ b/drivers/bus/dpaa/bus_dpaa_driver.h > @@ -7,7 +7,7 @@ > #define BUS_DPAA_DRIVER_H >=20 > #include > -#include > +#include > #include > #include >=20 > diff --git a/drivers/bus/fslmc/bus_fslmc_driver.h b/drivers/bus/fslmc/bus= _fslmc_driver.h > index 798ddebf3a..7ac5fe6ff1 100644 > --- a/drivers/bus/fslmc/bus_fslmc_driver.h > +++ b/drivers/bus/fslmc/bus_fslmc_driver.h > @@ -29,7 +29,7 @@ extern "C" { > #include > #include > #include > -#include > +#include > #include > #include > #include > diff --git a/drivers/bus/fslmc/fslmc_vfio.c b/drivers/bus/fslmc/fslmc_vfi= o.c > index 8604e43947..5966776a85 100644 > --- a/drivers/bus/fslmc/fslmc_vfio.c > +++ b/drivers/bus/fslmc/fslmc_vfio.c > @@ -28,7 +28,7 @@ > #include > #include > #include > -#include > +#include > #include >=20 > #include "private.h" > diff --git a/drivers/bus/fslmc/portal/dpaa2_hw_dpbp.c b/drivers/bus/fslmc= /portal/dpaa2_hw_dpbp.c > index cfe4280f87..d7f6e45b7d 100644 > --- a/drivers/bus/fslmc/portal/dpaa2_hw_dpbp.c > +++ b/drivers/bus/fslmc/portal/dpaa2_hw_dpbp.c > @@ -18,7 +18,7 @@ > #include > #include > #include > -#include > +#include > #include > #include >=20 > diff --git a/drivers/bus/fslmc/portal/dpaa2_hw_dpci.c b/drivers/bus/fslmc= /portal/dpaa2_hw_dpci.c > index b7d81b518c..07256ed7ec 100644 > --- a/drivers/bus/fslmc/portal/dpaa2_hw_dpci.c > +++ b/drivers/bus/fslmc/portal/dpaa2_hw_dpci.c > @@ -17,7 +17,7 @@ > #include > #include > #include > -#include > +#include > #include >=20 > #include > diff --git a/drivers/bus/fslmc/portal/dpaa2_hw_dpio.c b/drivers/bus/fslmc= /portal/dpaa2_hw_dpio.c > index 071b0d297d..4aec7b2cd8 100644 > --- a/drivers/bus/fslmc/portal/dpaa2_hw_dpio.c > +++ b/drivers/bus/fslmc/portal/dpaa2_hw_dpio.c > @@ -30,7 +30,7 @@ > #include > #include > #include > -#include > +#include >=20 > #include > #include > diff --git a/drivers/bus/fslmc/portal/dpaa2_hw_dprc.c b/drivers/bus/fslmc= /portal/dpaa2_hw_dprc.c > index 223e34bcba..65e2d799c3 100644 > --- a/drivers/bus/fslmc/portal/dpaa2_hw_dprc.c > +++ b/drivers/bus/fslmc/portal/dpaa2_hw_dprc.c > @@ -10,7 +10,7 @@ > #include >=20 > #include > -#include > +#include >=20 > #include "private.h" > #include > diff --git a/drivers/bus/pci/bus_pci_driver.h b/drivers/bus/pci/bus_pci_d= river.h > index b5c7dee617..0f2f9b5101 100644 > --- a/drivers/bus/pci/bus_pci_driver.h > +++ b/drivers/bus/pci/bus_pci_driver.h > @@ -11,7 +11,7 @@ extern "C" { > #endif >=20 > #include > -#include > +#include > #include >=20 > /** Pathname of PCI devices directory. */ > diff --git a/drivers/bus/pci/pci_params.c b/drivers/bus/pci/pci_params.c > index 39d702a418..d24cc201b8 100644 > --- a/drivers/bus/pci/pci_params.c > +++ b/drivers/bus/pci/pci_params.c > @@ -6,7 +6,7 @@ >=20 > #include > #include > -#include > +#include > #include > #include > #include > diff --git a/drivers/bus/vdev/bus_vdev_driver.h b/drivers/bus/vdev/bus_vd= ev_driver.h > index 36748cdfae..bc7e30d7c6 100644 > --- a/drivers/bus/vdev/bus_vdev_driver.h > +++ b/drivers/bus/vdev/bus_vdev_driver.h > @@ -11,7 +11,7 @@ extern "C" { >=20 > #include > #include > -#include > +#include > #include >=20 > struct rte_vdev_device { > diff --git a/drivers/bus/vdev/vdev.c b/drivers/bus/vdev/vdev.c > index 809a8bb08f..b176b658fc 100644 > --- a/drivers/bus/vdev/vdev.c > +++ b/drivers/bus/vdev/vdev.c > @@ -11,7 +11,7 @@ > #include >=20 > #include > -#include > +#include > #include > #include > #include > diff --git a/drivers/bus/vdev/vdev_params.c b/drivers/bus/vdev/vdev_param= s.c > index 2c72614776..2d10a1e8ad 100644 > --- a/drivers/bus/vdev/vdev_params.c > +++ b/drivers/bus/vdev/vdev_params.c > @@ -4,7 +4,7 @@ >=20 > #include >=20 > -#include > +#include > #include > #include >=20 > diff --git a/drivers/bus/vmbus/bus_vmbus_driver.h b/drivers/bus/vmbus/bus= _vmbus_driver.h > index 3424e791c9..e2475a642d 100644 > --- a/drivers/bus/vmbus/bus_vmbus_driver.h > +++ b/drivers/bus/vmbus/bus_vmbus_driver.h > @@ -12,7 +12,7 @@ extern "C" { >=20 > #include > #include > -#include > +#include >=20 > struct vmbus_channel; > struct vmbus_mon_page; > diff --git a/drivers/common/qat/dev/qat_dev_gen4.c b/drivers/common/qat/d= ev/qat_dev_gen4.c > index 7ffde5f4c8..85d6ddfcf4 100644 > --- a/drivers/common/qat/dev/qat_dev_gen4.c > +++ b/drivers/common/qat/dev/qat_dev_gen4.c > @@ -2,7 +2,7 @@ > * Copyright(c) 2021 Intel Corporation > */ >=20 > -#include > +#include > #include >=20 > #include "qat_device.h" > diff --git a/drivers/common/qat/qat_qp.c b/drivers/common/qat/qat_qp.c > index 4a1be35b47..e58e4ceec0 100644 > --- a/drivers/common/qat/qat_qp.c > +++ b/drivers/common/qat/qat_qp.c > @@ -4,7 +4,7 @@ >=20 > #include > #include > -#include > +#include > #include > #include > #include > diff --git a/drivers/compress/zlib/zlib_pmd_ops.c b/drivers/compress/zlib= /zlib_pmd_ops.c > index 7d657d81bc..445a3baa67 100644 > --- a/drivers/compress/zlib/zlib_pmd_ops.c > +++ b/drivers/compress/zlib/zlib_pmd_ops.c > @@ -4,7 +4,7 @@ >=20 > #include >=20 > -#include > +#include > #include > #include >=20 > diff --git a/drivers/crypto/bcmfs/bcmfs_qp.c b/drivers/crypto/bcmfs/bcmfs= _qp.c > index 61d457f4e0..d1ede5e990 100644 > --- a/drivers/crypto/bcmfs/bcmfs_qp.c > +++ b/drivers/crypto/bcmfs/bcmfs_qp.c > @@ -8,7 +8,7 @@ > #include > #include > #include > -#include > +#include > #include > #include > #include > diff --git a/drivers/crypto/bcmfs/bcmfs_sym_pmd.c b/drivers/crypto/bcmfs/= bcmfs_sym_pmd.c > index bc7fb67218..78272d616c 100644 > --- a/drivers/crypto/bcmfs/bcmfs_sym_pmd.c > +++ b/drivers/crypto/bcmfs/bcmfs_sym_pmd.c > @@ -4,7 +4,7 @@ > */ >=20 > #include > -#include > +#include > #include > #include > #include > diff --git a/drivers/crypto/ccp/rte_ccp_pmd.c b/drivers/crypto/ccp/rte_cc= p_pmd.c > index 6c3e45e333..013f3be1e6 100644 > --- a/drivers/crypto/ccp/rte_ccp_pmd.c > +++ b/drivers/crypto/ccp/rte_ccp_pmd.c > @@ -9,7 +9,7 @@ > #include > #include > #include > -#include > +#include > #include >=20 > #include "ccp_crypto.h" > diff --git a/drivers/crypto/cnxk/cn10k_cryptodev.c b/drivers/crypto/cnxk/= cn10k_cryptodev.c > index 3fd9f3c426..db11ac7444 100644 > --- a/drivers/crypto/cnxk/cn10k_cryptodev.c > +++ b/drivers/crypto/cnxk/cn10k_cryptodev.c > @@ -7,7 +7,7 @@ > #include > #include > #include > -#include > +#include > #include >=20 > #include "cn10k_cryptodev.h" > diff --git a/drivers/crypto/cnxk/cn9k_cryptodev.c b/drivers/crypto/cnxk/c= n9k_cryptodev.c > index bd425f95ff..4cfc1f2150 100644 > --- a/drivers/crypto/cnxk/cn9k_cryptodev.c > +++ b/drivers/crypto/cnxk/cn9k_cryptodev.c > @@ -7,7 +7,7 @@ > #include > #include > #include > -#include > +#include > #include >=20 > #include "cn9k_cryptodev.h" > diff --git a/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c b/drivers/crypto= /dpaa2_sec/dpaa2_sec_dpseci.c > index 0cce861899..3b13578de0 100644 > --- a/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c > +++ b/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c > @@ -17,7 +17,7 @@ > #include > #include > #include > -#include > +#include > #include > #include > #include > diff --git a/drivers/crypto/dpaa_sec/dpaa_sec.c b/drivers/crypto/dpaa_sec= /dpaa_sec.c > index 7e554cb2b1..c6bd785262 100644 > --- a/drivers/crypto/dpaa_sec/dpaa_sec.c > +++ b/drivers/crypto/dpaa_sec/dpaa_sec.c > @@ -19,7 +19,7 @@ > #include > #endif > #include > -#include > +#include > #include > #include > #include > diff --git a/drivers/crypto/scheduler/scheduler_pmd_ops.c b/drivers/crypt= o/scheduler/scheduler_pmd_ops.c > index f3a1bd626c..971f82897c 100644 > --- a/drivers/crypto/scheduler/scheduler_pmd_ops.c > +++ b/drivers/crypto/scheduler/scheduler_pmd_ops.c > @@ -5,7 +5,7 @@ >=20 > #include > #include > -#include > +#include > #include > #include > #include > diff --git a/drivers/dma/idxd/idxd_bus.c b/drivers/dma/idxd/idxd_bus.c > index e30dcfc281..9b7b16c6e3 100644 > --- a/drivers/dma/idxd/idxd_bus.c > +++ b/drivers/dma/idxd/idxd_bus.c > @@ -9,6 +9,7 @@ > #include >=20 > #include > +#include > #include > #include > #include > diff --git a/drivers/event/dlb2/dlb2.c b/drivers/event/dlb2/dlb2.c > index 5a443acff8..759578378f 100644 > --- a/drivers/event/dlb2/dlb2.c > +++ b/drivers/event/dlb2/dlb2.c > @@ -17,7 +17,7 @@ > #include > #include > #include > -#include > +#include > #include > #include > #include > diff --git a/drivers/event/dlb2/pf/dlb2_pf.c b/drivers/event/dlb2/pf/dlb2= _pf.c > index 9f8c6cd8b8..71ac141b66 100644 > --- a/drivers/event/dlb2/pf/dlb2_pf.c > +++ b/drivers/event/dlb2/pf/dlb2_pf.c > @@ -15,7 +15,7 @@ >=20 > #include > #include > -#include > +#include > #include > #include > #include > diff --git a/drivers/event/dpaa/dpaa_eventdev.c b/drivers/event/dpaa/dpaa= _eventdev.c > index aa403f9e06..8e470584ea 100644 > --- a/drivers/event/dpaa/dpaa_eventdev.c > +++ b/drivers/event/dpaa/dpaa_eventdev.c > @@ -14,7 +14,7 @@ > #include > #include > #include > -#include > +#include > #include > #include > #include > diff --git a/drivers/event/dpaa2/dpaa2_eventdev.c b/drivers/event/dpaa2/d= paa2_eventdev.c > index 08df6e223a..1001297cda 100644 > --- a/drivers/event/dpaa2/dpaa2_eventdev.c > +++ b/drivers/event/dpaa2/dpaa2_eventdev.c > @@ -14,7 +14,7 @@ > #include > #include > #include > -#include > +#include > #include > #include > #include > diff --git a/drivers/event/dpaa2/dpaa2_hw_dpcon.c b/drivers/event/dpaa2/d= paa2_hw_dpcon.c > index 3882a9cf1d..a68d3ac154 100644 > --- a/drivers/event/dpaa2/dpaa2_hw_dpcon.c > +++ b/drivers/event/dpaa2/dpaa2_hw_dpcon.c > @@ -17,7 +17,7 @@ > #include > #include > #include > -#include > +#include > #include >=20 > #include > diff --git a/drivers/event/octeontx/ssovf_evdev.c b/drivers/event/octeont= x/ssovf_evdev.c > index fe157c59d5..99fa326ad5 100644 > --- a/drivers/event/octeontx/ssovf_evdev.c > +++ b/drivers/event/octeontx/ssovf_evdev.c > @@ -7,7 +7,7 @@ > #include > #include > #include > -#include > +#include > #include > #include > #include > diff --git a/drivers/event/skeleton/skeleton_eventdev.c b/drivers/event/s= keleton/skeleton_eventdev.c > index 6bd8fec6d4..8513b9a013 100644 > --- a/drivers/event/skeleton/skeleton_eventdev.c > +++ b/drivers/event/skeleton/skeleton_eventdev.c > @@ -12,7 +12,7 @@ > #include > #include > #include > -#include > +#include > #include > #include > #include > diff --git a/drivers/gpu/cuda/cuda.c b/drivers/gpu/cuda/cuda.c > index 2be7b8d2df..a552aabeb8 100644 > --- a/drivers/gpu/cuda/cuda.c > +++ b/drivers/gpu/cuda/cuda.c > @@ -8,7 +8,7 @@ > #include > #include > #include > -#include > +#include >=20 > #include >=20 > diff --git a/drivers/mempool/dpaa2/dpaa2_hw_mempool.c b/drivers/mempool/d= paa2/dpaa2_hw_mempool.c > index 56c629c681..84371d5d1a 100644 > --- a/drivers/mempool/dpaa2/dpaa2_hw_mempool.c > +++ b/drivers/mempool/dpaa2/dpaa2_hw_mempool.c > @@ -20,7 +20,7 @@ > #include > #include > #include > -#include > +#include > #include "rte_dpaa2_mempool.h" >=20 > #include "fslmc_vfio.h" > diff --git a/drivers/net/af_xdp/rte_eth_af_xdp.c b/drivers/net/af_xdp/rte= _eth_af_xdp.c > index fd7be47311..9957de2314 100644 > --- a/drivers/net/af_xdp/rte_eth_af_xdp.c > +++ b/drivers/net/af_xdp/rte_eth_af_xdp.c > @@ -24,7 +24,7 @@ > #include > #include > #include > -#include > +#include > #include > #include > #include > diff --git a/drivers/net/ark/ark_global.h b/drivers/net/ark/ark_global.h > index 748db590c1..71d0b53e03 100644 > --- a/drivers/net/ark/ark_global.h > +++ b/drivers/net/ark/ark_global.h > @@ -15,7 +15,7 @@ > #include > #include > #include > -#include > +#include > #include >=20 > #include "ark_pktdir.h" > diff --git a/drivers/net/avp/avp_ethdev.c b/drivers/net/avp/avp_ethdev.c > index 7c0cb666fb..b2a08f5635 100644 > --- a/drivers/net/avp/avp_ethdev.c > +++ b/drivers/net/avp/avp_ethdev.c > @@ -22,7 +22,7 @@ > #include > #include > #include > -#include > +#include > #include > #include > #include > diff --git a/drivers/net/axgbe/axgbe_common.h b/drivers/net/axgbe/axgbe_c= ommon.h > index b9ebf64fb8..a5d11c5832 100644 > --- a/drivers/net/axgbe/axgbe_common.h > +++ b/drivers/net/axgbe/axgbe_common.h > @@ -33,7 +33,7 @@ > #include > #include > #include > -#include > +#include > #include > #include > #include > diff --git a/drivers/net/bnx2x/bnx2x_ethdev.c b/drivers/net/bnx2x/bnx2x_e= thdev.c > index f36ad30e17..4448cf2de2 100644 > --- a/drivers/net/bnx2x/bnx2x_ethdev.c > +++ b/drivers/net/bnx2x/bnx2x_ethdev.c > @@ -9,7 +9,7 @@ > #include "bnx2x_rxtx.h" >=20 > #include > -#include > +#include > #include > #include >=20 > diff --git a/drivers/net/bnxt/bnxt_ethdev.c b/drivers/net/bnxt/bnxt_ethde= v.c > index e275d3a53f..1460dce2ab 100644 > --- a/drivers/net/bnxt/bnxt_ethdev.c > +++ b/drivers/net/bnxt/bnxt_ethdev.c > @@ -6,7 +6,7 @@ > #include > #include >=20 > -#include > +#include > #include > #include > #include > diff --git a/drivers/net/bnxt/rte_pmd_bnxt.c b/drivers/net/bnxt/rte_pmd_b= nxt.c > index 77ecbef04c..fd1506ddd4 100644 > --- a/drivers/net/bnxt/rte_pmd_bnxt.c > +++ b/drivers/net/bnxt/rte_pmd_bnxt.c > @@ -7,7 +7,7 @@ > #include > #include >=20 > -#include > +#include > #include > #include > #include > diff --git a/drivers/net/cxgbe/base/t4_hw.c b/drivers/net/cxgbe/base/t4_h= w.c > index 384080e6d3..bed755f5d9 100644 > --- a/drivers/net/cxgbe/base/t4_hw.c > +++ b/drivers/net/cxgbe/base/t4_hw.c > @@ -18,7 +18,7 @@ > #include > #include > #include > -#include > +#include > #include >=20 > #include "common.h" > diff --git a/drivers/net/cxgbe/cxgbe_ethdev.c b/drivers/net/cxgbe/cxgbe_e= thdev.c > index fd71a50a58..45bbeaef0c 100644 > --- a/drivers/net/cxgbe/cxgbe_ethdev.c > +++ b/drivers/net/cxgbe/cxgbe_ethdev.c > @@ -31,7 +31,7 @@ > #include > #include > #include > -#include > +#include >=20 > #include "cxgbe.h" > #include "cxgbe_pfvf.h" > diff --git a/drivers/net/cxgbe/cxgbe_main.c b/drivers/net/cxgbe/cxgbe_mai= n.c > index 3c02c98b3d..f8dd833032 100644 > --- a/drivers/net/cxgbe/cxgbe_main.c > +++ b/drivers/net/cxgbe/cxgbe_main.c > @@ -31,7 +31,7 @@ > #include > #include > #include > -#include > +#include > #include >=20 > #include "base/common.h" > diff --git a/drivers/net/cxgbe/sge.c b/drivers/net/cxgbe/sge.c > index 5d91355c9a..5b13cb5c94 100644 > --- a/drivers/net/cxgbe/sge.c > +++ b/drivers/net/cxgbe/sge.c > @@ -30,7 +30,7 @@ > #include > #include > #include > -#include > +#include >=20 > #include "base/common.h" > #include "base/t4_regs.h" > diff --git a/drivers/net/dpaa2/base/dpaa2_hw_dpni.c b/drivers/net/dpaa2/b= ase/dpaa2_hw_dpni.c > index 9509f6e8a3..4d33b51fea 100644 > --- a/drivers/net/dpaa2/base/dpaa2_hw_dpni.c > +++ b/drivers/net/dpaa2/base/dpaa2_hw_dpni.c > @@ -15,7 +15,7 @@ > #include > #include > #include > -#include > +#include >=20 > #include > #include > diff --git a/drivers/net/dpaa2/dpaa2_ethdev.c b/drivers/net/dpaa2/dpaa2_e= thdev.c > index f876f4790c..37a8b43114 100644 > --- a/drivers/net/dpaa2/dpaa2_ethdev.c > +++ b/drivers/net/dpaa2/dpaa2_ethdev.c > @@ -15,7 +15,7 @@ > #include > #include > #include > -#include > +#include > #include > #include > #include "rte_dpaa2_mempool.h" > diff --git a/drivers/net/dpaa2/dpaa2_recycle.c b/drivers/net/dpaa2/dpaa2_= recycle.c > index 932570c6e0..fbfdf360d1 100644 > --- a/drivers/net/dpaa2/dpaa2_recycle.c > +++ b/drivers/net/dpaa2/dpaa2_recycle.c > @@ -14,7 +14,7 @@ > #include > #include > #include > -#include > +#include > #include > #include >=20 > diff --git a/drivers/net/dpaa2/dpaa2_rxtx.c b/drivers/net/dpaa2/dpaa2_rxt= x.c > index 7b9c528d13..9436a95ac8 100644 > --- a/drivers/net/dpaa2/dpaa2_rxtx.c > +++ b/drivers/net/dpaa2/dpaa2_rxtx.c > @@ -13,7 +13,7 @@ > #include > #include > #include > -#include > +#include > #include >=20 > #include > diff --git a/drivers/net/dpaa2/dpaa2_sparser.c b/drivers/net/dpaa2/dpaa2_= sparser.c > index ba0d500f74..63463c4fbf 100644 > --- a/drivers/net/dpaa2/dpaa2_sparser.c > +++ b/drivers/net/dpaa2/dpaa2_sparser.c > @@ -7,7 +7,7 @@ > #include > #include > #include > -#include > +#include >=20 > #include > #include > diff --git a/drivers/net/e1000/em_ethdev.c b/drivers/net/e1000/em_ethdev.= c > index 409de50083..8ee9be12ad 100644 > --- a/drivers/net/e1000/em_ethdev.c > +++ b/drivers/net/e1000/em_ethdev.c > @@ -20,7 +20,7 @@ > #include > #include > #include > -#include > +#include >=20 > #include "e1000_logs.h" > #include "base/e1000_api.h" > diff --git a/drivers/net/e1000/igb_ethdev.c b/drivers/net/e1000/igb_ethde= v.c > index 43979992d3..d6bcc5bf58 100644 > --- a/drivers/net/e1000/igb_ethdev.c > +++ b/drivers/net/e1000/igb_ethdev.c > @@ -22,7 +22,7 @@ > #include > #include > #include > -#include > +#include >=20 > #include "e1000_logs.h" > #include "base/e1000_api.h" > diff --git a/drivers/net/e1000/igb_flow.c b/drivers/net/e1000/igb_flow.c > index e46697b6a1..b775310651 100644 > --- a/drivers/net/e1000/igb_flow.c > +++ b/drivers/net/e1000/igb_flow.c > @@ -21,7 +21,7 @@ > #include > #include > #include > -#include > +#include > #include > #include >=20 > diff --git a/drivers/net/ena/ena_ethdev.h b/drivers/net/ena/ena_ethdev.h > index 4709675af8..4d27fba585 100644 > --- a/drivers/net/ena/ena_ethdev.h > +++ b/drivers/net/ena/ena_ethdev.h > @@ -14,7 +14,7 @@ > #include > #include > #include > -#include > +#include > #include >=20 > #include "ena_com.h" > diff --git a/drivers/net/enic/enic_ethdev.c b/drivers/net/enic/enic_ethde= v.c > index 998436e5e8..cdf0915591 100644 > --- a/drivers/net/enic/enic_ethdev.c > +++ b/drivers/net/enic/enic_ethdev.c > @@ -6,7 +6,7 @@ > #include > #include >=20 > -#include > +#include > #include > #include > #include > diff --git a/drivers/net/enic/enic_vf_representor.c b/drivers/net/enic/en= ic_vf_representor.c > index 7312c411bd..46f85964e9 100644 > --- a/drivers/net/enic/enic_vf_representor.c > +++ b/drivers/net/enic/enic_vf_representor.c > @@ -7,7 +7,7 @@ >=20 > #include > #include > -#include > +#include > #include > #include > #include > diff --git a/drivers/net/failsafe/failsafe_private.h b/drivers/net/failsa= fe/failsafe_private.h > index a80f5e2caf..53a451c1b1 100644 > --- a/drivers/net/failsafe/failsafe_private.h > +++ b/drivers/net/failsafe/failsafe_private.h > @@ -11,7 +11,7 @@ > #include >=20 > #include > -#include > +#include > #include > #include > #include > diff --git a/drivers/net/fm10k/fm10k_ethdev.c b/drivers/net/fm10k/fm10k_e= thdev.c > index 8bbd8b445d..7adb20bff9 100644 > --- a/drivers/net/fm10k/fm10k_ethdev.c > +++ b/drivers/net/fm10k/fm10k_ethdev.c > @@ -7,7 +7,7 @@ > #include > #include > #include > -#include > +#include > #include > #include > #include > diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethde= v.c > index 7bdc453ec1..67111ac251 100644 > --- a/drivers/net/i40e/i40e_ethdev.c > +++ b/drivers/net/i40e/i40e_ethdev.c > @@ -23,7 +23,7 @@ > #include > #include > #include > -#include > +#include > #include > #include > #include > diff --git a/drivers/net/iavf/iavf_ethdev.c b/drivers/net/iavf/iavf_ethde= v.c > index 506fcff6e3..ef2ab06475 100644 > --- a/drivers/net/iavf/iavf_ethdev.c > +++ b/drivers/net/iavf/iavf_ethdev.c > @@ -24,7 +24,7 @@ > #include > #include > #include > -#include > +#include >=20 > #include "iavf.h" > #include "iavf_rxtx.h" > diff --git a/drivers/net/iavf/iavf_vchnl.c b/drivers/net/iavf/iavf_vchnl.= c > index 21bd1e2193..15f695682d 100644 > --- a/drivers/net/iavf/iavf_vchnl.c > +++ b/drivers/net/iavf/iavf_vchnl.c > @@ -19,7 +19,7 @@ > #include > #include > #include > -#include > +#include >=20 > #include "iavf.h" > #include "iavf_rxtx.h" > diff --git a/drivers/net/ice/ice_dcf.c b/drivers/net/ice/ice_dcf.c > index 885d58c0f4..1c3d22ae0f 100644 > --- a/drivers/net/ice/ice_dcf.c > +++ b/drivers/net/ice/ice_dcf.c > @@ -21,7 +21,7 @@ > #include > #include > #include > -#include > +#include >=20 > #include "ice_dcf.h" > #include "ice_rxtx.h" > diff --git a/drivers/net/ice/ice_dcf_ethdev.c b/drivers/net/ice/ice_dcf_e= thdev.c > index 0da267db1f..dee712af98 100644 > --- a/drivers/net/ice/ice_dcf_ethdev.c > +++ b/drivers/net/ice/ice_dcf_ethdev.c > @@ -18,7 +18,7 @@ > #include > #include > #include > -#include > +#include >=20 > #include >=20 > diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_e= thdev.c > index 552e41692c..04c9ce78a2 100644 > --- a/drivers/net/ixgbe/ixgbe_ethdev.c > +++ b/drivers/net/ixgbe/ixgbe_ethdev.c > @@ -30,7 +30,7 @@ > #include > #include > #include > -#include > +#include > #include > #ifdef RTE_LIB_SECURITY > #include > diff --git a/drivers/net/ixgbe/ixgbe_flow.c b/drivers/net/ixgbe/ixgbe_flo= w.c > index 368342872a..67373a7b78 100644 > --- a/drivers/net/ixgbe/ixgbe_flow.c > +++ b/drivers/net/ixgbe/ixgbe_flow.c > @@ -27,7 +27,7 @@ > #include > #include > #include > -#include > +#include > #include > #include > #include > diff --git a/drivers/net/mlx4/mlx4.c b/drivers/net/mlx4/mlx4.c > index 910b76a92c..7e7e1824ef 100644 > --- a/drivers/net/mlx4/mlx4.c > +++ b/drivers/net/mlx4/mlx4.c > @@ -31,7 +31,7 @@ > #endif >=20 > #include > -#include > +#include > #include > #include > #include > diff --git a/drivers/net/netvsc/hn_ethdev.c b/drivers/net/netvsc/hn_ethde= v.c > index ccc06bdda6..d0bbc0a4c0 100644 > --- a/drivers/net/netvsc/hn_ethdev.c > +++ b/drivers/net/netvsc/hn_ethdev.c > @@ -30,7 +30,7 @@ > #include > #include > #include > -#include > +#include > #include > #include > #include > diff --git a/drivers/net/netvsc/hn_nvs.c b/drivers/net/netvsc/hn_nvs.c > index 817fb06dfb..7db82af9f3 100644 > --- a/drivers/net/netvsc/hn_nvs.c > +++ b/drivers/net/netvsc/hn_nvs.c > @@ -28,7 +28,7 @@ > #include > #include > #include > -#include > +#include > #include >=20 > #include "hn_logs.h" > diff --git a/drivers/net/netvsc/hn_rndis.c b/drivers/net/netvsc/hn_rndis.= c > index 20f75a17b0..e6f1f28768 100644 > --- a/drivers/net/netvsc/hn_rndis.c > +++ b/drivers/net/netvsc/hn_rndis.c > @@ -26,7 +26,7 @@ > #include > #include > #include > -#include > +#include > #include >=20 > #include "hn_logs.h" > diff --git a/drivers/net/netvsc/hn_rxtx.c b/drivers/net/netvsc/hn_rxtx.c > index 61cf374224..bc6f60c64a 100644 > --- a/drivers/net/netvsc/hn_rxtx.c > +++ b/drivers/net/netvsc/hn_rxtx.c > @@ -25,7 +25,7 @@ > #include > #include > #include > -#include > +#include > #include > #include > #include > diff --git a/drivers/net/nfp/nfp_common.c b/drivers/net/nfp/nfp_common.c > index 0e55f0c792..eaafe11fb9 100644 > --- a/drivers/net/nfp/nfp_common.c > +++ b/drivers/net/nfp/nfp_common.c > @@ -19,7 +19,7 @@ > #include > #include > #include > -#include > +#include > #include > #include > #include > diff --git a/drivers/net/nfp/nfp_ethdev.c b/drivers/net/nfp/nfp_ethdev.c > index 5cdd34e588..47359501bc 100644 > --- a/drivers/net/nfp/nfp_ethdev.c > +++ b/drivers/net/nfp/nfp_ethdev.c > @@ -16,7 +16,7 @@ > #include > #include > #include > -#include > +#include > #include > #include > #include > diff --git a/drivers/net/octeontx/octeontx_ethdev.c b/drivers/net/octeont= x/octeontx_ethdev.c > index 9ada22e2ff..0eee191566 100644 > --- a/drivers/net/octeontx/octeontx_ethdev.c > +++ b/drivers/net/octeontx/octeontx_ethdev.c > @@ -15,7 +15,7 @@ > #include > #include > #include > -#include > +#include > #include > #include > #include > diff --git a/drivers/net/qede/qede_ethdev.h b/drivers/net/qede/qede_ethde= v.h > index a38b701183..b781bcdcfd 100644 > --- a/drivers/net/qede/qede_ethdev.h > +++ b/drivers/net/qede/qede_ethdev.h > @@ -13,7 +13,7 @@ > #include > #include > #include > -#include > +#include > #include >=20 > /* ecore includes */ > diff --git a/drivers/net/sfc/sfc_ethdev.c b/drivers/net/sfc/sfc_ethdev.c > index 506c62a726..2ec743ebce 100644 > --- a/drivers/net/sfc/sfc_ethdev.c > +++ b/drivers/net/sfc/sfc_ethdev.c > @@ -7,7 +7,7 @@ > * for Solarflare) and Solarflare Communications, Inc. > */ >=20 > -#include > +#include > #include > #include > #include > diff --git a/drivers/net/sfc/sfc_sw_stats.c b/drivers/net/sfc/sfc_sw_stat= s.c > index 81f5aa3cc4..3ae5023b6f 100644 > --- a/drivers/net/sfc/sfc_sw_stats.c > +++ b/drivers/net/sfc/sfc_sw_stats.c > @@ -2,7 +2,7 @@ > * > * Copyright(c) 2021 Xilinx, Inc. > */ > -#include > +#include > #include >=20 > #include "sfc.h" > diff --git a/drivers/net/sfc/sfc_sw_stats.h b/drivers/net/sfc/sfc_sw_stat= s.h > index 1abded8018..d9738e5214 100644 > --- a/drivers/net/sfc/sfc_sw_stats.h > +++ b/drivers/net/sfc/sfc_sw_stats.h > @@ -5,7 +5,7 @@ > #ifndef _SFC_SW_STATS_H > #define _SFC_SW_STATS_H >=20 > -#include > +#include >=20 > #include "sfc.h" >=20 > diff --git a/drivers/net/thunderx/nicvf_ethdev.c b/drivers/net/thunderx/n= icvf_ethdev.c > index 28183ec740..9f57cb1a20 100644 > --- a/drivers/net/thunderx/nicvf_ethdev.c > +++ b/drivers/net/thunderx/nicvf_ethdev.c > @@ -20,7 +20,7 @@ > #include > #include > #include > -#include > +#include > #include > #include > #include > diff --git a/drivers/net/vdev_netvsc/vdev_netvsc.c b/drivers/net/vdev_net= vsc/vdev_netvsc.c > index dc90569df1..c3e045d892 100644 > --- a/drivers/net/vdev_netvsc/vdev_netvsc.c > +++ b/drivers/net/vdev_netvsc/vdev_netvsc.c > @@ -27,7 +27,7 @@ > #include > #include > #include > -#include > +#include > #include > #include > #include > diff --git a/drivers/net/virtio/virtio_ethdev.c b/drivers/net/virtio/virt= io_ethdev.c > index d180162abd..edf3becd32 100644 > --- a/drivers/net/virtio/virtio_ethdev.c > +++ b/drivers/net/virtio/virtio_ethdev.c > @@ -24,7 +24,7 @@ > #include > #include > #include > -#include > +#include > #include > #include >=20 > diff --git a/drivers/net/virtio/virtio_pci_ethdev.c b/drivers/net/virtio/= virtio_pci_ethdev.c > index 2b9e35cef5..abc63b0935 100644 > --- a/drivers/net/virtio/virtio_pci_ethdev.c > +++ b/drivers/net/virtio/virtio_pci_ethdev.c > @@ -16,7 +16,7 @@ >=20 > #include > #include > -#include > +#include > #include >=20 > #include "virtio.h" > diff --git a/drivers/net/vmxnet3/vmxnet3_ethdev.c b/drivers/net/vmxnet3/v= mxnet3_ethdev.c > index 101b1cb500..fd946dec5c 100644 > --- a/drivers/net/vmxnet3/vmxnet3_ethdev.c > +++ b/drivers/net/vmxnet3/vmxnet3_ethdev.c > @@ -30,7 +30,7 @@ > #include > #include > #include > -#include > +#include >=20 > #include "base/vmxnet3_defs.h" >=20 > diff --git a/drivers/raw/cnxk_bphy/cnxk_bphy.c b/drivers/raw/cnxk_bphy/cn= xk_bphy.c > index db029cbf34..909fb8faab 100644 > --- a/drivers/raw/cnxk_bphy/cnxk_bphy.c > +++ b/drivers/raw/cnxk_bphy/cnxk_bphy.c > @@ -3,7 +3,7 @@ > */ > #include > #include > -#include > +#include > #include > #include > #include > diff --git a/drivers/raw/skeleton/skeleton_rawdev.c b/drivers/raw/skeleto= n/skeleton_rawdev.c > index 19b523a815..a06b724866 100644 > --- a/drivers/raw/skeleton/skeleton_rawdev.c > +++ b/drivers/raw/skeleton/skeleton_rawdev.c > @@ -13,7 +13,7 @@ > #include > #include > #include > -#include > +#include > #include > #include > #include > diff --git a/drivers/raw/skeleton/skeleton_rawdev_test.c b/drivers/raw/sk= eleton/skeleton_rawdev_test.c > index fc257c5f44..8ef7a6b127 100644 > --- a/drivers/raw/skeleton/skeleton_rawdev_test.c > +++ b/drivers/raw/skeleton/skeleton_rawdev_test.c > @@ -6,7 +6,7 @@ > #include > #include > #include > -#include > +#include > #include > #include > #include > diff --git a/drivers/regex/mlx5/mlx5_regex_control.c b/drivers/regex/mlx5= /mlx5_regex_control.c > index 6ab62a12fc..92cf5f495e 100644 > --- a/drivers/regex/mlx5/mlx5_regex_control.c > +++ b/drivers/regex/mlx5/mlx5_regex_control.c > @@ -11,7 +11,7 @@ > #include > #include > #include > -#include > +#include >=20 > #include > #include > diff --git a/lib/compressdev/rte_compressdev.c b/lib/compressdev/rte_comp= ressdev.c > index 7f6dedbc52..639a0d66ca 100644 > --- a/lib/compressdev/rte_compressdev.c > +++ b/lib/compressdev/rte_compressdev.c > @@ -9,7 +9,7 @@ > #include > #include > #include > -#include > +#include > #include > #include >=20 > diff --git a/lib/compressdev/rte_compressdev_pmd.c b/lib/compressdev/rte_= compressdev_pmd.c > index 9bfae077db..41f1415bea 100644 > --- a/lib/compressdev/rte_compressdev_pmd.c > +++ b/lib/compressdev/rte_compressdev_pmd.c > @@ -5,7 +5,7 @@ > #include > #include > #include > -#include > +#include > #include >=20 > #include "rte_compressdev_internal.h" > diff --git a/lib/compressdev/rte_compressdev_pmd.h b/lib/compressdev/rte_= compressdev_pmd.h > index 9fabc399c5..72e52f876f 100644 > --- a/lib/compressdev/rte_compressdev_pmd.h > +++ b/lib/compressdev/rte_compressdev_pmd.h > @@ -19,6 +19,7 @@ extern "C" { >=20 > #include >=20 > +#include >=20 > #include "rte_compressdev.h" > #include "rte_compressdev_internal.h" > diff --git a/lib/cryptodev/cryptodev_pmd.c b/lib/cryptodev/cryptodev_pmd.= c > index 75d0075b86..f07b92dfd7 100644 > --- a/lib/cryptodev/cryptodev_pmd.c > +++ b/lib/cryptodev/cryptodev_pmd.c > @@ -4,7 +4,7 @@ >=20 > #include >=20 > -#include > +#include > #include > #include > #include > diff --git a/lib/cryptodev/cryptodev_pmd.h b/lib/cryptodev/cryptodev_pmd.= h > index 3dcc3cb7ed..96d7e225b0 100644 > --- a/lib/cryptodev/cryptodev_pmd.h > +++ b/lib/cryptodev/cryptodev_pmd.h > @@ -19,6 +19,7 @@ extern "C" { >=20 > #include >=20 > +#include > #include > #include > #include > diff --git a/lib/cryptodev/rte_cryptodev.c b/lib/cryptodev/rte_cryptodev.= c > index 42f3221052..1dad092317 100644 > --- a/lib/cryptodev/rte_cryptodev.c > +++ b/lib/cryptodev/rte_cryptodev.c > @@ -13,7 +13,7 @@ >=20 > #include > #include > -#include > +#include > #include > #include > #include > diff --git a/lib/dmadev/rte_dmadev_pmd.h b/lib/dmadev/rte_dmadev_pmd.h > index 82ab7a8cc7..acd7f71cd1 100644 > --- a/lib/dmadev/rte_dmadev_pmd.h > +++ b/lib/dmadev/rte_dmadev_pmd.h > @@ -14,7 +14,7 @@ > * by any application. > */ >=20 > -#include > +#include >=20 > #include "rte_dmadev.h" >=20 > diff --git a/lib/eal/common/eal_common_dev.c b/lib/eal/common/eal_common_= dev.c > index 16c5aef1d8..98f3c78795 100644 > --- a/lib/eal/common/eal_common_dev.c > +++ b/lib/eal/common/eal_common_dev.c > @@ -9,7 +9,7 @@ >=20 > #include > #include > -#include > +#include > #include > #include > #include > diff --git a/lib/eal/include/dev_driver.h b/lib/eal/include/dev_driver.h > new file mode 100644 > index 0000000000..015188abd5 > --- /dev/null > +++ b/lib/eal/include/dev_driver.h > @@ -0,0 +1,28 @@ > +/* SPDX-License-Identifier: BSD-3-Clause > + * Copyright (c) 2022 Red Hat, Inc. > + */ > + > +#ifndef DEV_DRIVER_H > +#define DEV_DRIVER_H > + > +#ifdef __cplusplus > +extern "C" { > +#endif > + > +#include > +#include > + > +/** > + * A structure describing a device driver. > + */ > +struct rte_driver { > + RTE_TAILQ_ENTRY(rte_driver) next; /**< Next in list. */ > + const char *name; /**< Driver name. */ > + const char *alias; /**< Driver alias. */ > +}; > + > +#ifdef __cplusplus > +} > +#endif > + > +#endif /* DEV_DRIVER_H */ > diff --git a/lib/eal/include/meson.build b/lib/eal/include/meson.build > index 77d8621a51..cfcd40aaed 100644 > --- a/lib/eal/include/meson.build > +++ b/lib/eal/include/meson.build > @@ -57,6 +57,7 @@ headers +=3D files( >=20 > driver_sdk_headers =3D files( > 'bus_driver.h', > + 'dev_driver.h', > ) >=20 > # special case install the generic headers, since they go in a subdir > diff --git a/lib/eal/include/rte_dev.h b/lib/eal/include/rte_dev.h > index fedf67fba1..38057cc0ef 100644 > --- a/lib/eal/include/rte_dev.h > +++ b/lib/eal/include/rte_dev.h > @@ -23,6 +23,8 @@ extern "C" { > #include > #include >=20 > +struct rte_driver; > + > /** > * The device event type. > */ > @@ -53,27 +55,14 @@ struct rte_mem_resource { > void *addr; /**< Virtual address, NULL when not mapped. */ > }; >=20 > -/** > - * A structure describing a device driver. > - */ > -struct rte_driver { > - RTE_TAILQ_ENTRY(rte_driver) next; /**< Next in list. */ > - const char *name; /**< Driver name. */ > - const char *alias; /**< Driver alias. */ > -}; > - > /** > * Retrieve a driver name. > * > - * @warning > - * @b EXPERIMENTAL: this API may change without prior notice > - * > * @param driver > * A pointer to a driver structure. > * @return > * A pointer to the driver name string. > */ > -__rte_experimental > const char * > rte_driver_name(const struct rte_driver *driver); >=20 > diff --git a/lib/eal/version.map b/lib/eal/version.map > index d10fd89458..8b53a1d258 100644 > --- a/lib/eal/version.map > +++ b/lib/eal/version.map > @@ -37,6 +37,7 @@ DPDK_23 { > rte_devargs_parsef; > rte_devargs_remove; > rte_devargs_type_count; > + rte_driver_name; > rte_dump_physmem_layout; > rte_dump_stack; > rte_dump_tailq; > @@ -423,9 +424,6 @@ EXPERIMENTAL { > rte_thread_self; > rte_thread_set_affinity_by_id; > rte_thread_set_priority; > - > - # added in 22.11 > - rte_driver_name; > }; >=20 > INTERNAL { > diff --git a/lib/ethdev/ethdev_driver.h b/lib/ethdev/ethdev_driver.h > index 5101868ea7..47a55a419e 100644 > --- a/lib/ethdev/ethdev_driver.h > +++ b/lib/ethdev/ethdev_driver.h > @@ -19,6 +19,7 @@ extern "C" { > * > */ >=20 > +#include > #include >=20 > /** > diff --git a/lib/eventdev/eventdev_pmd.h b/lib/eventdev/eventdev_pmd.h > index 69402668d8..def6cd0876 100644 > --- a/lib/eventdev/eventdev_pmd.h > +++ b/lib/eventdev/eventdev_pmd.h > @@ -22,7 +22,7 @@ extern "C" { > #include > #include > #include > -#include > +#include > #include > #include > #include > diff --git a/lib/eventdev/rte_event_crypto_adapter.c b/lib/eventdev/rte_e= vent_crypto_adapter.c > index 7c695176f4..5bc10312fc 100644 > --- a/lib/eventdev/rte_event_crypto_adapter.c > +++ b/lib/eventdev/rte_event_crypto_adapter.c > @@ -6,7 +6,7 @@ > #include > #include > #include > -#include > +#include > #include > #include > #include > diff --git a/lib/eventdev/rte_event_eth_rx_adapter.c b/lib/eventdev/rte_e= vent_eth_rx_adapter.c > index bf8741d2ea..4f4efdae9f 100644 > --- a/lib/eventdev/rte_event_eth_rx_adapter.c > +++ b/lib/eventdev/rte_event_eth_rx_adapter.c > @@ -9,7 +9,7 @@ >=20 > #include > #include > -#include > +#include > #include > #include > #include > diff --git a/lib/eventdev/rte_eventdev.c b/lib/eventdev/rte_eventdev.c > index 1dc4f966be..54abee2b3f 100644 > --- a/lib/eventdev/rte_eventdev.c > +++ b/lib/eventdev/rte_eventdev.c > @@ -12,7 +12,7 @@ >=20 > #include > #include > -#include > +#include > #include > #include > #include > diff --git a/lib/gpudev/gpudev_driver.h b/lib/gpudev/gpudev_driver.h > index 0e55b00bfe..23972b3dbd 100644 > --- a/lib/gpudev/gpudev_driver.h > +++ b/lib/gpudev/gpudev_driver.h > @@ -14,7 +14,7 @@ > #include > #include >=20 > -#include > +#include >=20 > #include "rte_gpudev.h" >=20 > diff --git a/lib/mempool/rte_mempool_ops.c b/lib/mempool/rte_mempool_ops.= c > index d60235a7e3..058ad147a5 100644 > --- a/lib/mempool/rte_mempool_ops.c > +++ b/lib/mempool/rte_mempool_ops.c > @@ -10,7 +10,7 @@ > #include > #include > #include > -#include > +#include >=20 > #include "rte_mempool_trace.h" >=20 > diff --git a/lib/pcapng/rte_pcapng.c b/lib/pcapng/rte_pcapng.c > index 72aabd4dd0..af2b814251 100644 > --- a/lib/pcapng/rte_pcapng.c > +++ b/lib/pcapng/rte_pcapng.c > @@ -14,7 +14,7 @@ > #include > #include > #include > -#include > +#include > #include > #include > #include > diff --git a/lib/rawdev/rte_rawdev.c b/lib/rawdev/rte_rawdev.c > index 2f0a4f132e..bc51258143 100644 > --- a/lib/rawdev/rte_rawdev.c > +++ b/lib/rawdev/rte_rawdev.c > @@ -12,7 +12,7 @@ >=20 > #include > #include > -#include > +#include > #include > #include > #include > diff --git a/lib/rawdev/rte_rawdev_pmd.h b/lib/rawdev/rte_rawdev_pmd.h > index 3b7be57d3e..a51944c8ff 100644 > --- a/lib/rawdev/rte_rawdev_pmd.h > +++ b/lib/rawdev/rte_rawdev_pmd.h > @@ -19,7 +19,7 @@ extern "C" { >=20 > #include >=20 > -#include > +#include > #include > #include > #include > diff --git a/lib/security/rte_security.c b/lib/security/rte_security.c > index 046b6496d2..d036ed33f6 100644 > --- a/lib/security/rte_security.c > +++ b/lib/security/rte_security.c > @@ -6,7 +6,7 @@ >=20 > #include > #include > -#include > +#include > #include > #include "rte_security.h" > #include "rte_security_driver.h" > -- > 2.36.1