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 20B6D42C5E; Thu, 8 Jun 2023 15:43:35 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 121FB41133; Thu, 8 Jun 2023 15:43:35 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 5267F410D7 for ; Thu, 8 Jun 2023 15:43:33 +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 3587nHKK023576; Thu, 8 Jun 2023 06:43:32 -0700 Received: from nam10-bn7-obe.outbound.protection.outlook.com (mail-bn7nam10lp2108.outbound.protection.outlook.com [104.47.70.108]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3r329c2ybc-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 08 Jun 2023 06:43:32 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZdvsLZKXlTMFybh0PS6IffaRClDpEECXxrfBf4LE3rBfVESG+4eamzOaXrJsPwNrGprR+SmYmN1TdmLfXCD+YT7vZ0zAVHNCD+kHlIB5QZX+jvL/fRQvITlvKVDgZVfg4zb9iEeFV4R/sXvotyYftqDlNEDGWDZtKlSQ/xsEr4qrd3yhi275ZlzpPCvc8Y2Q55gLZSWIo39W609Lgb95UjjVTHDmEvvqXeMEx7cJZJIfKgCpenVIdS+A2FcpsjpiHtLNacvfgswBcyQf1GdTj3fwzszy9yW6K+2ficHFxDjwqfEsW8Zj2Z9CPueXtm13TNBpnW2CygLIwSQsfZ4ugw== 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=oC1SRFYz9B6F52y0NjhgVf+O9DMCe0XYX3mIJNjMGTU=; b=FvTlcBpl+eYMDKJfp0T08S7pqdhQTP4ZYAoRMqgVNUJswv6e/WOOe6cPXFo7b3x+HI4bSx9g1mZ8n75TcyYgFRZUhWY4rN/pfXIgbKUPgVXHO3tZAaLYRN20uslznW+eguFY0BvcQyZypN3IKj+1ilpFRuLfZFAuAU7Dvtu5qpcdPlXzkyZU1vaaGPkseTEsa+UYuYqYw5Y1OFggOWg3coCg00GtjYnUiLKfFJtL6L3lXhpe00JNN8yfs9WWWpqyusSG4002LHOu/My8wMQGu5c13yfvsm4Bl+xBEaQZVWdijSqdH26ekVafUzHb92zOqb2yTU5u6V9Rl7lCXfZkYA== 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=oC1SRFYz9B6F52y0NjhgVf+O9DMCe0XYX3mIJNjMGTU=; b=X0SxmqJ9B/kN2OmXXOwB1SjozgvQNGWNq1yQlEieKMxAyTxvrnENwKexJLOpDQ3ekhWKuFzI1B6L8yZPqa+qRSqMsocUh1UPvY9piR/xnVstXhOviKhawJcNmrqw4uUXfh1XU/kcLJ/J8snqO5pADO4QZje8vl8vw8yYDrpzJXI= Received: from PH0PR18MB4086.namprd18.prod.outlook.com (2603:10b6:510:3::9) by DM8PR18MB4502.namprd18.prod.outlook.com (2603:10b6:8:3b::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6455.33; Thu, 8 Jun 2023 13:43:29 +0000 Received: from PH0PR18MB4086.namprd18.prod.outlook.com ([fe80::600f:e50f:8159:d89]) by PH0PR18MB4086.namprd18.prod.outlook.com ([fe80::600f:e50f:8159:d89%6]) with mapi id 15.20.6455.030; Thu, 8 Jun 2023 13:43:29 +0000 From: Pavan Nikhilesh Bhagavatula To: Zhirun Yan , "dev@dpdk.org" , Jerin Jacob Kollanukkaran , Kiran Kumar Kokkilagadda , Nithin Kumar Dabilpuram , "stephen@networkplumber.org" , "jerinjacobk@gmail.com" CC: "cunming.liang@intel.com" , "haiyue.wang@intel.com" , "mattias.ronnblom@ericsson.com" Subject: RE: [EXT] [PATCH v10 12/16] graph: introduce graph walk by cross-core dispatch Thread-Topic: [EXT] [PATCH v10 12/16] graph: introduce graph walk by cross-core dispatch Thread-Index: AQHZmfDLioiftdJUCUGBM1guq6GVDa+A6nwQ Date: Thu, 8 Jun 2023 13:43:29 +0000 Message-ID: References: <20230607035144.1214492-1-zhirun.yan@intel.com> <20230608095759.1800617-1-zhirun.yan@intel.com> <20230608095759.1800617-13-zhirun.yan@intel.com> In-Reply-To: <20230608095759.1800617-13-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?Yjg0YmEyOWUzNWJcbXNnc1xtc2ctNzI1MDc2NWMtMDYwMi0xMWVlLWI2Y2Ut?= =?us-ascii?Q?NGMwMzRmNWZhYTMyXGFtZS10ZXN0XDcyNTA3NjVlLTA2MDItMTFlZS1iNmNl?= =?us-ascii?Q?LTRjMDM0ZjVmY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B4502:EE_ x-ms-office365-filtering-correlation-id: 08108020-5c85-462b-b9ae-08db6826580f x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: GHgUnWN48Ht5nTVh7nnFTDCCUoNtmrKetWS2gcmZo2QgFwJwNlxXcjIOEyCOv3H9O4ALtdIwWQeKswN2AlQSK/N8jlR5Tn0aSxt1q4yh5LK8NE8PciLxUzQEbFpIVxhOsSuAO6VdncDf2I2R9zOCuvuKEwHnCJIkF/rwjbVqT8cZW5Zv27ldpnMvLJVw8Sai/mkBSR50PyS7GDufdxYuCMd6i/l6BBbhfKmYjMmr18qc5GFJVW4xw7jJrjYEiDeYXlPbnbtgofJe5VUdhaI57o9xffiFuwlVObQEyK2Yq4y787btF5n/uRMPCZdNoWrgOdJx5r35cy4FToZJCG/FSnsUCuxu+brHzUhTqD7SvsABZpHDw/pnMNrbWvy248ePnEP2ZLfwQozxB86tHiya1yDcGLcNojcIMBU3fsdgKj5z7s5MYDJ0MPxPOiZG++O7fQOWCK/KCRJM/2fD+p0QOzJhjpWE6Hvo+6SAapbv7DoSmgzHITuHeeekvTc+eBplIGOI/EpzsAb0prR0+usfIGz2d3jsCp+y34fIBnj6s/By0NxaZg/0FmkW+sr2tFL0RNeimwl3CyUPPq3Fn+xMzVhtX5n5NX3F3fbD2f+HfC26oD2Pgcv/kB5IZatvPnDe 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)(376002)(366004)(396003)(39860400002)(136003)(346002)(451199021)(6506007)(9686003)(26005)(52536014)(122000001)(86362001)(33656002)(186003)(316002)(55016003)(2906002)(5660300002)(8676002)(38070700005)(8936002)(41300700001)(38100700002)(76116006)(66446008)(110136005)(66556008)(66476007)(66946007)(4326008)(54906003)(64756008)(478600001)(71200400001)(7696005); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?YL5DvposdnjYmCdrmy5fuIRZFCRWTt8j+/Jg1fdu8V/OhPKJql/nrSIfO6Go?= =?us-ascii?Q?TIWFtvGe7ekJHWPxrk6c0651DeOBOi+v7JrfeMo1isnqdQukCwoXjRTNUoYD?= =?us-ascii?Q?nuzwFo3CWMnPSBFMCjmwnQvtZwNFwVjUoPvzQrocKCiQsmYNyFwCzDoSzwe6?= =?us-ascii?Q?9CGmhYnGphGDzdY1aYc5btx0Usu3vf/PXcQYrpO9t02DEgnY+y8zx68HSoRB?= =?us-ascii?Q?avr4OntSSk0QmNE9n8Gk9qTPpPKT1ssIELKYDTgNIrtVx1KRJixq44Yo1YaG?= =?us-ascii?Q?pTUwDl5V7eIOaPwLQumJwSeQfJCpISqMoPWZUeyX/9dKvmzzClOt1j8DF4Xc?= =?us-ascii?Q?vnghxzr7FgE8VwaGC/Gf+nuNHvfDZIikIsVsuAfdbm3Hz7vO1sSD3PfGwNRr?= =?us-ascii?Q?0NUgYyKw1QPnUmwa4yIqvIGyBk7hzxJN9DHFy68T/Wl3Cwf+4eQBIhlri/fl?= =?us-ascii?Q?R35zi079q2ao4B9PG+Wfkc4qjCTJLR+vvXBmnju8qwfCWQdUXKYPq5nN+Hq9?= =?us-ascii?Q?Dzl7TFx6Ob/2pvn1kXKwth6+4Bid+TSUiR4U3dGbEasibSKUJGYjFb0OyfIs?= =?us-ascii?Q?ZIBDmJ/5DW9cG/+eFNUExz8kZBywupHwq0X2j2wAkgahDt8SEYmvZaqfoKVo?= =?us-ascii?Q?X8naPhHegnw9MLf+IQtVoXoO7YAJvUqPHb5iiqzo7RHQYyUBMVTzjeaWH/rs?= =?us-ascii?Q?SXeSGk86o8rshDb1KL2hh9vuOuGvUD92Ht3BcywGw4cq8lr0c0veROgC/YSr?= =?us-ascii?Q?K6Gb+oTAjMXnuXcnc2/JTE5PKIb+jQMm7UP+QfPoH4gnDuIUSGGvpsSRoxu0?= =?us-ascii?Q?/rgmsQQtC1bJOYn5K7MxbMiXGJR5kcDVwmFKYEJrZ2f2aw2F51wc798SoAnA?= =?us-ascii?Q?CgZJSfduSkNp5Wccaf03WPS/Tz1yQh3suykxorwaNW8NR1M0t9pGunf7YJwY?= =?us-ascii?Q?+UHcO3RcFvwiC068rJwg9igcaHB+5EYgShacMRKObpArvXkTaRw2oGZiYlO1?= =?us-ascii?Q?p9Jh+zEAqTg+PF7jr/CxBgft/B0Lgvcx9+xRa+TZY0kheswtvgkpw22veYHl?= =?us-ascii?Q?xjPS6I0lSz+Y4eZTbU/K3J2Xqygs5YPuD77k+waUxvzYcO+ywHTgUPv9QoEC?= =?us-ascii?Q?RCZ4IB4ma6YODf7TjIQBfnC8rDZfhZi8vTbe8desLuMds5hRkcwCzI3NBJYv?= =?us-ascii?Q?qOkFYyxWGW4lFMqCCEA2gd2bmSSbQcqcJms7j8WXIZaPw/kKykiLGecoL25V?= =?us-ascii?Q?k8gjpOuAudBrZXyD1R9TRvbEWgS4NdFG1cqVjk/QsXjixjwui7yBfnbZX0kX?= =?us-ascii?Q?6uFHpMBCqvxcCACmFTcJhLmXNYWCuEOxhbOQSUlFqmx4+wQG0nVFlHpmi59Y?= =?us-ascii?Q?s+tMZN2e695aJQzDG5oeTb08ZwnnM3GaIwQ5mUK7ncu/6WIEDVj6uO/KLME4?= =?us-ascii?Q?8q2kp2DR9d5Qh8LHhuxMlU/154/UKVyLTladeeoFjqcgOmz/K/1WecnCVrLE?= =?us-ascii?Q?vfzx3gor9XY3O8pXDzTPHnRgAlfXnEuiQh99xetUeLrzb/XI8vBJqq3PyYD2?= =?us-ascii?Q?/lNGr89CrCxBVvf8rHARXtF22E2DiNLwkGAAI9fd?= 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: 08108020-5c85-462b-b9ae-08db6826580f X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Jun 2023 13:43:29.8521 (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: j/bjsj9z38JFehBhWegY8/t8TPVeLbewX6mbhmUtGxGyT5wN3BEfbmtQaVQwHNapnhC8AMNKu1bHD4spmh1vGSej4hgGV4qRgIwUhUZXrAk= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM8PR18MB4502 X-Proofpoint-GUID: 42tiO6heqfDxJtd1NZaJ8fjLmMGXA6dH X-Proofpoint-ORIG-GUID: 42tiO6heqfDxJtd1NZaJ8fjLmMGXA6dH X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.573,FMLib:17.11.176.26 definitions=2023-06-08_10,2023-06-08_01,2023-05-22_02 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 > This patch introduces the task scheduler mechanism to enable dispatching > tasks to another worker cores. Currently, there is only a local work > queue for one graph to walk. We introduce a scheduler worker queue in > each worker core for dispatching tasks. It will perform the walk on > scheduler work queue first, then handle the local work queue. >=20 > Signed-off-by: Haiyue Wang > Signed-off-by: Cunming Liang > Signed-off-by: Zhirun Yan > Acked-by: Jerin Jacob Acked-by: Pavan Nikhilesh > --- > lib/graph/rte_graph_model_mcore_dispatch.h | 44 > ++++++++++++++++++++++ > 1 file changed, 44 insertions(+) >=20 > diff --git a/lib/graph/rte_graph_model_mcore_dispatch.h > b/lib/graph/rte_graph_model_mcore_dispatch.h > index 6163f96c37..c78a3bbdf9 100644 > --- a/lib/graph/rte_graph_model_mcore_dispatch.h > +++ b/lib/graph/rte_graph_model_mcore_dispatch.h > @@ -83,6 +83,50 @@ __rte_experimental > int rte_graph_model_mcore_dispatch_node_lcore_affinity_set(const char > *name, > unsigned int > lcore_id); >=20 > +/** > + * Perform graph walk on the circular buffer and invoke the process > function > + * of the nodes and collect the stats. > + * > + * @param graph > + * Graph pointer returned from rte_graph_lookup function. > + * > + * @see rte_graph_lookup() > + */ > +__rte_experimental > +static inline void > +rte_graph_walk_mcore_dispatch(struct rte_graph *graph) > +{ > + const rte_graph_off_t *cir_start =3D graph->cir_start; > + const rte_node_t mask =3D graph->cir_mask; > + uint32_t head =3D graph->head; > + struct rte_node *node; > + > + RTE_ASSERT(graph->parent_id !=3D RTE_GRAPH_ID_INVALID); > + if (graph->dispatch.wq !=3D NULL) > + __rte_graph_mcore_dispatch_sched_wq_process(graph); > + > + while (likely(head !=3D graph->tail)) { > + node =3D (struct rte_node *)RTE_PTR_ADD(graph, > cir_start[(int32_t)head++]); > + > + /* skip the src nodes which not bind with current worker */ > + if ((int32_t)head < 0 && node->dispatch.lcore_id !=3D graph- > >dispatch.lcore_id) > + continue; > + > + /* Schedule the node until all task/objs are done */ > + if (node->dispatch.lcore_id !=3D RTE_MAX_LCORE && > + graph->dispatch.lcore_id !=3D node->dispatch.lcore_id && > + graph->dispatch.rq !=3D NULL && > + > __rte_graph_mcore_dispatch_sched_node_enqueue(node, graph- > >dispatch.rq)) > + continue; > + > + __rte_node_process(graph, node); > + > + head =3D likely((int32_t)head > 0) ? head & mask : head; > + } > + > + graph->tail =3D 0; > +} > + > #ifdef __cplusplus > } > #endif > -- > 2.37.2