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 42899A04FD; Fri, 29 Jul 2022 04:37:01 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3396442BF1; Fri, 29 Jul 2022 04:37:01 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id 5796A42684 for ; Fri, 29 Jul 2022 04:36: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=1659062219; x=1690598219; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=c9AbLD/uBv6H2nQ8X87p3GcumETw11q2JsuYcYzVotA=; b=KEfuPRLZyrHNf4jMVIpfEHIH7uO4DHgUfXEQUOszkZV1IiX5+CVc7r6D YojPYjxWfQmVqQarkJ11XtKN+5uqqwNeH391wCS4loUTb0o8wUpCiafKL 42RDm4x4W4a6PYI6p6RyoLbfgRFNykBnNVMnOtZCN/oVmvlpcmqA59woY j0dgrQJka5WbUxV1WxM1qzwm6flf97d++HBs6e7LvcgtJmWMQ6h0lXqvj ANc49cDnJ9H+pFM4MwlBj99zIIAYxpFCWEX0ZvUo3tfTXkwgpja2jD+5R Nytc5/rJjhzHSIJSEBbPmct4rpXAouazBcwrD/7mQseyXOLRQasUYqFRi A==; X-IronPort-AV: E=McAfee;i="6400,9594,10422"; a="289871311" X-IronPort-AV: E=Sophos;i="5.93,200,1654585200"; d="scan'208";a="289871311" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Jul 2022 19:36:58 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,200,1654585200"; d="scan'208";a="669121767" Received: from fmsmsx605.amr.corp.intel.com ([10.18.126.85]) by fmsmga004.fm.intel.com with ESMTP; 28 Jul 2022 19:36:58 -0700 Received: from fmsmsx602.amr.corp.intel.com (10.18.126.82) by fmsmsx605.amr.corp.intel.com (10.18.126.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.28; Thu, 28 Jul 2022 19:36:57 -0700 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) 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 via Frontend Transport; Thu, 28 Jul 2022 19:36:57 -0700 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.168) 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:36:57 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hDHDow2Nfq1VVR+hL0OtInHMxaeeK29T6EQUcKjB0+QCxYhanhHAolwdP3cDzbRIPhCvxBNYjjyAFMU5YaaO8R0JMR5nerSlrka0tN2UU5EWCK7mKkpehsIfAtj6gOeYeZhFUfsfa+QqBtziGdHD6MF1Kxgd73uV6/slTSsM3mwNaao2oAQ9QA8dpJbVhKywARAcJpCZ3mKprAsNrca4ez6JkTT2nMwRjfxHFjzuunePi3o9h61Rmz6MBufNwiUjAzjyHGZqCSzi2m+3rjGYnqkGuNL58pM9jBvVtn1Bfp8I8VlgmqlTGXvM3vjCPBLnnWzk7e4RhkTKnJLKjDeskg== 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=gqLMFo2xS71FOUEaEkiKjw6cEGfbpFe6C6rhk+tvXYo=; b=jbh6f91BHPFRwAGwzpbYVpHtaJbqtB0495AZvCyhvJ9X/mL/FqLhCTTiw+CJcekmhs8ZZGi+jtFvQNm/uMDxduuqZtkGcFv9UbRx9teBv+wg8omgRU6jpy60pjvKTIBUKLhyEqfpGPr1irXyvn53AtWzfpshNR8B8AryW1BI2B78G0Ow7oBfCFK3MqJsbxphuw4OREAuwMqn6AcSAkP+22EBOQvCxxJZIn6+4ZHdGbuAItnbBJ1wXwwj7lnrnNZMKEDklfBNL2xKXW925qqYdn3o+zKiaapn/BSfX8j1+1WEMs+bWTdjSK53cOuXaeoN9zNTbxdQaXK6SKbPCPj5AA== 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:36:56 +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:36:56 +0000 From: "Xu, Rosen" To: David Marchand , "dev@dpdk.org" CC: Ray Kinsella , "Zhang, Tianfei" , "Huang, Wei" Subject: RE: [RFC v3 14/26] bus/ifpga: cleanup exported symbols Thread-Topic: [RFC v3 14/26] bus/ifpga: cleanup exported symbols Thread-Index: AQHYopaacM7q1SntB0iCOINoioWbK62UotGQ Date: Fri, 29 Jul 2022 02:36:56 +0000 Message-ID: References: <20220628144643.1213026-1-david.marchand@redhat.com> <20220728152640.547725-1-david.marchand@redhat.com> <20220728152640.547725-15-david.marchand@redhat.com> In-Reply-To: <20220728152640.547725-15-david.marchand@redhat.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYWE5YzlhNmYtYTcyMS00MWZiLTliOTYtZmUyNWZkYTgwMTJlIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiUTFLZjVhRHAwa2ZqcEUycllUOTNnQ1lcL0VOQzI3MFwveUtKXC93T2I5TENSb0dXUFBKY200NkpFejNBaWV0OW1DYyJ9 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: e3164ecb-d2ec-4739-8f71-08da710b3457 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: bC/8pirFeMC/2y5wk6lwFyKi5xf+Cv96p/3Sw4We2HS07wR0gLkJz9z6zPFLcHemNAJr21H9ZoM5PqyPwnAXqBNjNMpEMRIEZA3YZ9fcdrBXUqbX54Q5KgEZtMWTMhltLZPkn3WyxIUz8DApHXY8eCh7yXDF1zwXukCY+vA9d6Fc4o73jYbW5uz0ZrVRr6cQuOVS4l+noLOgOU0WsApV90eXpJJcekh5bCmRquQT6znH/OCSFewfmbAFqpkh05Ga3EkBUVzmlKVj6+BDNhTmGivenklCYUZ6hIFO1ENJ7qCPN1BjjW0Gv23DL4o9AqdnLOW9bnvckPkSZjX3DhO/Ezk0VieME1keGJjnwzgVPhwNfJaiKDAhGqy+TWFbkZ8SOJ6/Vg+Oh22PrTmxK6pjAvWxem07yT/m0B0SHLVThWIpwRGsXqxvLJjjgvJCezKe5k1t0JCRkEbasz7h2EzgiemUSu/rTsbSEYGnfNiZIatiDRmDUIm1CJMWTmh1GZEybDTG9jugQAUIORrpjgwN8d73eYwnQ31qSlywAzALAB6oyzjBjEYrjMaE4aITfHU265fXivteCuVnsQ6HOyBK+waiGmy8wJanO0SS6zndRenAVDCM/YqbG7E147hvXQN5PXPepKrF96WjNh1+TOjV/4BrOO5PmVfBnntk65J+n/O8xcQD9B4Uo/4jRVDL1gtIcyJS5I0cEGkaTj5HcF1jo0sM+Un2+iPIW6lSlZbDLmK83tK9au8SAZNY5p+M8RcYZVUgP7PA/C1QsfhQVm3ivFOTVWnVN4RA41ClxE1+USWc2XlnvvebLb7JwbTG7+jy 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)(39860400002)(136003)(346002)(366004)(376002)(396003)(38070700005)(5660300002)(55016003)(316002)(8936002)(4744005)(110136005)(38100700002)(52536014)(122000001)(71200400001)(53546011)(82960400001)(64756008)(66556008)(66946007)(2906002)(478600001)(76116006)(186003)(33656002)(66476007)(8676002)(83380400001)(107886003)(41300700001)(26005)(7696005)(54906003)(9686003)(4326008)(86362001)(6506007)(66446008); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?ccgSNbNkRA2pUIUh+wUs/i70XQte8eT0i78EC+Jl9hp0QhnY3x+5PYMHAuTd?= =?us-ascii?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WbQmHfQkMiQDmFUo3JD?= =?us-ascii?Q?fPmpqr1t9qvHaegNN6JmmZApMZGjVBt7+zo05pqIHZhJrssId0uxefYNWDQs?= =?us-ascii?Q?mGMPIEv1ODVtIZTjr5iU9bDdJnYVpC57B9cw5511Q+aWjbRVuGnqZjIIQ5F7?= =?us-ascii?Q?GPhZHgAXvUTD/KfAz1XXMCo1gxTAUWGdsigM0kUQMtn/9gH+pBlAHFUW6AH7?= =?us-ascii?Q?G3WlfU7quxVbxomw6lDdoeswj8jk3MtL3451D8jREETWMWvOPuaAiuq/FlV8?= =?us-ascii?Q?VYMqWpoxbfhOeUNnaBde9nFwWhlfb+FIHuG893xp0gh02rG6Mit1RAwooHG3?= =?us-ascii?Q?8k/4duD+TvIqhaXtwxq9sQ5hNxGBDJaksAxEotHwK95pZGT3GgzcgKGEP2GP?= =?us-ascii?Q?tNEbvHJusHYluUoKHif/Ca967YnASxpjbmcEC8zPJluhnuqGYF262AvD5eoC?= =?us-ascii?Q?bAD6n4P5nCePE8z2CCUsnUcI/jlBg0I8QqFelbkcL8HKgC+MzQayefXECEhj?= =?us-ascii?Q?FuLppP/FuvsABVR93KMAxUR1xCzer0EcxKfOdqL82IN2kbvJhaXYtKN/qnxk?= =?us-ascii?Q?fg4XPl4JFRuM/0r/gco+xhVYXoKvJ204o0rKv+csaJQeEsVnKs3GKDuz2SZm?= =?us-ascii?Q?O32tsiXYIe0bZombEPO9p5GjtfQPa2ZyPfnc2P/W?= 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: e3164ecb-d2ec-4739-8f71-08da710b3457 X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Jul 2022 02:36:56.2454 (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: 0dyRAXROjw++B/jKLl9gSCIJX68SD9oB2g6pN5lLrB5bU7CC5wcndbsZkcsR3/4c74l5yAh/cTX/WeEVm3BUaA== 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 14/26] bus/ifpga: cleanup exported symbols >=20 > Remove unused symbols (exposed only in an internal header which > guarantees that no application out there relied on them). >=20 > Remove rte_ prefix and inline the rest to avoid having to expose them as > global symbols for a relatively small added value. >=20 > Signed-off-by: David Marchand > --- > drivers/bus/ifpga/ifpga_bus.c | 13 +++-- > drivers/bus/ifpga/ifpga_common.c | 88 -------------------------------- > drivers/bus/ifpga/ifpga_common.h | 54 ++++++++++++++++---- > drivers/bus/ifpga/meson.build | 2 +- > drivers/bus/ifpga/version.map | 2 - > drivers/raw/ifpga/ifpga_rawdev.c | 2 +- > 6 files changed, 53 insertions(+), 108 deletions(-) delete mode 100644 > drivers/bus/ifpga/ifpga_common.c >=20 Acked-by: Rosen Xu