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 5CDEEA0093; Fri, 29 Jul 2022 04:37:45 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4DACE40151; Fri, 29 Jul 2022 04:37:45 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id E99924014F for ; Fri, 29 Jul 2022 04:37:43 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1659062264; x=1690598264; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=cYVDvP7qeO/g/x3IkLukMKAANStAlrtE+db4CekDM5M=; b=fGJIDn2NCJ6oA+LZISR+qnunar5Wd/YQArarqJ2XAVTu0bNcmJMvN4fu MC2VutCkIdiwF61FnK5/Ifxtd4P+EymQo/KmCjmYv4A088ubLfZPiPsRu Ju2/3LFfYykjKhUKiPT4oCWkmj5m5EG4rvLyVuR90Qq3A782GDdk3HvsW 5RVymvm5ejKMPDdEA0TyMpgZxrTDNavFO4Wl6U5ObEvv8u9O154WKzE82 iY76E9eZnPTrNWlpf5l9nm5KwMBQYLNG82oFUn23kdvvZfP7bkQm98j/F cPfxoq1WL4cAmundvSGuVxiZH0DMestBLHvt6vzVwy/WLPEypnhj365gO Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10422"; a="289443778" X-IronPort-AV: E=Sophos;i="5.93,200,1654585200"; d="scan'208";a="289443778" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Jul 2022 19:37:43 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,200,1654585200"; d="scan'208";a="601134402" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by orsmga002.jf.intel.com with ESMTP; 28 Jul 2022 19:37:42 -0700 Received: from fmsmsx605.amr.corp.intel.com (10.18.126.85) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.28; Thu, 28 Jul 2022 19:37:42 -0700 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx605.amr.corp.intel.com (10.18.126.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.28 via Frontend Transport; Thu, 28 Jul 2022 19:37:42 -0700 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (104.47.59.170) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2375.28; Thu, 28 Jul 2022 19:37:42 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LZAFEHtGHxE3JoZG9H8izS4vCU+pOM8fD3PiTaYK07KbOEJQlM9GhAVoI4c0o/+58+DkH5p2+JrXRzID0qYZA8QFAGkMNAlzCnu7N4KBqHwZoCnS+9q92bkF+gxGQx1WyQI03baoLYIhFJHTBR830D8DkmX3RjoNWEJRGGg5+A8hlyG5TX73F5E+SStk6JiWvr0zr09ztJpj9KJsO4POy9eeNp4Uo4LoCIHOCxBm7gXIusHqC5Zobr5EmsB+OZL80Lu38d72gl/3h5AxHfH1TeoSD9Ig6gQ5jnGnNL+UCvj9Yzyyh1K2MaOGj+ErSSUrGi7QyDKq4V/2ziCm30x8qQ== 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=yUmIMTkcqN5kvKHjvQD8l5TYb1Rh2P5GcEHgvLepgx4=; b=abXuAziOFnFuHlfyaltnE8/+7KUNCOlZHfe2pyCkrB22mhAL3LcH0+HAs5GNO9tS2dYa44LGlro1M9IQNzGPUruGZlgPMzIPu8DNY3GeZu9wLggiZPO0F4ZKE/wIXJWWBpnVPs4j5H1hc2C4lF4NTri0eGL6mr1LfWTMpjWrsL1QsT7Bxiu5FX5NVXmMNwBC7bFrsn+Fd4mVBTNVMSiON6xgpefC1TbgdVvI2BrZnSuciHOitVHTyfraR6UcZy99CnMb+cqoxdgkj6RG5kFbTXYPZEvyeRC9wyOAfzug7bYM5RAVgCx6Tk9ZykN7UyEg91qdDTtGxYWy7D8HzIQoow== 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 DM6PR11MB4252.namprd11.prod.outlook.com (2603:10b6:5:201::26) by BN7PR11MB2610.namprd11.prod.outlook.com (2603:10b6:406:ab::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5458.19; Fri, 29 Jul 2022 02:37:40 +0000 Received: from DM6PR11MB4252.namprd11.prod.outlook.com ([fe80::59cc:59d0:4ade:18b8]) by DM6PR11MB4252.namprd11.prod.outlook.com ([fe80::59cc:59d0:4ade:18b8%5]) with mapi id 15.20.5458.024; Fri, 29 Jul 2022 02:37:40 +0000 From: "Xu, Rosen" To: David Marchand , "dev@dpdk.org" CC: Ray Kinsella , "Zhang, Tianfei" , "Huang, Wei" Subject: RE: [RFC v3 15/26] bus/ifpga: make driver-only headers private Thread-Topic: [RFC v3 15/26] bus/ifpga: make driver-only headers private Thread-Index: AQHYopaedqGVcFRqxEG1PymLvLvU762Uovmw Date: Fri, 29 Jul 2022 02:37:40 +0000 Message-ID: References: <20220628144643.1213026-1-david.marchand@redhat.com> <20220728152640.547725-1-david.marchand@redhat.com> <20220728152640.547725-16-david.marchand@redhat.com> In-Reply-To: <20220728152640.547725-16-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-version: 11.6.500.17 dlp-reaction: no-action x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZWNhZGZhYzYtMjQwZC00ZmY0LWE2MzgtMmNjMzkxZjFkMzcyIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiWUtuK0NzYVd1WVJCQVwvYU96V2d6aVhDWFJDTnFEcW1GT203RHVYeXozeU1SSUVKQU9vcWwyT2NhT1o1aitoakcifQ== x-ctpclassification: CTP_NT 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: e7287bd3-ee6f-4c9e-0b29-08da710b4eb7 x-ms-traffictypediagnostic: BN7PR11MB2610:EE_ x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: PNA9ZvpDRSNQKJYcEfoFXlveRDAb9IvWS7WrqWsrebSuLYwwCSXsnvCQUBcR7c9JE5BiBuUqdROn/TAJpqI+L8k1L2cxoHgChqoxncf7NzEMOL911OpgRzGyRmmxIViXtWWszsuDDHnpDz+JAZ/52tMY+0gK6FNK0tU9PNk2me8iFtkZyRycVPf6ewxmrXaEAka/lF16TF5lvBUJwy1hHkOhVn8KtaV8ICkO9i3JSxgqArojpZs+6LWIbB3FmdPfkhK1wtkp10dfsd9lbTkZuXOX7THRoCuc2Amxsv5la8VM3npN0glJMikRz8GmmUZ+VxpllL1RHduUJbsz3B1b44mEpHogD2CTWDfqfF8Wvehfbu+LISE0VTymD3+NCadY853kUr87tq30hEoICyx2/UANxSUelqdXwdiKpIiDilgh9cSUhEiBEmRXO950WJH162Nwu2oEmrhDyqD6WZI8i9JSMrORAyB2U6fmxMM/vy2rGbYMAaoFgWyjSzQ2bHfN0Np0Md1w9Jr9mRi72aWBnwKDsryYyszPIWZ9iJGGwnAZk5MJN/7CXY8E9Dji88oa4FbEo8Dndo52yG6w1mefR8AgLS1Hflfruks/qv3UgSuU0ag1jUGr7MvOT05VEv51lEambvPbea0DzUqidLzz+5z39srZgrlItox7vycJJJEXQYaR+GgU0I3K2aJ8tTkYJ6WSaEJkUbk33R+Zo0s8yXBRfW/Q/Rofzap/lm21/0kOXjCGTdlG8hX8Y4wGTswVFdUH7G8pgvwodmxsrShVvbQK2o8J1xZ2qtyx7Jg6Sn5oxaML/JdAhfDYnde/+VSY x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR11MB4252.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230016)(396003)(366004)(346002)(376002)(136003)(39860400002)(186003)(33656002)(8676002)(83380400001)(66476007)(66946007)(66556008)(478600001)(76116006)(2906002)(4326008)(9686003)(54906003)(7696005)(6506007)(86362001)(66446008)(107886003)(41300700001)(26005)(316002)(55016003)(8936002)(110136005)(38100700002)(38070700005)(5660300002)(64756008)(53546011)(52536014)(82960400001)(122000001)(71200400001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?7KVFmFFzSBiWyR7lKe9hnq+UWAtWFhN1XM9SJJmV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mLV/OmO8hu0p4ojprIYLHjDHdxG2S1TGHmnxbFNLLzaj?= =?us-ascii?Q?r4nTjEmJXqVoWNfDxRcV8wsvE/+i93ykLecML7wg7uPX8LiBO0XNNOVWPpEN?= =?us-ascii?Q?17sPpAH8P72oUr2si9/He5msF+tPVAEpOzhQg2LvZAiLipNbV+6LhyrQekym?= =?us-ascii?Q?oSAOaMb90lgPvGqj5Mc/r/7L4VKfMkEwop1EE2ZCjbgEELGS5fUX/wwkOcy6?= =?us-ascii?Q?oXlWUEgbhljxGvdXQhnW+p0TWmCAYAjmV3XKM2ECSwJlDq7EGP5ZPiksvIAV?= =?us-ascii?Q?8qttdPiLK+SIICTgJ7Q523Yj9Anm4NT3EGayOQft9XDkwMem3NPTQpu2xdiL?= =?us-ascii?Q?JapDRElCGqWrWRZ6GqNKr5eJlxPXeneCJnKpsGMM/+dbAskjfWJHz6l8Z6f+?= =?us-ascii?Q?T5lKwyho3NhyiXSJkH+dzysk9k+hWzE9PTDCFteyWUD/dXoBXsFkbWWdqE79?= =?us-ascii?Q?XuHhdol8pH5e2pYifw+3nk0CtKcadWL8oOOiqx8Dk391ZfG/EXE6nC6Nhz+q?= =?us-ascii?Q?3KGvzPonHLt/boAHOTFUuFyMC39PDZ5EkHbYpwvrddyb7Qh5fkNy9N6UYsS2?= =?us-ascii?Q?w3Ya8yHBo4DnKwuULj865Xlhr6hF8yVGKAl/lfDEeNzVzXe1P0Ml9/sNbQUO?= =?us-ascii?Q?VSFzP7kJG9+NOnznN7hwmQwwOBa13Ztwe6ZWh1nJ?= 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: DM6PR11MB4252.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: e7287bd3-ee6f-4c9e-0b29-08da710b4eb7 X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Jul 2022 02:37:40.5388 (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: XzWBssZwT16TlYpW375XIUpuo932ZCKMYA/sWRYgsfUJiiTrMu5mjQ040bqPbKU4tauMR4RNEGpb5r+3+TnrpA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN7PR11MB2610 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 Hi, > -----Original Message----- > From: David Marchand > Sent: Thursday, July 28, 2022 23:26 > To: dev@dpdk.org > Cc: Xu, Rosen ; Ray Kinsella ; Zhang, > Tianfei > Subject: [RFC v3 15/26] bus/ifpga: make driver-only headers private >=20 > The ifpga bus interface is for drivers only. > Mark as internal and move the header in the driver headers list. >=20 > While at it, cleanup the code: > - remove unneeded list head structure type, > - reorder the definitions and macro manipulating the bus singleton object= , > - remove inclusion of rte_bus.h and fix the code that relied on implicit > inclusion, >=20 > Signed-off-by: David Marchand > --- > Changes since RFC v2: > - squashed cleanup for this bus code from other patches, > - updated release notes, >=20 > --- > doc/guides/rel_notes/release_22_11.rst | 2 +- > .../{rte_bus_ifpga.h =3D> bus_ifpga_driver.h} | 18 ++++++++---------- > drivers/bus/ifpga/ifpga_bus.c | 6 +++--- > drivers/bus/ifpga/ifpga_common.h | 2 +- > drivers/bus/ifpga/meson.build | 2 +- > drivers/bus/ifpga/version.map | 2 +- > drivers/net/ipn3ke/ipn3ke_ethdev.c | 2 +- > drivers/net/ipn3ke/ipn3ke_ethdev.h | 2 +- > drivers/net/ipn3ke/ipn3ke_flow.c | 2 +- > drivers/net/ipn3ke/ipn3ke_representor.c | 2 +- > drivers/net/ipn3ke/ipn3ke_tm.c | 2 +- > drivers/raw/ifpga/afu_pmd_core.h | 2 +- > drivers/raw/ifpga/afu_pmd_he_hssi.c | 2 +- > drivers/raw/ifpga/afu_pmd_he_lpbk.c | 2 +- > drivers/raw/ifpga/afu_pmd_he_mem.c | 2 +- > drivers/raw/ifpga/afu_pmd_n3000.c | 2 +- > drivers/raw/ifpga/ifpga_rawdev.c | 2 +- > 17 files changed, 26 insertions(+), 28 deletions(-) rename > drivers/bus/ifpga/{rte_bus_ifpga.h =3D> bus_ifpga_driver.h} (91%) >=20 Acked-by: Rosen Xu