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 BF680A0542; Tue, 6 Sep 2022 08:47:01 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5B8E840143; Tue, 6 Sep 2022 08:47:01 +0200 (CEST) Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by mails.dpdk.org (Postfix) with ESMTP id 98A9A400D6 for ; Tue, 6 Sep 2022 08:46:59 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1662446819; x=1693982819; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=G8G5E/753bSqnGsBS8kp8Cd4RPxfnDPyNYvqkaw4T6Q=; b=gMIkMaWpL6+Y/QEe1O3YmSh8frsVMIv+e5z8wuKrI5w7oKMkRgu5FoSt 9D9fE5SdiWcizr8LKaa1a+FFnvFNZVKcXP2Iwmp3wHopuO0etlrKNZm91 W4WdCTrHPZnzr9x5mJ3X/PqGhSKhy0ZSYORrAtcGHfCcAvWbDbP8rFY6D rCJiUfedlHwMzcb4II0w2u44UkV4o55pGezhMUVc+BO3rIS5XUdMNys7/ X+wT28nT0Zz/cRkPikWi/pW9qMG/GOQ4TGxM0rYWhOtNem4QOk7TdsGTs EEaoJnskpPBA6eERncAEpREQpfIrktR0JgO7IFEJkBiOh98eLOyOTsZrM Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10461"; a="358234377" X-IronPort-AV: E=Sophos;i="5.93,293,1654585200"; d="scan'208";a="358234377" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Sep 2022 23:46:48 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,293,1654585200"; d="scan'208";a="591150335" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by orsmga006.jf.intel.com with ESMTP; 05 Sep 2022 23:46:48 -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.31; Mon, 5 Sep 2022 23:46:47 -0700 Received: from orsmsx601.amr.corp.intel.com (10.22.229.14) 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.31; Mon, 5 Sep 2022 23:46:47 -0700 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31 via Frontend Transport; Mon, 5 Sep 2022 23:46:47 -0700 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (104.47.70.102) 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.31; Mon, 5 Sep 2022 23:46:46 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZioTjhcgMqp1QrkA45Y3qDxhqvAmFafCmHKzJNoJ5VCJBrW8xHrUn6morSvPDu2EbPH/vSMQ4x9Awb8nx3T6kA7VKR5QS99oXyyDeZqiZAb8GGlwK1S7shUdepb4OfFq9+fGsSTdZ4hJKvKqba9AerDBamHxIMN4zZBT8cmh+QE6tDXt8k3bd4iqSQ37i6NtIEx47vQ28Hb9bnYGQ5CffBHwpTLDvM46ZquHAk9HD9iFoazQqnuUi1wUnt0FDP2e1Y7zPoGhkVwubGVgFrvB6QxxROnn622HLIei5gc/sOmbalaqxfBU+uxpxo70xkul3uXuh1wfCtAoJ9XgWpYmVg== 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=fiSNFtlZMB4D3+QTXYEf3W63hNYxRbu0aIiZ73IKMRE=; b=oCaR8bmX5e9VezeI08dw7LgcVelvFUD5aHXHt6jRzbD6muvDdn2zlN8LN585keyTAVfzj9odqkNKTfQO2GqUONKxuxFdFQozUtwP+4h0GGS5XQuOv/UlrxIMfMicCul0zESprYgGaRVaAYFvpaWmQdn9l8nccIzlS8xxr348Ds6wfDvXE7QfT4PRWx6YpPwlFQaFmX+Eh1og9/UgGmITBFqIMJHjwsitRSb5iLdtQjM3fZj9IasPfNeyiPJTQJmQgPqZjNZbVysBMQL1uW2CbzUGh+aDWvgNhh+sdQfm8en9rJH/oJeDzMz82rBz+bXowPZLn7Ug72FCQmOwKePkuw== 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 PH0PR11MB5832.namprd11.prod.outlook.com (2603:10b6:510:141::7) by BN6PR11MB1443.namprd11.prod.outlook.com (2603:10b6:405:8::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5588.11; Tue, 6 Sep 2022 06:46:42 +0000 Received: from PH0PR11MB5832.namprd11.prod.outlook.com ([fe80::4d72:c4bd:d0b1:9a4e]) by PH0PR11MB5832.namprd11.prod.outlook.com ([fe80::4d72:c4bd:d0b1:9a4e%4]) with mapi id 15.20.5588.011; Tue, 6 Sep 2022 06:46:42 +0000 From: "Gujjar, Abhinandan S" To: David Marchand , "dev@dpdk.org" CC: "thomas@monjalon.net" , "Richardson, Bruce" , "Jayatheerthan, Jay" , Ajit Khaparde , "Chautru, Nicolas" , Parav Pandit , Xueming Li , Hemant Agrawal , Sachin Saxena , "Stephen Hemminger" , Long Li , "Zhang, Roy Fan" , Sunila Sahu , "Ashish Gupta" , Raveendra Padasalagi , Vikas Gupta , Chandubabu Namburu , Ankur Dwivedi , Anoob Joseph , Tejasree Kondoj , Gagandeep Singh , "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" , Ferruh Yigit , "Matz, Olivier" , "Pattan, Reshma" Subject: RE: [PATCH v5 23/27] dev: hide driver object Thread-Topic: [PATCH v5 23/27] dev: hide driver object Thread-Index: AQHYwQNcHvcRs1Ecgk24e8zJVI4h+63R9ogQ Date: Tue, 6 Sep 2022 06:46:41 +0000 Message-ID: References: <20220628144643.1213026-1-david.marchand@redhat.com> <20220905083933.2506819-1-david.marchand@redhat.com> <20220905083933.2506819-24-david.marchand@redhat.com> In-Reply-To: <20220905083933.2506819-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: fb1e4cad-29fb-42f5-d600-08da8fd38e94 x-ms-traffictypediagnostic: BN6PR11MB1443: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: QFjQs0oOLqHLKf3Vp2SqSs8Wry6d5WuIerMwUVijAZwZ4mSfksKcWZ7xcqzte0ne9MTJ1OnyJ+IWct0yDNdrO52l9j9nqajfzIhWpwZJDJZSlr33/ggfUNVqMTkfy0snEnDhCUCEUymvl9e8vdkPM7JzVBdbAZDVXjE02WIzb6Ud/AkzIg/cWRIAYZbyqSSSyPpOa3u5L/W2L2ZPSV3Aa9AEJkWyPxqNJ4JcahBPItU78aVMtry+RhScYbhnLPuJmNqRgIX0ekUJMcH5OgalbzKguyvoItxWU3xU/JGvNtojLF7UmjMJ1/6UV2xX2P7ujgU09lmodoccI2HZ/jzdaJIe8rJ9WYz1Vj9Ycd73k6VoZpnyfPbuptfg5ehZ9WaHoXqX2PCRqV4eEcsWpTR12Gv307X6gRG66s80ibQigtCxH7yByfXb3gz8lFhhdbj21IwLK1sNXNXxmHtt2HL8QmZ3llx4S4Op3Wxlqt89Zgf3KAcxIRWTddPPmCKshA7YgqLOegWefOT8DLXdiG2ocW57CZiUfP4kQIyB92WdWJg9odYkJp8J6SFbUgwojO33D6z/uAu5qYpQLtXbGrzWi9hiisvCGTcs97dVexOF1DGlWqc4T0S7/YlIyTCcc/isqAW5fMpRRiODVZ43JvGVoUbrgUG+Zk+gNzj7q63UoB/VBngZnOaAce2UZR9oDW+wSqMMa5afVh3X2+FkUBjMZdXHYOwZfJooGevgJUosCyhAcItGM/AhriCZnmYOXzWqmJJ2bIwJKKs6x1zxde/xmQ== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR11MB5832.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230016)(366004)(346002)(136003)(39860400002)(376002)(396003)(7406005)(8676002)(41300700001)(38070700005)(71200400001)(186003)(5660300002)(52536014)(110136005)(82960400001)(8936002)(33656002)(54906003)(316002)(83380400001)(6506007)(9686003)(26005)(66946007)(76116006)(86362001)(55236004)(2906002)(122000001)(53546011)(7696005)(478600001)(30864003)(7416002)(55016003)(66446008)(38100700002)(66476007)(7366002)(4326008)(66556008)(64756008)(107886003)(559001)(579004); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?spcq8j2fc7RMn3RXSSACa91EiCcH5R4zoC5fneBpQla4XnDxtzfuFpRdusY4?= =?us-ascii?Q?JQVhrtmBf8JT4FjRjQxizc4WNWHSOPBLy9lVK847uTOK187QFidrsrseFvmn?= =?us-ascii?Q?wYePbfwxZKBK+1CqH22Sj0bJDqFfYKXf226BkDXBjBnTEJZ4FqLS0mHhlbJh?= =?us-ascii?Q?Hbc+veTqHH6KbczzBu4a1osLwp5jK3oHuZGSYUvetdjkj9hSenyzzaZXwWJr?= =?us-ascii?Q?Kbw7vHLdKBF6Y0X4Orp/87LvH6ObJU3VbJd4hor8E+pQL56kBh9Rtmb+I3CL?= =?us-ascii?Q?67ef6iM9b95i4JFCKqR1R9q7UUUTpsuvwa3q5ljfHJjZEkH0U4I31Z4EOTlU?= =?us-ascii?Q?uifPCKDcwjKCIXHUU6jHWiXxbE2JPc/J0Qus7Li9BevHUvDAQK2RbRXvGL7M?= =?us-ascii?Q?3ND3rFuCY3fq33XSytIBlenDhcyWzypCGfFAnB4rMf7yoC7aiAIoXHQj5/PS?= =?us-ascii?Q?x6bb+pwUzp84bQ0pxboqvtCHc/H+z8THAARvWI7n8WkvkP1g2KzT1MFrHIHE?= =?us-ascii?Q?T0vfQui+OIqBKXI+buIrj7qC4A38pFXsiQP51EfBfTbAWWc7r3QTZTwwUS/Q?= =?us-ascii?Q?WYLtAPeqOCVB43Bzj4zCTW1xJClxfAyOxYKej5VWh89FpViWpFlKyol+yt63?= =?us-ascii?Q?wuMYkojzLqtJyF7untHwd5sVGdjL3RkrCkJ05ECAsUX6NJH9YfGJ9ZddKixZ?= =?us-ascii?Q?x0CM4OJNHQrYxyebUvgPU/YFil5iSXkQdyAb/A1UbVruxspbVoGzOlv1kOxN?= =?us-ascii?Q?pti5CM9sfyhOQNmNJEIr2nWnVpTBddCz7OL15yopgvS0Lq01o0zi4mtqMWD1?= =?us-ascii?Q?Vc07+xlWwpmoTHqAHYw+OIDt4q/XRfdcNj2sJnBH81IOUtk/yiQ2lc0m9GiX?= =?us-ascii?Q?wHTF9Mk7k8qm8RVmmFmjeuhM/6jK55IFpzwLrpmC7aE2K46T+m51A7ZtWAnm?= =?us-ascii?Q?sxbs3fCMxYyM26NlyZR4heHRHTM3ELbpQllUhDlNKSD6mdfjsmVO+cup5E17?= =?us-ascii?Q?5uD2/d0cY9/VQfmAVRIzMk5Ct9vXF5cho40CxEv6Ui4bdEWVTh5BGYDNpnyT?= =?us-ascii?Q?kfDD7lLztH0eIl92nRv0+bJBRv8uma1385jadWZ31KSz8KeE61WmK5LhyHbB?= =?us-ascii?Q?XFRXF0jVdiv1tUl1kOILnoLMsLQXCW4BmVamLPDLO8XBouszkxpk8wZ74Z7H?= =?us-ascii?Q?tKi60Q17kuL65dNehzvvPsYHjs8p2ilmLdIxl7F3tob0xTqHfoxQJWZBE77o?= =?us-ascii?Q?Q+ve59v4JosBBkS/FeFJREJ/3kxZ3j2R76jWtr/pteGRg9K9dzyq1UvsiYEM?= =?us-ascii?Q?47qI5GCm5P6V6qq3FGxcA3vcCxHRO+qfcnZpiEfwTLEsGa67HgmROz5hGGvs?= =?us-ascii?Q?cl30HKUilt7gtbDT1csmUWLJdM/nblu6reKaOUhsdnVizrLEaVPf65XpqzmC?= =?us-ascii?Q?VAjmgo1kLzJZN9v4ZAnEtc+ytFk53hufLe/wP1a5Y4wz7EjBPExpT/DciXAP?= =?us-ascii?Q?PqzaJ+TwM5zM5Myphty3fd6yoX422yKWQZNar03nlrLWe2+nX46CyDrZTJwz?= =?us-ascii?Q?Of4rbSwg3+nswp36Kp7PNQB/3XFJKmoquGYZiTmOQfuysP6gps0QBu090LZF?= =?us-ascii?Q?Hw=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: PH0PR11MB5832.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: fb1e4cad-29fb-42f5-d600-08da8fd38e94 X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Sep 2022 06:46:41.9179 (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: GEUvqhXO/RwFqUmox7LTp+Uew73z/kInScusVqGK6L4c3wNoE5rzxHZFwcpHkdbtQSayhtFIgIVPF5zkA7pK4YtmsrBoBa1fZZlpaxHOHeI= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR11MB1443 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 Acked-by: Abhinandan Gujjar > -----Original Message----- > From: David Marchand > Sent: Monday, September 5, 2022 2:09 PM > To: dev@dpdk.org > Cc: thomas@monjalon.net; Richardson, Bruce ; > Jayatheerthan, Jay ; Ajit Khaparde > ; Chautru, Nicolas > ; Parav Pandit ; Xueming Li > ; Hemant Agrawal ; > Sachin Saxena ; Stephen Hemminger > ; Long Li ; Zhang, Roy Fan > ; Sunila Sahu ; Ashish Gupta > ; Raveendra Padasalagi > ; Vikas Gupta > ; Chandubabu Namburu ; > Ankur Dwivedi ; Anoob Joseph > ; Tejasree Kondoj ; > Gagandeep Singh ; Laatz, Kevin ; > McDaniel, Timothy ; Jerin Jacob > ; Elena Agostini ; Loftus, Ciar= a > ; Zhang, Qi Z ; Shepard Sie= gel > ; 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 ; Yan= g, > 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 ; Ferruh > Yigit ; Gujjar, Abhinandan S > ; Matz, Olivier ; > Pattan, Reshma > Subject: [PATCH v5 23/27] 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 > Acked-by: Bruce Richardson > Acked-by: Jay Jayatheerthan > Acked-by: Ajit Khaparde > --- > 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_notes/release_22_11.rst > index 36df0ccf93..4e20345b7a 100644 > --- a/doc/guides/rel_notes/release_22_11.rst > +++ b/doc/guides/rel_notes/release_22_11.rst > @@ -98,6 +98,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/baseband/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/auxiliary/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/auxiliary/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_dpaa_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_vdev_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/dev/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 5916e745e2..9cbd19a481 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_ccp_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/cn9k_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/crypto/scheduler/scheduler_pmd_ops.c > index 83ae6b6be9..11b559e025 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/dpaa2_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/dpaa2_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/octeontx/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/skeleton/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/dpaa2/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_common.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_ethdev.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_bnxt.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_ethdev.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/base/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_ethdev.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/enic_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/failsafe/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_ethdev.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_ethdev.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/octeontx/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/nicvf_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_netvsc/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/virtio_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/vmxnet3_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/cnxk_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/skeleton/skeleton_rawdev.c > index 6831cc8d20..5dd5bbb652 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/skeleton/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_compressdev.c > index e997bd01ed..cf2c20a704 100644 > --- a/lib/compressdev/rte_compressdev.c > +++ b/lib/compressdev/rte_compressdev.c > @@ -8,7 +8,7 @@ >=20 > #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 6250302f3b..29c9c55131 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 ddea163cca..7214f5d7fb 100644 > --- a/lib/eal/include/rte_dev.h > +++ b/lib/eal/include/rte_dev.h > @@ -24,6 +24,8 @@ extern "C" { > #include > #include >=20 > +struct rte_driver; > + > /** > * The device event type. > */ > @@ -67,27 +69,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_event_crypto_adapter.c > index 4938b4ee07..a8ef5bac06 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_event_eth_rx_adapter.c > index 8e81cf774d..29515401bd 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 79b905e9fc..bbb027aa0c 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 ac32c4bb72..3b43edc548 100644 > --- a/lib/mempool/rte_mempool_ops.c > +++ b/lib/mempool/rte_mempool_ops.c > @@ -9,7 +9,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 e157d65332..569e836560 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 1a2a408f0e..94160f4177 100644 > --- a/lib/security/rte_security.c > +++ b/lib/security/rte_security.c > @@ -5,7 +5,7 @@ > */ >=20 > #include > -#include > +#include > #include > #include "rte_security.h" > #include "rte_security_driver.h" > -- > 2.37.2