From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id B7E05A057B; Wed, 1 Apr 2020 21:48:47 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 4B5651C133; Wed, 1 Apr 2020 21:48:47 +0200 (CEST) Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2043.outbound.protection.outlook.com [40.107.22.43]) by dpdk.org (Postfix) with ESMTP id 8C8AE1C126 for ; Wed, 1 Apr 2020 21:48:45 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZIZRsJFbCdMhfFo1ptj3QPJk6Nlb6FRfWsvAMC+Tb7YwkmUHIAYHQxGdCA3n2D4ZBpweFknFWwUEn1hmBubsu78vuZ5u60VX2aqa123t+nlxL+f0HOr/QYJYOSBvYoJMXAqcWP3gI9x1cPVkzXVhsuMYcHyALd31hrfeTzhava5nWpSn3BS3SJit9zW4fjlHa0V7QUTRAttbNJIUWa9cvmwQAscHt7RVZzalJs59j6lXyyURM6aszRhlZXBYGKuBAw9Ll15uMxybmPWFSBf/3j0q9//oCaRzNv3LtEX5NR5e+aSOnfddNqxvvSZJDoRm3m/d49XRwAKxCD7J8YfTxw== 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-SenderADCheck; bh=uX7ftE52xj5Ld2hdaeZ/JmRY2+Mf2V8BbJEfO6i+gjk=; b=ZfytVEg4vBxy5205gpxq9J1I26rH2+pj++jfPDIpGi4XoF574s5SE6p2aAnkcUmfs9C9nB6MG1azq5c4mCy1MIuV+I77sEKBgmsti0pmFYlLj92Hy6uciunDFIhwXZddq09lL1iqviHvw8U82pbWHuKI0NSgISOjFtIjggWxdtCQcIo3SOGQ40vpL518ZpVHyof3e7AEeO/XhpQHEdSAOdlcVecI5tKmSVnIKm3hh01w+cx9ClSrgYddrBHAidZwQcFALMyj4OW7ldce6BWzaozIvPbUcpBxhIPDX86iCrN+vY1FYqWG7ES1OiSHfLUcOuqGAqN1+fiRJtCFfx+CHQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=mellanox.com; dmarc=pass action=none header.from=mellanox.com; dkim=pass header.d=mellanox.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=uX7ftE52xj5Ld2hdaeZ/JmRY2+Mf2V8BbJEfO6i+gjk=; b=oXTsmmWjPIMT5FBjlOeF6lSnFZkGPdyOxb2Bd5HrUnZxO0AA0jj1znxQdXhaTpBdwG6XEaKmjQLobpiORzLw6yEz4udySI54hkP+pA6IzCXFH/RsiJlc8oV8+xitZzeD2z/K2E0k6eMXoE0k0nfumjhi7Z+J7bGTJknwOCxk+Oo= Received: from AM0PR05MB4561.eurprd05.prod.outlook.com (52.133.54.148) by AM0PR05MB6819.eurprd05.prod.outlook.com (10.186.174.214) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2856.20; Wed, 1 Apr 2020 19:48:44 +0000 Received: from AM0PR05MB4561.eurprd05.prod.outlook.com ([fe80::20a9:df2a:69cf:1494]) by AM0PR05MB4561.eurprd05.prod.outlook.com ([fe80::20a9:df2a:69cf:1494%6]) with mapi id 15.20.2856.019; Wed, 1 Apr 2020 19:48:44 +0000 From: Alexander Kozyrev To: "eugeny.parshutin@linux.intel.com" , Thomas Monjalon , "ferruh.yigit@intel.com" , "john.mcnamara@intel.com" CC: "dev@dpdk.org" , "roman.p.khatko@intel.com" Thread-Topic: [dpdk-dev] [PATCH v2] ethdev: fix for compiler warning when vtune profiling option is enabled Thread-Index: AQHWCCDAaQaEcHlGcUayQ68udadFvqhkq8PA Date: Wed, 1 Apr 2020 19:48:44 +0000 Message-ID: References: <20200401111642.11640-1-eugeny.parshutin@linux.intel.com> <20200401122611.12173-1-eugeny.parshutin@linux.intel.com> In-Reply-To: <20200401122611.12173-1-eugeny.parshutin@linux.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=akozyrev@mellanox.com; x-originating-ip: [2607:fea8:e380:d8e0:d46e:9ccd:7836:e949] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 90718830-3cc9-477b-379c-08d7d675afae x-ms-traffictypediagnostic: AM0PR05MB6819: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:161; x-forefront-prvs: 03607C04F0 x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM0PR05MB4561.eurprd05.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(10009020)(4636009)(346002)(376002)(366004)(396003)(136003)(39860400002)(316002)(2906002)(33656002)(81156014)(6506007)(53546011)(55016002)(7696005)(4326008)(8936002)(71200400001)(9686003)(81166006)(86362001)(478600001)(110136005)(64756008)(186003)(66946007)(54906003)(5660300002)(76116006)(66446008)(66476007)(52536014)(66556008); DIR:OUT; SFP:1101; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 370wZqhRnFkr4yr0qTUjgsPMsXdzsYIJ5/9KN4Lk3NisIxLPn2oH2w/433XqV0r7tvLBV8wY0rfSBz1iR75m75Wcrp/+XUtdeE6rmAt+HFGCY0mfP6drBorROo55oZnbCilGAmtAlhAYq10PC4+PlB70jNru+Wj8KeYAz5q4OpPDWyI3Pe93XlDVyXGwaK9RBTbwg3QIrg/mnFkKryaQWidTxmwNEV6I2L6n++u6yIVk63g9oWY4ipM/wJ9zCW7NjIljZPspA66eSXE8PWWoZctZlf3mNea1SCV0RG3xpGktQozcckUoDWqwNHx8p1mSgSKFphNu6IJLEx+0s4S7ZclfnBT6m93oMTItJeNl2n3UUgGtlmUTzxrMAYt0o1F4vDVZlxM9DjnpJinIwqV8KhEAUhDb4GPLYN//O3FLDlBLnSwW1SkDQduet7PSmvfg x-ms-exchange-antispam-messagedata: q99A+84ZsImnwNUHU+sHlmkMtxeG3CIk0le4Z98craYcf6KHNF3VIl8hMqbFs/JJN8jOYVfTJy3f1vMa4PlF9qeDtOxFRU4dTII5qvtlPMTOoSOZ/gOd4sb0qOf0apayZ71zofLjNICIHf2jcee/y3YyR8YB2NhjZhp+d9bmypx+SluA137L8D0yOyEgKGNZYTHCK1uY2+b/xr5kj20haA== x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 90718830-3cc9-477b-379c-08d7d675afae X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Apr 2020 19:48:44.1833 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: cXe2eEEObjN9srlG6STvdu/qsyMBesVllqeOy65sv/+9ZoqLqYPR01/nf8H4prhJbN0nTlaQaLRPgqeov6aF7A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR05MB6819 Subject: Re: [dpdk-dev] [PATCH v2] ethdev: fix for compiler warning when vtune profiling option is enabled X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Hi Eugeny,=20 > -----Original Message----- > From: dev On Behalf Of > eugeny.parshutin@linux.intel.com > Sent: Wednesday, April 1, 2020 8:26 > To: Thomas Monjalon ; ferruh.yigit@intel.com; > john.mcnamara@intel.com > Cc: dev@dpdk.org; eugeny.parshutin@linux.intel.com; > roman.p.khatko@intel.com > Subject: [dpdk-dev] [PATCH v2] ethdev: fix for compiler warning when vtun= e > profiling option is enabled >=20 > From: Eugeny Parshutin >=20 > Add the previous prototype for the 'profile_hook_rx_burst_cb' function to > fix the compiler warning when the DPDK is built with > 'RTE_ETHDEV_PROFILE_WITH_VTUNE' config option enabled: > /home/dpdk/lib/librte_ethdev/ethdev_profile.c:17:1: warning: > no previous prototype for profile_hook_rx_burst_cb [-Wmissing- > prototypes] >=20 > Signed-off-by: Eugeny Parshutin > --- > v2: Fix the commit message > --- > lib/librte_ethdev/ethdev_profile.h | 10 ++++++++++ > 1 file changed, 10 insertions(+) >=20 > diff --git a/lib/librte_ethdev/ethdev_profile.h > b/lib/librte_ethdev/ethdev_profile.h > index 65031e6f3..b8c3c6848 100644 > --- a/lib/librte_ethdev/ethdev_profile.h > +++ b/lib/librte_ethdev/ethdev_profile.h > @@ -24,4 +24,14 @@ > int > __rte_eth_dev_profile_init(uint16_t port_id, struct rte_eth_dev *dev); >=20 > +#ifdef RTE_ETHDEV_PROFILE_WITH_VTUNE > + > +uint16_t > +profile_hook_rx_burst_cb( > + __rte_unused uint16_t port_id, __rte_unused uint16_t queue_id, > + __rte_unused struct rte_mbuf *pkts[], uint16_t nb_pkts, > + __rte_unused uint16_t max_pkts, __rte_unused void > *user_param); > + > +#endif /* RTE_ETHDEV_PROFILE_WITH_VTUNE */ > + > #endif > -- > 2.17.1 Could you please fix the check-git-log.sh warnings: Headline too long: ethdev: fix for compiler warning when vtune profiling option is ena= bled Missing 'Fixes' tag: ethdev: fix for compiler warning when vtune profiling option is ena= bled Regards, Alex