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 B49A7A034F; Mon, 11 Oct 2021 11:59:40 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A3CE4410DB; Mon, 11 Oct 2021 11:59:40 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mails.dpdk.org (Postfix) with ESMTP id 502DF410DA for ; Mon, 11 Oct 2021 11:59:38 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10133"; a="313040679" X-IronPort-AV: E=Sophos;i="5.85,364,1624345200"; d="scan'208";a="313040679" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Oct 2021 02:59:37 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,364,1624345200"; d="scan'208";a="569822727" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by fmsmga002.fm.intel.com with ESMTP; 11 Oct 2021 02:59:37 -0700 Received: from orsmsx606.amr.corp.intel.com (10.22.229.19) 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.2242.12; Mon, 11 Oct 2021 02:59:36 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx606.amr.corp.intel.com (10.22.229.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Mon, 11 Oct 2021 02:59:36 -0700 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (104.47.58.100) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.12; Mon, 11 Oct 2021 02:59:36 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=l7Q1d+//kht7NN/tfRYKrji24Rf3JW7p4tCXM/dWuLukIwiV4NB2B57Zq9K5KcvqBC3dCVnSDvcH6Mmr1Mg6cOfpYQpA9B6lUDRbpjh+Jr7tqiEHB+aujXsBej8jx/8pZ1wvj+OLBDHNNvdUGgn7KLU/fuXQsi4dM4A17Kx1W60xBjv/4u4JhBcDZIKRHB/CshB0dGWCLulsSDzdB/RRRdKEIopV/nIeYBdwexpJZEu2BNKiRnzE1k6T1hCtKKOq1oUMd4Qhg73VwysDyXINlzabEOHPqcltCBM8/oSepKrKJGVGdpLu1fWiKxwgQHb7JBQWsxmdmgOEIRozmziAiQ== 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=ty0rlUpCn25732XUulEXKwd59iz2H9nijqNuof0b5RY=; b=icvZ56OnTSs7TPAA4mr17fcoL8AtKyQFShQTZwfNtriC1RxXCDCow/UhsoK59NykvDwz9Ijv4pL69e/0ELeQyvm50pjyUIRo3AdL5kk3qy3aAaeeMZySWHP2Su849Ov4SIfiBuXunfJ6Ylm4mNOlyEuha8qpVV0RGB/KNmt5Q41zAwCvU3a7js4RpVelVDBjpGjNTj4xL5nXjwQTWmUHNGavTDn9cbDmEVQFO2nNX6QJ1oJd1zQA2TreVUuJekCJwbLKUIjgSs0VK0BsOKPEhop0folQp3qNLaqeI+W/+NscXCPLTDkojDkoEdTiW8B7Ghmy2FcN3t5PwrH/zVBxVA== 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ty0rlUpCn25732XUulEXKwd59iz2H9nijqNuof0b5RY=; b=kZ2+jjexHtGUPilRPef3Vimh0zTI6Disk4oGMddaGlZWNWkQjhZY0xCY0tODIaR5DfPgxg9PYF1y4XVBzWpedxMAZZdCMJ0JaBtaTx8BpUn3RrlU9b9YEFwO0eF35fa4tLZsvsp3rQ64ljApNhIqIKi2PpMvUiklaMF6vfVlqDE= Received: from PH0PR11MB4824.namprd11.prod.outlook.com (2603:10b6:510:38::13) by PH7PR11MB5885.namprd11.prod.outlook.com (2603:10b6:510:134::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4587.20; Mon, 11 Oct 2021 09:59:35 +0000 Received: from PH0PR11MB4824.namprd11.prod.outlook.com ([fe80::5d01:114c:73be:1a19]) by PH0PR11MB4824.namprd11.prod.outlook.com ([fe80::5d01:114c:73be:1a19%8]) with mapi id 15.20.4587.026; Mon, 11 Oct 2021 09:59:35 +0000 From: "Gujjar, Abhinandan S" To: "pbhagavatula@marvell.com" , "jerinj@marvell.com" , "Jayatheerthan, Jay" , "Carrillo, Erik G" CC: "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v3 13/14] eventdev: make trace APIs internal Thread-Index: AQHXun6dRJV7RzQqQkeWZPG2PJomhqvNmEMA Date: Mon, 11 Oct 2021 09:59:35 +0000 Message-ID: References: <20211003082710.8398-1-pbhagavatula@marvell.com> <20211006065012.16508-1-pbhagavatula@marvell.com> <20211006065012.16508-13-pbhagavatula@marvell.com> In-Reply-To: <20211006065012.16508-13-pbhagavatula@marvell.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.200.16 authentication-results: marvell.com; dkim=none (message not signed) header.d=none;marvell.com; dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 862e0c82-35e5-4cea-cb01-08d98c9dd4cc x-ms-traffictypediagnostic: PH7PR11MB5885: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:1122; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: N4l4YZ1vBIWHjHb8oDFMjNNyS0hlt7bv7RVK93RN9lSvO0N1Vonq1KVgnh4Pmv0vZO8qjrghmug580Gdj5Td5T3rgh5ooNjt54mviec6LLzO8Mzl0H9k0e3QmCORCcpRzs7SlOhWCqTb5Pb4fglFfonzjdtoazAugjGaU9bTNVBB7DFM4CMYCFymUphTnnGNJUKdJNgO9szk9TBYwOmokTIrbQedreOEAMcZF11cKXZQFBvAlhmCQN4Zm5o+gHkz1S/aHLK3aJ4jtjjwBec1Fu6SKPdFxdktcnx8HJmt9wag+AWgJfVM6Fx/OtQ65vv9nQpLMa6zHk+LCa1nh67Q8KJXely5orJAyZO6N4m62uJq78zScf5q/s3rgMqbzmua71xFdu82NDNGwGay9vq+PjKrn7UwYf3h8JyedfMLSz86dxhe6on/iUQ9As9db0fB4apoXuB1YvKOOO6rhFgG9oz9+uZAI520F+Sc6YYLs7crLKweo5R6qHzypwlQPMa0+TMt8cCVs67Ggopn/p+f3FtiUUGBEMGProUIlz/ihE/gUgC5VLT2R3AlP25jCmViTi1LKuMMqU7Duz9oympEewfQVqQmeAtrUqotUJTSP3dRHjp8tMRK4J77w/1Y6A/W6L8qSTTr1s89WdrWfuRaDVWfy5g+Xv0fZW77nvAvPqIzDDyq6ieCnXf1fGq2BBjQqwBw59QrFOdeuelPg9Ba/A== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR11MB4824.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(5660300002)(8936002)(71200400001)(38070700005)(86362001)(83380400001)(26005)(9686003)(6636002)(33656002)(52536014)(55016002)(8676002)(64756008)(66446008)(110136005)(66556008)(316002)(76116006)(4326008)(508600001)(38100700002)(2906002)(186003)(53546011)(6506007)(122000001)(66946007)(66476007)(7696005); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?eMvKVj65LId1RF9iccAxgMfSlwBA/jpKWmy2pgX154GHJp4EbmgEBQrprFgi?= =?us-ascii?Q?wEspsOx/hP5H27FmhYpnzuM9Q1eObkm11IQPIuIRBjutsk0C6HH0w+4bRvhS?= =?us-ascii?Q?vvIWFYFkMJrkao0mqvyfvZSkkPAvzU/vIsH7KrbB3C0cxpHIpY94i7+lVz4w?= =?us-ascii?Q?Q7oJdTMMjWBuzwDUqg/kjJQl7o/5y3Y0sOB/9E0RFL9m+AhNdK3WQ0CmhxDO?= =?us-ascii?Q?etI/VXoVFVskKtpema9U/K0/oK2Pc5EDkjfORCR7hIRj94BI5NpKPdhv8F8A?= =?us-ascii?Q?FyN8VdqM0j8AhLCvXFj4l7SBrbABSOcxdBrY4Pekq/VH4iHEQoV6MAQyS9mU?= =?us-ascii?Q?lCKmyJElZ0WmUnCYMwTg08uo+CEnTJYRiBn4LsTZ0BfKjPvdPWo3Hun0wEAr?= =?us-ascii?Q?PEZKoyR1lX0AWefQ98HdIICPTmqWPCnYhDAAMhQ4zNHPniJpzZ0ibkg4K/Nu?= =?us-ascii?Q?TsZpcHbfgYazs6XaApCSlzLxzSOySiZw7Wrv9hXgvzclibmk+3YdmxMdGHLf?= =?us-ascii?Q?dL8RXJ63kagOosojdTHm1LDukgbXRY4B8I+k30v+4orjdge9ZYQztcaGpeh6?= =?us-ascii?Q?f4Kup08ifXh9ZDHjA2fc7mZwvLCcVTZg3c4U2FTqEG+so0Be6D8XpuDHBaUm?= =?us-ascii?Q?bvQu2mST6ms6q5F/UUX1gubn2pBn6EWPPizzr8ib/gRyYDS8J8MtKseB22Uo?= =?us-ascii?Q?NQaMHonGzAGGqZ9tJT6r6VqYpqB48e44xTMm94nzAAWsdlGZSkrb43qkwWbj?= =?us-ascii?Q?7/MlWfm0N3sN3MdvWaWYkrkhp/qAvY78sG1UTq5a/mehmIernquVfbFH4RK1?= =?us-ascii?Q?mNrMBQvXrBGl1i/LYBn9BKESNHFT/CGr8rkwKkEuWSZmq2/1f2FJzZzpQwSK?= =?us-ascii?Q?yX0WcSDFmsPennh8J+BtUijxcgtazSKwRywA2p9HWUXKPPSbwpsgW2XS1xPD?= =?us-ascii?Q?vxOIbPMe11VUoKhYsdJQ6iZzQaUDiT+3/O7u/YbcdiZF5ED32wXp+ey71HzE?= =?us-ascii?Q?fgOkB3j08tt2dPKjxvFiXi32kn4+AQGXA2v6wTYoc4pQm5XpXjN/qGBKReLk?= =?us-ascii?Q?ixkCbuhm7/A7qO/czog6R162MN+rz8rlIKbPHjNjtHiib7zH2Jm0YrAXR5Vd?= =?us-ascii?Q?aTZZYyhjJ33pbEUPlIooG+J14zFtRAi2g8zf8H4jnCMzl3sov+6i1L5NdTar?= =?us-ascii?Q?dw6tqKP/MTQFDJmdDjLG7ILmn25WaiuC3gzdiR/np0jwZEXecM7LZNZ1PqUh?= =?us-ascii?Q?QVfPD2eVbWQAXcHyKmrCcTxeGFvhESIFm6ylq80LRIT1CvDJbq+dHkjL7BPf?= =?us-ascii?Q?SGiH/yH6caYFvR1yO3OyA8qd?= 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: PH0PR11MB4824.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 862e0c82-35e5-4cea-cb01-08d98c9dd4cc X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Oct 2021 09:59:35.6127 (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: 77SUy0iPHvNinQSGwRJ0Lrvjjof7RCW591oChW1Pa/fUTEJIOq7cGz9HZfYmBSjOL9kxvR10SHBqFMsxUWLC0w36Rnn5LapLHX0xGcH8bT4= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR11MB5885 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v3 13/14] eventdev: make trace APIs internal 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 Sender: "dev" Acked-by: Abhinandan Gujjar > -----Original Message----- > From: pbhagavatula@marvell.com > Sent: Wednesday, October 6, 2021 12:20 PM > To: jerinj@marvell.com; Gujjar, Abhinandan S > ; Jayatheerthan, Jay > ; Carrillo, Erik G > Cc: dev@dpdk.org; Pavan Nikhilesh > Subject: [dpdk-dev] [PATCH v3 13/14] eventdev: make trace APIs internal >=20 > From: Pavan Nikhilesh >=20 > Slowpath trace APIs are only used in rte_eventdev.c so make them as > internal. >=20 > Signed-off-by: Pavan Nikhilesh > Acked-by: Jay Jayatheerthan > --- > lib/eventdev/{rte_eventdev_trace.h =3D> eventdev_trace.h} | 0 > lib/eventdev/eventdev_trace_points.c | 2 +- > lib/eventdev/meson.build | 2 +- > lib/eventdev/rte_event_crypto_adapter.c | 2 +- > lib/eventdev/rte_event_eth_rx_adapter.c | 2 +- > lib/eventdev/rte_event_eth_tx_adapter.c | 2 +- > lib/eventdev/rte_event_timer_adapter.c | 2 +- > lib/eventdev/rte_eventdev.c | 2 +- > 8 files changed, 7 insertions(+), 7 deletions(-) rename > lib/eventdev/{rte_eventdev_trace.h =3D> eventdev_trace.h} (100%) >=20 > diff --git a/lib/eventdev/rte_eventdev_trace.h > b/lib/eventdev/eventdev_trace.h similarity index 100% rename from > lib/eventdev/rte_eventdev_trace.h rename to > lib/eventdev/eventdev_trace.h diff --git > a/lib/eventdev/eventdev_trace_points.c > b/lib/eventdev/eventdev_trace_points.c > index 3867ec8008..237d9383fd 100644 > --- a/lib/eventdev/eventdev_trace_points.c > +++ b/lib/eventdev/eventdev_trace_points.c > @@ -4,7 +4,7 @@ >=20 > #include >=20 > -#include "rte_eventdev_trace.h" > +#include "eventdev_trace.h" >=20 > /* Eventdev trace points */ > RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_configure, > diff --git a/lib/eventdev/meson.build b/lib/eventdev/meson.build index > f19b831edd..c750e0214f 100644 > --- a/lib/eventdev/meson.build > +++ b/lib/eventdev/meson.build > @@ -19,7 +19,6 @@ sources =3D files( > ) > headers =3D files( > 'rte_eventdev.h', > - 'rte_eventdev_trace.h', > 'rte_eventdev_trace_fp.h', > 'rte_event_ring.h', > 'rte_event_eth_rx_adapter.h', > @@ -34,6 +33,7 @@ driver_sdk_headers +=3D files( > 'eventdev_pmd.h', > 'eventdev_pmd_pci.h', > 'eventdev_pmd_vdev.h', > + 'eventdev_trace.h', > 'event_timer_adapter_pmd.h', > ) >=20 > diff --git a/lib/eventdev/rte_event_crypto_adapter.c > b/lib/eventdev/rte_event_crypto_adapter.c > index e9e660a3d2..ae1151fb75 100644 > --- a/lib/eventdev/rte_event_crypto_adapter.c > +++ b/lib/eventdev/rte_event_crypto_adapter.c > @@ -16,7 +16,7 @@ >=20 > #include "rte_eventdev.h" > #include "eventdev_pmd.h" > -#include "rte_eventdev_trace.h" > +#include "eventdev_trace.h" > #include "rte_event_crypto_adapter.h" >=20 > #define BATCH_SIZE 32 > diff --git a/lib/eventdev/rte_event_eth_rx_adapter.c > b/lib/eventdev/rte_event_eth_rx_adapter.c > index f8225ebd3d..7e97fbd21d 100644 > --- a/lib/eventdev/rte_event_eth_rx_adapter.c > +++ b/lib/eventdev/rte_event_eth_rx_adapter.c > @@ -20,7 +20,7 @@ >=20 > #include "rte_eventdev.h" > #include "eventdev_pmd.h" > -#include "rte_eventdev_trace.h" > +#include "eventdev_trace.h" > #include "rte_event_eth_rx_adapter.h" >=20 > #define BATCH_SIZE 32 > diff --git a/lib/eventdev/rte_event_eth_tx_adapter.c > b/lib/eventdev/rte_event_eth_tx_adapter.c > index 18c0359db7..ee3631bced 100644 > --- a/lib/eventdev/rte_event_eth_tx_adapter.c > +++ b/lib/eventdev/rte_event_eth_tx_adapter.c > @@ -6,7 +6,7 @@ > #include >=20 > #include "eventdev_pmd.h" > -#include "rte_eventdev_trace.h" > +#include "eventdev_trace.h" > #include "rte_event_eth_tx_adapter.h" >=20 > #define TXA_BATCH_SIZE 32 > diff --git a/lib/eventdev/rte_event_timer_adapter.c > b/lib/eventdev/rte_event_timer_adapter.c > index c4dc7a5fd4..7404b0cbb2 100644 > --- a/lib/eventdev/rte_event_timer_adapter.c > +++ b/lib/eventdev/rte_event_timer_adapter.c > @@ -24,7 +24,7 @@ > #include "eventdev_pmd.h" > #include "rte_event_timer_adapter.h" > #include "rte_eventdev.h" > -#include "rte_eventdev_trace.h" > +#include "eventdev_trace.h" >=20 > #define DATA_MZ_NAME_MAX_LEN 64 > #define DATA_MZ_NAME_FORMAT "rte_event_timer_adapter_data_%d" > diff --git a/lib/eventdev/rte_eventdev.c b/lib/eventdev/rte_eventdev.c > index de6346194e..f881b7cc35 100644 > --- a/lib/eventdev/rte_eventdev.c > +++ b/lib/eventdev/rte_eventdev.c > @@ -36,7 +36,7 @@ >=20 > #include "rte_eventdev.h" > #include "eventdev_pmd.h" > -#include "rte_eventdev_trace.h" > +#include "eventdev_trace.h" >=20 > static struct rte_eventdev rte_event_devices[RTE_EVENT_MAX_DEVS]; >=20 > -- > 2.17.1