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 1952742AF1; Thu, 18 May 2023 17:47:18 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B805E40A8A; Thu, 18 May 2023 17:47:17 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id C626C4014F for ; Thu, 18 May 2023 17:47:15 +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 34IA8M56012880 for ; Thu, 18 May 2023 08:47:15 -0700 Received: from nam10-dm6-obe.outbound.protection.outlook.com (mail-dm6nam10lp2108.outbound.protection.outlook.com [104.47.58.108]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3qn7jbbjqw-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 18 May 2023 08:47:14 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hsqh2djLX17NLaKgNBm5pJZywKUuhAM6jxDlhPwN9BNuhKgALHHjbjzgOc/WnexHRzXvWoNn+TD271hh1cttmpKg7RIKAh9SvJYbEi3AdBflRfsz41LCkdBfo7LP8hhI3o3IaNY2RjoqV9ovgNy62DrZA/c0A51UEw3y25eM65r3oifUiFnCiJWL2VeIwe5pO0gKSQ+L7MdjS4CcSOgTcV/bMUxsrZhaOpO2kR1CByB9EqXlzvN3RzmglS/D5rdhP1SMET7atq1Oko1GcrjsnQohiU5Xi8o1zYSx3UkqzLG+lvooq6/BrNUryOvgipi7aRrYXEf8bljg7OBNw//xvQ== 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=t7trY4pjdwflO6eEQZO/it6Xu3vh/N9Ulm0VNjWXxJc=; b=K13iZ50QZiB1i/Qp3o806iVFiZ5tOSMl3YWS0+JULBS2JVwmVHCzstlu62DV3TdaAB8o75idzMjZ71o0Y1D1C+G3Fh9SbVo4HhcaRBwUHzEVKHiyun+26hY8QXaQOpjZZkhH4lzgjCJkufTEf/rNY9w8PbIRlmgMH/DSpQ733d2B0QJERG/BLAnHLj5Y7JiQKa0XoL6QjXj2ttRoCQW1Ajrb5WVsHuW5WtbZsdt4RhFgSpd7+smQal1D+OfhxMxLo8jo09U7Y9QQTDor+7cQBdS1ybgcgcKb4pOvFCp9oIdv2ffUbsyUk0KxvR+ABeQM8ZHrRQETNMB/+ZjI/zdxSw== 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=t7trY4pjdwflO6eEQZO/it6Xu3vh/N9Ulm0VNjWXxJc=; b=OrP5aIFHaXwiPOnTKNTP3O/4EOtssOyyaXcbNVAmoSPMmE0EerFxn5FcPQNZm3OPMgjB2m1dHiVPjxadVOF6pxGtpOA6XnDxIz9lQM5ARTf35Z7/Lxj3hQ2BP8BdRKT9SVFbiZc3D/ui/Kp5aNy5C3E8QcwgMvnS7dyWEw0RI6I= Received: from PH0PR18MB4425.namprd18.prod.outlook.com (2603:10b6:510:ef::13) by CY4PR18MB1608.namprd18.prod.outlook.com (2603:10b6:903:14f::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6411.18; Thu, 18 May 2023 15:47:12 +0000 Received: from PH0PR18MB4425.namprd18.prod.outlook.com ([fe80::a2dc:5256:5a0c:851f]) by PH0PR18MB4425.namprd18.prod.outlook.com ([fe80::a2dc:5256:5a0c:851f%5]) with mapi id 15.20.6411.019; Thu, 18 May 2023 15:47:11 +0000 From: Shijith Thotton To: Pavan Nikhilesh Bhagavatula , Jerin Jacob Kollanukkaran CC: "dev@dpdk.org" , Pavan Nikhilesh Bhagavatula Subject: RE: [EXT] [PATCH v2 2/3] app/eventdev: use enqueue new event burst routine Thread-Topic: [EXT] [PATCH v2 2/3] app/eventdev: use enqueue new event burst routine Thread-Index: AQHZd69WsWqyeXmYmUSvO55SgbgPWK9gUJOg Date: Thu, 18 May 2023 15:47:11 +0000 Message-ID: References: <20230419200151.2474-1-pbhagavatula@marvell.com> <20230425195110.4223-1-pbhagavatula@marvell.com> <20230425195110.4223-2-pbhagavatula@marvell.com> In-Reply-To: <20230425195110.4223-2-pbhagavatula@marvell.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-dg-ref: =?us-ascii?Q?PG1ldGE+PGF0IG5tPSJib2R5LnR4dCIgcD0iYzpcdXNlcnNcc3Rob3R0b25c?= =?us-ascii?Q?YXBwZGF0YVxyb2FtaW5nXDA5ZDg0OWI2LTMyZDMtNGE0MC04NWVlLTZiODRi?= =?us-ascii?Q?YTI5ZTM1Ylxtc2dzXG1zZy0zZjIyNDZiOC1mNTkzLTExZWQtOTQ5Yi1lODZh?= =?us-ascii?Q?NjQ5NjhlNTZcYW1lLXRlc3RcM2YyMjQ2YmEtZjU5My0xMWVkLTk0OWItZTg2?= =?us-ascii?Q?YTY0OTY4ZTU2Ym9keS50eHQiIHN6PSI1ODI0IiB0PSIxMzMyODg5ODQyOTY5?= =?us-ascii?Q?MTE5ODciIGg9ImdIN0lXc1hzTEFtdjdBYWV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FBQUFBQUFRQUFBQUFBQUFBQ0FBQUFBQUE9Ii8+PC9tZXRhPg== x-ms-publictraffictype: Email x-ms-traffictypediagnostic: PH0PR18MB4425:EE_|CY4PR18MB1608:EE_ x-ms-office365-filtering-correlation-id: ebd5a519-38ff-4f88-b41c-08db57b72547 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: wyO767VDHzUV1KhO+T22VFdCz5RWWzE3pF0jpFC+qnu61wWPB/8RkfT6G+n5BAZA8rUYgZ7iJXF4CzR+wYjNROEajSICRwEGEjNz2OgO7EjI+bqGp0ZqMFq28/ZDoOn69yBHdE52qbDdqL1vpluZ8vOjtgZ64A4RpyYZyj+V2nfWHIFoK7RJVWFZBFQrqUW1zrXrc4v9DCnpeYn532+5een61cof+5ZLMYbRznuhDN75X/+f9KATFg4Bh81yL2A+9HlgtOXNMcQ8RZeAzlIBhQ8tjcfjVVpD6wMYOElbGuLKtk5LQMvWolGbz77uGuYWFqQGdfHy7kqdq0yVWupBYrsBzXPrJXza3Tn9xT5DQkNWfDjkY5fC4DIovQFH3FXkweG+lrykPXhYngOeKh3A+y5N1XhQOsilXawfvptXZ1gQrXjqnblPTl51KQ9qQbhIHyimFkSk6axqrNdiki3oESWGEhvUW0ofEvej9yMKyFFuRUFFNrctnV+x1eELNPXE9mlCe6gNysOwYJirAidb8LG8/KEaInx45pbdWqMCQcX459OOb/e3eLNzEqD2C4Ah7fdcBUJTgOcEBJFCBrBJRK9Yyn61a8qFhdOqluzBfOiJoikYP7Pvotzsd9P4PYe2 x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR18MB4425.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(4636009)(366004)(346002)(376002)(39860400002)(136003)(396003)(451199021)(66476007)(66946007)(66556008)(66446008)(64756008)(478600001)(107886003)(9686003)(54906003)(76116006)(110136005)(6636002)(316002)(4326008)(7696005)(41300700001)(71200400001)(5660300002)(26005)(186003)(33656002)(8676002)(8936002)(6506007)(55016003)(52536014)(83380400001)(2906002)(38070700005)(38100700002)(122000001)(86362001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?vOYdNXmWRai9N+XjwPAvPrHJU3pLxssVv0rjUaRDBYKAvGJzN0xf3rNGpdpF?= =?us-ascii?Q?k1BGhmu3ZZSlZLdFmdBgX0hYFD91GHhnDzGKKPO7H9Mo3JhkZ+NUFuYrO4Yc?= =?us-ascii?Q?n1GZ86/C4EEGeeW0gr7ghZ+ILWb0mgP4j/rmkrpfP6mgWNAbNwwLNFd21WPq?= =?us-ascii?Q?zSArumSd38o41IDnnSzhj2yeOxglclVxaV3q7OA/c3TA+TSMUihZBWzrojCD?= =?us-ascii?Q?kbAA3fY3rFeBYYIpS9cLWFX5H0NKtY4o3cp4ARzVF/wTmgYkbMuRql3jMrM/?= =?us-ascii?Q?gk/nACFHdGJcWmtiILXq1t8+BTq8N+q8+ABWRkbYj4rS4G0IltK0YFIZ+erR?= =?us-ascii?Q?Ut9CeolhQ6P6jwB6SL8cEhrwdrxuLxu9JVdaBBxScpmjMOhoGWP9mxRBnjzH?= =?us-ascii?Q?7K79haAQt+zSu8rd3hNrz1qQGKDfzzgC3i8as9KYNDmSOVyUAbWgcoqHy+Hb?= =?us-ascii?Q?JVdX8iZBNa3Umw5p9oL9F43E+9FYDRTe+S98g5FGpxMZ1Lhn8IHQhvQiEy6h?= =?us-ascii?Q?C2gLnPWDSlBPhSybMEeoFyOjSmGr5viDdtKMpfDsK7VGgWRcxowoH0H2OGgZ?= =?us-ascii?Q?oEM3XSn26Nwq8VbMV3f8RCDA6pfmIroVzGwp9XU5+OGBDdTumBHevZ6vSuSW?= =?us-ascii?Q?PJptCTPhbWZMku6xvE7JaLHn6raqMxv7RcT+TsZrlSbM8qsWWC8PyK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G1bQM5WOOMIUjuqKvmCNQ9B?= 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: PH0PR18MB4425.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: ebd5a519-38ff-4f88-b41c-08db57b72547 X-MS-Exchange-CrossTenant-originalarrivaltime: 18 May 2023 15:47:11.8704 (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: FgEio9ulWdym8xCiPjXjqz7cRgzkuvzoot6FMe480znX6tSyv1svcGiQSQbtfmDdLG/NqBgSMX+oY92DfnGSUA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR18MB1608 X-Proofpoint-GUID: LPbounoHU4pE5EE7bF2q8fH2GWcbC0-U X-Proofpoint-ORIG-GUID: LPbounoHU4pE5EE7bF2q8fH2GWcbC0-U X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-05-18_12,2023-05-17_02,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 >From: Pavan Nikhilesh > >Use the `rte_event_enqueue_new_burst` routine to enqueue events >with rte_event::op as RTE_EVENT_OP_NEW. This allows PMDs to use >optimized enqueue routines. > >Signed-off-by: Pavan Nikhilesh []=20 Acked-by: Shijith Thotton >--- > app/test-eventdev/evt_options.c | 2 +- > app/test-eventdev/test_perf_common.c | 58 +++++++++++++++++----------- > 2 files changed, 37 insertions(+), 23 deletions(-) > >diff --git a/app/test-eventdev/evt_options.c b/app/test-eventdev/evt_optio= ns.c >index b175c067cd..03fb3bfce0 100644 >--- a/app/test-eventdev/evt_options.c >+++ b/app/test-eventdev/evt_options.c >@@ -27,7 +27,7 @@ evt_options_default(struct evt_options *opt) > opt->nb_flows =3D 1024; > opt->socket_id =3D SOCKET_ID_ANY; > opt->pool_sz =3D 16 * 1024; >- opt->prod_enq_burst_sz =3D 1; >+ opt->prod_enq_burst_sz =3D 0; > opt->wkr_deq_dep =3D 16; > opt->nb_pkts =3D (1ULL << 26); /* do ~64M packets */ > opt->nb_timers =3D 1E8; >diff --git a/app/test-eventdev/test_perf_common.c b/app/test- >eventdev/test_perf_common.c >index fd434666cb..68af3cb346 100644 >--- a/app/test-eventdev/test_perf_common.c >+++ b/app/test-eventdev/test_perf_common.c >@@ -131,8 +131,10 @@ perf_producer(void *arg) > uint32_t flow_counter =3D 0; > uint64_t count =3D 0; > struct perf_elt *m[BURST_SIZE + 1] =3D {NULL}; >+ uint8_t enable_fwd_latency; > struct rte_event ev; > >+ enable_fwd_latency =3D opt->fwd_latency; > if (opt->verbose_level > 1) > printf("%s(): lcore %d dev_id %d port=3D%d queue %d\n", >__func__, > rte_lcore_id(), dev_id, port, p->queue_id); >@@ -151,13 +153,16 @@ perf_producer(void *arg) > for (i =3D 0; i < BURST_SIZE; i++) { > ev.flow_id =3D flow_counter++ % nb_flows; > ev.event_ptr =3D m[i]; >- m[i]->timestamp =3D rte_get_timer_cycles(); >- while (rte_event_enqueue_burst(dev_id, >- port, &ev, 1) !=3D 1) { >+ if (enable_fwd_latency) >+ m[i]->timestamp =3D rte_get_timer_cycles(); >+ while (rte_event_enqueue_new_burst(dev_id, port, &ev, >+ 1) !=3D 1) { > if (t->done) > break; > rte_pause(); >- m[i]->timestamp =3D rte_get_timer_cycles(); >+ if (enable_fwd_latency) >+ m[i]->timestamp =3D >+ rte_get_timer_cycles(); > } > } > count +=3D BURST_SIZE; >@@ -171,7 +176,6 @@ perf_producer_burst(void *arg) > { > uint32_t i; > uint64_t timestamp; >- struct rte_event_dev_info dev_info; > struct prod_data *p =3D arg; > struct test_perf *t =3D p->t; > struct evt_options *opt =3D t->opt; >@@ -183,15 +187,13 @@ perf_producer_burst(void *arg) > uint32_t flow_counter =3D 0; > uint16_t enq =3D 0; > uint64_t count =3D 0; >- struct perf_elt *m[MAX_PROD_ENQ_BURST_SIZE + 1]; >- struct rte_event ev[MAX_PROD_ENQ_BURST_SIZE + 1]; >+ struct perf_elt *m[opt->prod_enq_burst_sz + 1]; >+ struct rte_event ev[opt->prod_enq_burst_sz + 1]; > uint32_t burst_size =3D opt->prod_enq_burst_sz; >+ uint8_t enable_fwd_latency; > >- memset(m, 0, sizeof(*m) * (MAX_PROD_ENQ_BURST_SIZE + 1)); >- rte_event_dev_info_get(dev_id, &dev_info); >- if (dev_info.max_event_port_enqueue_depth < burst_size) >- burst_size =3D dev_info.max_event_port_enqueue_depth; >- >+ enable_fwd_latency =3D opt->fwd_latency; >+ memset(m, 0, sizeof(*m) * (opt->prod_enq_burst_sz + 1)); > if (opt->verbose_level > 1) > printf("%s(): lcore %d dev_id %d port=3D%d queue %d\n", >__func__, > rte_lcore_id(), dev_id, port, p->queue_id); >@@ -212,19 +214,21 @@ perf_producer_burst(void *arg) > for (i =3D 0; i < burst_size; i++) { > ev[i].flow_id =3D flow_counter++ % nb_flows; > ev[i].event_ptr =3D m[i]; >- m[i]->timestamp =3D timestamp; >+ if (enable_fwd_latency) >+ m[i]->timestamp =3D timestamp; > } >- enq =3D rte_event_enqueue_burst(dev_id, port, ev, burst_size); >+ enq =3D rte_event_enqueue_new_burst(dev_id, port, ev, >burst_size); > while (enq < burst_size) { >- enq +=3D rte_event_enqueue_burst(dev_id, port, >- ev + enq, >- burst_size - enq); >+ enq +=3D rte_event_enqueue_new_burst( >+ dev_id, port, ev + enq, burst_size - enq); > if (t->done) > break; > rte_pause(); >- timestamp =3D rte_get_timer_cycles(); >- for (i =3D enq; i < burst_size; i++) >- m[i]->timestamp =3D timestamp; >+ if (enable_fwd_latency) { >+ timestamp =3D rte_get_timer_cycles(); >+ for (i =3D enq; i < burst_size; i++) >+ m[i]->timestamp =3D timestamp; >+ } > } > count +=3D burst_size; > } >@@ -799,9 +803,19 @@ perf_event_crypto_producer_burst(void *arg) > static int > perf_producer_wrapper(void *arg) > { >+ struct rte_event_dev_info dev_info; > struct prod_data *p =3D arg; > struct test_perf *t =3D p->t; >- bool burst =3D evt_has_burst_mode(p->dev_id); >+ >+ rte_event_dev_info_get(p->dev_id, &dev_info); >+ if (!t->opt->prod_enq_burst_sz) { >+ t->opt->prod_enq_burst_sz =3D MAX_PROD_ENQ_BURST_SIZE; >+ if (dev_info.max_event_port_enqueue_depth > 0 && >+ (uint32_t)dev_info.max_event_port_enqueue_depth < >+ t->opt->prod_enq_burst_sz) >+ t->opt->prod_enq_burst_sz =3D >+ dev_info.max_event_port_enqueue_depth; >+ } > > /* In case of synthetic producer, launch perf_producer or > * perf_producer_burst depending on producer enqueue burst size >@@ -811,7 +825,7 @@ perf_producer_wrapper(void *arg) > return perf_producer(arg); > else if (t->opt->prod_type =3D=3D EVT_PROD_TYPE_SYNT && > t->opt->prod_enq_burst_sz > 1) { >- if (!burst) >+ if (dev_info.max_event_port_enqueue_depth =3D=3D 1) > evt_err("This event device does not support burst >mode"); > else > return perf_producer_burst(arg); >-- >2.25.1