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 EAC1E45844; Thu, 22 Aug 2024 10:01:20 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8230142E6E; Thu, 22 Aug 2024 10:01:20 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 6460D42E66 for ; Thu, 22 Aug 2024 10:01:18 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 47LKKKWs025688 for ; Thu, 22 Aug 2024 01:01:17 -0700 Received: from nam10-bn7-obe.outbound.protection.outlook.com (mail-bn7nam10lp2045.outbound.protection.outlook.com [104.47.70.45]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 415aw2mw80-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 22 Aug 2024 01:01:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=CiFalWrNJ6Z7jhUXoJosi8C6pp+24ThdlDVVb8yEGEvJFrJ6K1KUGDwyZGKs+PZGhpUPuvxUvWXZ5VJFJ3r+VALe/yfIkfP21SnwVnvJ/KS11+6+xHErjxUSwjByr3Y6RuPodLE15f9hLW9jOx0Oh78VzQsjfBe87ZnXXF2uZi8C9k2mTkuFfbdeJWt9l6RbswU53opszkYjotvtkYXJGEMPLcsHO4jTwkNpdH2zwS85ZG62YnBiGCuYNvVoNp6t2zzDKQkgACzxgUsXHFzPv0JLEsnFHRnNUl14BqYj3pALVFpl9Vec2mImZEm/HqU4BvLaQo6GqfraT7tpG7MqYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=pptemLdWUEOzuHOXXOa8TLwfu1ju9xgeu/zALbx7do8=; b=um3j1VsOdznzqbLJRzzWoi0Nt2UVIBkjj4TAIqsiGqw5gsZq9WtsPDmzfZi4WhiNRFWA4kz2TQM9otFlsQt9t/T8mLRszzcmJdy5vrdDbTI1b8OXwmmbzni11txE6dNyUhz5GH6mCbUwnn6hMnQhCHD6xrBYQo8DBhcnaQJBDjeoUhpi6p8H3b2BmCiAKid7jWd3qxNRiz2L7lvmyes2no1C+XLQurexx76XbxestuS+nWBEXmyS+RN8WsGHsGiRoUhwwXuTkkLjkBVRJMuqJDLa+JMk3QmiLmkkI/UMoTUfNx00FyLH0C0RA+NjGGOtuyclSoN8ffredqrKj/WJXQ== 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.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=pptemLdWUEOzuHOXXOa8TLwfu1ju9xgeu/zALbx7do8=; b=tfapVRPzkdYQ6I3zeD/J5w+cCH9WK99gfPYsCRhWur7A+TOovwEZzZ3cmKO41bMe+dvnB0uWPa2jJf8d91Vdm68FJqrqa1xnWgvS+zxGDVcOaMF52WZ2MS6ONM4QK5Gp+m51ayHqyW6CvaA+Xv567/kJBvYX0OE4wjh9xeVy0UM= Received: from SJ0PR18MB5161.namprd18.prod.outlook.com (2603:10b6:a03:438::6) by MN6PR18MB5465.namprd18.prod.outlook.com (2603:10b6:208:474::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7897.19; Thu, 22 Aug 2024 08:01:14 +0000 Received: from SJ0PR18MB5161.namprd18.prod.outlook.com ([fe80::de87:f6c:99c2:9625]) by SJ0PR18MB5161.namprd18.prod.outlook.com ([fe80::de87:f6c:99c2:9625%3]) with mapi id 15.20.7875.019; Thu, 22 Aug 2024 08:01:14 +0000 From: Amit Prakash Shukla To: Pavan Nikhilesh Bhagavatula , Jerin Jacob CC: "dev@dpdk.org" , Pavan Nikhilesh Bhagavatula Subject: RE: [PATCH] test/event: fix incorrect target event queue Thread-Topic: [PATCH] test/event: fix incorrect target event queue Thread-Index: AQHa9An9lsG8JAqQ1EitYLsNEeoQC7Iy1vyg Date: Thu, 22 Aug 2024 08:01:13 +0000 Message-ID: References: <20240821203731.7766-1-pbhagavatula@marvell.com> In-Reply-To: <20240821203731.7766-1-pbhagavatula@marvell.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SJ0PR18MB5161:EE_|MN6PR18MB5465:EE_ x-ms-office365-filtering-correlation-id: d5005da3-7881-458a-0b31-08dcc28097f1 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; ARA:13230040|376014|1800799024|366016|38070700018; x-microsoft-antispam-message-info: =?us-ascii?Q?b94jsqy2CQld4DgaHDA1lhL5QyVEzEtEed13pTrz0ebbc90YqbxJhOfEKoFC?= =?us-ascii?Q?bNbuy/6Y1Mz9PzVeW4ZzYHc4Lin05B4bac0QIXOw/EuLXYsUB6GZW0cjpmSJ?= =?us-ascii?Q?LCkEKcmm6yv3yeee4FyyYlGvo4V9pxzgJQAf6ZbQzX0C0xW8v0Zfi16XCazd?= =?us-ascii?Q?CHVZAXtLSkL+LSQEVF5gji72DBmByWMhUA7Hb0Pn866NHGhFXebF/nS9iUCH?= =?us-ascii?Q?MAQNbkItdMQz7mrUFpAtqWi698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g4Xyyb1SmrjgXpbZIkvP/Dai2lQUuk00edepKXYG3ybT/ffpG7kBx?= =?us-ascii?Q?3H26Oth6ZtHj4v8BxkzVipFNKIF9GeYIerKRB4iCNGQ7LCLb0CkdlAY7GOno?= =?us-ascii?Q?DjZp7t2ykNMb9gdIZewNjyUOQbWYkvst6/x0hPYbmJAwH87u5s8KcKwKb6Gf?= =?us-ascii?Q?H4KkeE4Y3Mpn9tYUHS989T492r8pHGlPs9f8kGnFrUsNXTAks3WelgFPBMud?= =?us-ascii?Q?ERclPLbit/c5zlH5H2+0q5pHB3vPh7oWMN4vqxGt1zhhpNFHKg=3D=3D?= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SJ0PR18MB5161.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(376014)(1800799024)(366016)(38070700018); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?ImFKo88dOw8+zbNxMtztIq8DWxhZBTENMayj/KwwlvREailuheWQioIUS+KD?= =?us-ascii?Q?xAvvJAaatj6SrcUK4ppyQuHVy5fVfjPhF1rqpSR9NXjblndqBMlyEqmLj1ew?= =?us-ascii?Q?V1hubQDclLhGlqhHJrLPciqq5klZ7rrQeC5cNTvYpVjyoRhdrawGOkrlXuRc?= =?us-ascii?Q?m1FeZKKj8jd2wUuSKyssTudemLcTTHy1rnkmwrimwj9pdmHWgEviLX7EIZgz?= =?us-ascii?Q?+ASK3PopfGv9XChrl7SKEf9DEgEQxnev7qvef9FmFTPl+s12MDiMc3BYFBJ6?= =?us-ascii?Q?cOf4TFxGHxGoeurcgbhl9neaK/q/c6a7SgNClig7OTBRAuR4f6q6lfw6mPkF?= =?us-ascii?Q?NyZDDW0DmTNfWN1nVM2pXwmyVU+H5a8IGV+lfRuQ1FL/SST/5rBh7N32zson?= =?us-ascii?Q?BQMnNln+P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yjeL6vlN?= =?us-ascii?Q?hl90oNvTNdv4nPdWwxl4sbzgT45CPonYk3G2wXVl1rFvJ5SAKxDxvtaungB7?= =?us-ascii?Q?EyZUALl4E0cfCZrKFhi6zHaKLjbLRLMIJMeNNpkba3tI1nQPW/g4kVtLAOqT?= =?us-ascii?Q?bc6zg/y0p1o3eiRfHYokFCB/zUZPTkuGHmr5r6ptpzrZnQAqKQZSTzUflkvO?= =?us-ascii?Q?TV9V73fu9hn0SZeWg6AQNo8MsuqrTP5i+FIPYmGhppZxjz4H8a6TD+3fY7UQ?= =?us-ascii?Q?9ebCVdfzJ+CsuxkggN76qS2Y6T3euBuDtxbTTiHP?= 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: SJ0PR18MB5161.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: d5005da3-7881-458a-0b31-08dcc28097f1 X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Aug 2024 08:01:13.9960 (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: M8g7mpwDh9SI9kH2Sb4/bbrf8aC8zldT6wKCqD+Q/lSqXzWFYmg+uk2tdkwm5K7A50Tygx554bb6+fFMsoqubUsH/deQABaOp48wRy5Oqr8= X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN6PR18MB5465 X-Proofpoint-GUID: ZZmbVRCMof96FPhAIBkWTrfAjkAZMjtc X-Proofpoint-ORIG-GUID: ZZmbVRCMof96FPhAIBkWTrfAjkAZMjtc X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.28.16 definitions=2024-08-22_03,2024-08-19_03,2024-05-17_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 > -----Original Message----- > From: pbhagavatula@marvell.com > Sent: Thursday, August 22, 2024 2:08 AM > To: Jerin Jacob ; Amit Prakash Shukla > > Cc: dev@dpdk.org; Pavan Nikhilesh Bhagavatula > > Subject: [PATCH] test/event: fix incorrect target event queue >=20 > From: Pavan Nikhilesh >=20 > In OP_FWD mode, if internal port is supported, the target event queue sho= uld > be the TEST_APP_EV_QUEUE_ID. >=20 > Fixes: a276e7c8fbb3 ("test/event: add DMA adapter auto-test") >=20 > Signed-off-by: Pavan Nikhilesh > --- > app/test/test_event_dma_adapter.c | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) Tested-by: Amit Prakash Shukla Acked-by: Amit Prakash Shukla Thanks. >=20 > diff --git a/app/test/test_event_dma_adapter.c > b/app/test/test_event_dma_adapter.c > index 3b39521153bb..9988d4fc7bc5 100644 > --- a/app/test/test_event_dma_adapter.c > +++ b/app/test/test_event_dma_adapter.c > @@ -271,7 +271,10 @@ test_op_forward_mode(void) > ev[i].event =3D 0; > ev[i].op =3D RTE_EVENT_OP_NEW; > ev[i].event_type =3D RTE_EVENT_TYPE_DMADEV; > - ev[i].queue_id =3D TEST_DMA_EV_QUEUE_ID; > + if (params.internal_port_op_fwd) > + ev[i].queue_id =3D TEST_APP_EV_QUEUE_ID; > + else > + ev[i].queue_id =3D TEST_DMA_EV_QUEUE_ID; > ev[i].sched_type =3D RTE_SCHED_TYPE_ATOMIC; > ev[i].flow_id =3D 0xAABB; > ev[i].event_ptr =3D op; > -- > 2.45.2