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 5FDBD42A12; Thu, 27 Apr 2023 17:03:11 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DF88142D3C; Thu, 27 Apr 2023 17:03:10 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 2CFEC42B8C for ; Thu, 27 Apr 2023 17:03:09 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 33R8ELJm014390; Thu, 27 Apr 2023 08:03:08 -0700 Received: from nam11-co1-obe.outbound.protection.outlook.com (mail-co1nam11lp2174.outbound.protection.outlook.com [104.47.56.174]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3q7nc39jyq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 27 Apr 2023 08:03:07 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kX2OnNqQ8B6cI5M8Fd24cKDs1h5dK6W5IYXQj1fD3ZeLp0uecutCtOkJax/xJ40N4ypUZ7B7rID7dcxevn0uwIeDKGoTcx9pxo9lRCNFlPUBmkRpT9rYdtrZialQE3NfVOEeJevBNvHpD6jXIetfQwB5MYCqPh5fiNW8tzpW+GjuuqYnDq1VtKtND4bJKLdaHf3OrORiWEPLT/0pROIodl783wzt11gfOMa5MPT6lhUwlXcFqp3Ii9Lj694dzXJ3RfPcOB0TkbP05ZGP+0wjS54xib+QMgF/M6DpwxxEaQPkuAsrZgV3NcFKAQFjQQhqolYvOWcvRy9zk7ZGrrTIMg== 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=lqnPIEEvWAayHo8JtVF9diELLJVJ2RU4DsswNXT9zfw=; b=fcwzg8YeJ0XVu9BLrUF1JOIsbNaFKC9h52TwgFywBoWQoecqtjJ2USD+k/y1FmyPKZ+bjQFpgRiFyfSiXeACpfHi4d3GjhQVNPZcN2xJTKDS+9T3GdcwmoYu+7GPwPcG48lkKOauvne1CJSohV+RjCdEn4CPH2ylXV1wTD4CEexrdPF8Of4+q9oe8huGEyo6LyPORDla0uVOSJfIbSPsqxWSSr52ZoMaV49gPVK/U53DGf3vuwFHNhcb0XJBUIMScjwulmQitgoZS9xJpa9tw/bBdlAjF3D4LCAxSlBMdkrhMnUACT7vnf01Da2cW7drbjDk5/3Q+oOok2+fwTS+6w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=marvell.com; dmarc=pass action=none header.from=marvell.com; dkim=pass header.d=marvell.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector1-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=lqnPIEEvWAayHo8JtVF9diELLJVJ2RU4DsswNXT9zfw=; b=b4pPwgvh/w+1oHnGc3QkWv0QNJ9vgM14DIIdFR1A/wHylMEWai7b4zMB4vmzmWp1Jj533ZtliciVhp13cZ/PTjZL0DMrU9w1IZwYZITWqpoDXGobdo/LP5xADbPWWyhabyX1hr0ftmKV3pZCYIzJ5MCfbXliW2KWQ2ZRKt6jwK8= Received: from PH0PR18MB4086.namprd18.prod.outlook.com (2603:10b6:510:3::9) by CH0PR18MB5420.namprd18.prod.outlook.com (2603:10b6:610:184::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6340.21; Thu, 27 Apr 2023 15:03:05 +0000 Received: from PH0PR18MB4086.namprd18.prod.outlook.com ([fe80::2e10:cd72:2bc4:b4bb]) by PH0PR18MB4086.namprd18.prod.outlook.com ([fe80::2e10:cd72:2bc4:b4bb%6]) with mapi id 15.20.6340.021; Thu, 27 Apr 2023 15:03:05 +0000 From: Pavan Nikhilesh Bhagavatula To: Zhirun Yan , "dev@dpdk.org" , Jerin Jacob Kollanukkaran , Kiran Kumar Kokkilagadda , Nithin Kumar Dabilpuram , "stephen@networkplumber.org" CC: "cunming.liang@intel.com" , "haiyue.wang@intel.com" Subject: RE: [EXT] [PATCH v5 03/15] graph: move node process into inline function Thread-Topic: [EXT] [PATCH v5 03/15] graph: move node process into inline function Thread-Index: AQHZY4XEcftqj5JcgEazH8n5ro2ZMq8/a1UQ Date: Thu, 27 Apr 2023 15:03:05 +0000 Message-ID: References: <20230330061834.3118201-1-zhirun.yan@intel.com> <20230331040306.3143693-1-zhirun.yan@intel.com> <20230331040306.3143693-4-zhirun.yan@intel.com> In-Reply-To: <20230331040306.3143693-4-zhirun.yan@intel.com> Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-dg-ref: =?us-ascii?Q?PG1ldGE+PGF0IG5tPSJib2R5LnR4dCIgcD0iYzpcdXNlcnNccGJoYWdhdmF0?= =?us-ascii?Q?dWxhXGFwcGRhdGFccm9hbWluZ1wwOWQ4NDliNi0zMmQzLTRhNDAtODVlZS02?= =?us-ascii?Q?Yjg0YmEyOWUzNWJcbXNnc1xtc2ctOWI3MjkxOGItZTUwYy0xMWVkLWI2Y2It?= =?us-ascii?Q?NGMwMzRmNWZhYTM2XGFtZS10ZXN0XDliNzI5MThkLWU1MGMtMTFlZC1iNmNi?= =?us-ascii?Q?LTRjMDM0ZjVmYWEzNmJvZHkudHh0IiBzej0iMzI3NSIgdD0iMTMzMjcwODEz?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FBQUFBQUFBQUFBQUFRQUFBQUFBQUFB?= =?us-ascii?Q?Q0FBQUFBQUE9Ii8+PC9tZXRhPg=3D=3D?= x-dg-rorf: true x-ms-publictraffictype: Email x-ms-traffictypediagnostic: PH0PR18MB4086:EE_|CH0PR18MB5420:EE_ x-ms-office365-filtering-correlation-id: 78c83d85-ca19-4d3b-af61-08db4730813d x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: yTs4YKFfzdqKpvQaI7D+vCriOtTUh6nsTM2OHQTbfDzLjW8DZ6ymOJo8wwqWRLkGyqSFW6VQ4YrQLb89vIKsfYw/lZi1ragFTBa7tI6djyZVs17khDrkWQ4OthtOIYJnMaC7GWlWl5n6G38ngJ+F0/1BIW/Eic94tzV4zOtXQLe7hjWZF2ZWRAWk1CkZxI6SrHY++tvH8v0yhZCi9AVHBjj27O+aJxldJnHDOSUkm7Gr0NiH2vRSjwFspHCzLr0Z6jXCJO3v6wgKuLFd7xOkldsALWhgDIA6VLJwSYNHKa9funZISOtTfH7uu2Nc1OP9vbGfcYD05PeKz/VLjKdt4SDkY+cc13NBafGsSneCtoKP5cVgZY0jpjtbBMrT1AjfteVsIkg6UCjcjov0n2xMnZUYg3ATrqsTL2h5SCmwqowHkB8F4vOHDq877CHiXEqU/HdPbQTbV0EE8G4RNUIBeQBssWEBPLeWcilGA1oRDKSWqTJGAYmbYNZvOCQWMTvnum7zI3cUrFY+m6p9RS7aw+Q8peDYxZJYKDXO2ekDr+hRyYxiu6P1OTPQLqMG0oZ0uLC+dyNxc3aS/MVC8ksNWxs+qASzZLrNxVVPHCtvi9uxZWcDxf6nuIfnVawxJVHZ x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR18MB4086.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(4636009)(136003)(39860400002)(396003)(376002)(346002)(366004)(451199021)(316002)(66946007)(4326008)(64756008)(66476007)(76116006)(66556008)(66446008)(54906003)(110136005)(7696005)(71200400001)(86362001)(478600001)(55016003)(33656002)(186003)(6506007)(9686003)(26005)(5660300002)(52536014)(122000001)(41300700001)(2906002)(38100700002)(38070700005)(83380400001)(8936002)(8676002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?+mraxSQD1mtSLmByyJ31AFpkTu5IrhlfRoXN0I6B4DhErjyFGZl4uApq/HEk?= =?us-ascii?Q?1SleTAWuMKJyFMYbIaSV08I6qp3KU6zCpmu5mdJ50NEDkOjSF9Xuefxn345z?= =?us-ascii?Q?TWH2KwHdyGA0w9R+6ntOuSeEJHoobughj6aOUdGIdPwYnu0aczrVvTWN2DVe?= =?us-ascii?Q?B1u0pWc+LsjsNz/bVbsabWmA5RatSYmmXl628JxVqhs2F24vqzhlWnYLHGAP?= =?us-ascii?Q?cCQMozGIDEy9Rm0lXq6jpRtScVsW6I8pV8ss01mF7d9Fyrkec20a4qiLe5u/?= =?us-ascii?Q?0gVUnqQ7VLjSwPom2liY+EBhEoFSzEckCw/qFVD2r19hPiBwoCjRn2GurTFQ?= =?us-ascii?Q?gZmDwvBhYSUEbjOqYZcbzORfzmZYe7+rWHqiKxjA1nLASF2DgWvhct46G22R?= =?us-ascii?Q?B9zq70r6G1AGyn3fJXDUojsCYqx9WJvuaXtjOkBeczux99aHYp0QOIcMObkB?= =?us-ascii?Q?VZMND5q+3WC5ejebsKGx5Kykh+15CCoqjEpWgAx7nWPLkmeSiTj3I/dzwJeY?= =?us-ascii?Q?PhM29tFdKDuRpol2yoQ/EcUrWNp57JGgv76KM7i3MvLp7uTCPT76SpFvtmqZ?= =?us-ascii?Q?ZxoANKfEJutEcoot3wLigRjlvvQO/mLRG7gmS4JFI/q2pzW50gCcOPss1+Ld?= =?us-ascii?Q?rcc6fUABrW0UMOJLoHMbeiSwQaxlWLGezn+bg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ascii?Q?9ieaHTqEdUJKGlAyEo9XeVCd8bv/kLQwLdn2ms1v?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: marvell.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PH0PR18MB4086.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 78c83d85-ca19-4d3b-af61-08db4730813d X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Apr 2023 15:03:05.5345 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 7Yo/nCaOwyF+fEWdcFXqwQS2C4SI2BkFcQ/Z/40cgLZFwzlYXq07O2h54MmU05I5d76yX0jkoKa7Y8mCamL9oTtgR1KoqEiNxd0sUIOjUvc= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH0PR18MB5420 X-Proofpoint-GUID: evx78F-i08V8Mt_4Qt2OZD4-ZFcEP_bP X-Proofpoint-ORIG-GUID: evx78F-i08V8Mt_4Qt2OZD4-ZFcEP_bP X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-04-27_07,2023-04-27_01,2023-02-09_01 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 > Node process is a single and reusable block, move the code into an inline > function. >=20 > Signed-off-by: Haiyue Wang > Signed-off-by: Cunming Liang > Signed-off-by: Zhirun Yan > --- > lib/graph/rte_graph_model_rtc.h | 20 ++--------------- > lib/graph/rte_graph_worker_common.h | 33 > +++++++++++++++++++++++++++++ > 2 files changed, 35 insertions(+), 18 deletions(-) >=20 > diff --git a/lib/graph/rte_graph_model_rtc.h > b/lib/graph/rte_graph_model_rtc.h > index 665560f831..0dcb7151e9 100644 > --- a/lib/graph/rte_graph_model_rtc.h > +++ b/lib/graph/rte_graph_model_rtc.h > @@ -20,9 +20,6 @@ rte_graph_walk_rtc(struct rte_graph *graph) > const rte_node_t mask =3D graph->cir_mask; > uint32_t head =3D graph->head; > struct rte_node *node; > - uint64_t start; > - uint16_t rc; > - void **objs; >=20 > /* > * Walk on the source node(s) ((cir_start - head) -> cir_start) and > then > @@ -41,21 +38,8 @@ rte_graph_walk_rtc(struct rte_graph *graph) > */ > while (likely(head !=3D graph->tail)) { > node =3D (struct rte_node *)RTE_PTR_ADD(graph, > cir_start[(int32_t)head++]); > - RTE_ASSERT(node->fence =3D=3D RTE_GRAPH_FENCE); > - objs =3D node->objs; > - rte_prefetch0(objs); > - > - if (rte_graph_has_stats_feature()) { > - start =3D rte_rdtsc(); Since we are refactoring this function could you change rte_rdtsc() to rte_= rdtsc_precise(). > - rc =3D node->process(graph, node, objs, node->idx); > - node->total_cycles +=3D rte_rdtsc() - start; > - node->total_calls++; > - node->total_objs +=3D rc; > - } else { > - node->process(graph, node, objs, node->idx); > - } > - node->idx =3D 0; > - head =3D likely((int32_t)head > 0) ? head & mask : > head; > + __rte_node_process(graph, node); > + head =3D likely((int32_t)head > 0) ? head & mask : head; > } > graph->tail =3D 0; > } > diff --git a/lib/graph/rte_graph_worker_common.h > b/lib/graph/rte_graph_worker_common.h > index b58f8f6947..41428974db 100644 > --- a/lib/graph/rte_graph_worker_common.h > +++ b/lib/graph/rte_graph_worker_common.h > @@ -130,6 +130,39 @@ void __rte_node_stream_alloc_size(struct > rte_graph *graph, >=20 > /* Fast path helper functions */ >=20 > +/** > + * @internal > + * > + * Enqueue a given node to the tail of the graph reel. > + * > + * @param graph > + * Pointer Graph object. > + * @param node > + * Pointer to node object to be enqueued. > + */ > +static __rte_always_inline void > +__rte_node_process(struct rte_graph *graph, struct rte_node *node) > +{ > + uint64_t start; > + uint16_t rc; > + void **objs; > + > + RTE_ASSERT(node->fence =3D=3D RTE_GRAPH_FENCE); > + objs =3D node->objs; > + rte_prefetch0(objs); > + > + if (rte_graph_has_stats_feature()) { > + start =3D rte_rdtsc(); > + rc =3D node->process(graph, node, objs, node->idx); > + node->total_cycles +=3D rte_rdtsc() - start; > + node->total_calls++; > + node->total_objs +=3D rc; > + } else { > + node->process(graph, node, objs, node->idx); > + } > + node->idx =3D 0; > +} > + > /** > * @internal > * > -- > 2.37.2