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 D5AF9459C6; Wed, 18 Sep 2024 10:13:44 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C31AB42EAE; Wed, 18 Sep 2024 10:13:44 +0200 (CEST) Received: from mail-qt1-f176.google.com (mail-qt1-f176.google.com [209.85.160.176]) by mails.dpdk.org (Postfix) with ESMTP id 996DD42E6F for ; Wed, 18 Sep 2024 10:13:43 +0200 (CEST) Received: by mail-qt1-f176.google.com with SMTP id d75a77b69052e-45812fdcd0aso4652341cf.0 for ; Wed, 18 Sep 2024 01:13:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1726647223; x=1727252023; darn=dpdk.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=FxdBwYsUPPyTxFaCbT2Zm4TLGUiCEPfjvTwjjgwoCVg=; b=Q7lqdbbdxvxRAayvc0avP+gWv1STjmdlMszwBBFVxJGq0XI3aYax5fhUmUVp0CL5Sx Z0lY5+KR4cO1mtO4ZKPa4M/KB6ZP7/Io8euLP1YcBuc2c574IWiX7SRXqV5mdrxvBRmR 5XKgLD5wB87q+kagwzJWU2yLZgqxWhNjCb2A4EQxCJVlUO8cTUoH0OXWiylCJj/jwI7u EEhVqDyopjwZqG6AhHCa5sqoMcIgoZ7TdKaAYvkphg4Ifw6t7nSj26DDfWQGR/zcJxz0 gfi/SztZJM3VtjpLJXJ5SgJibNQ+tfoOKeT5/WKEwCTZtQR/KFBVLAoIeEa+SfmjZ6KY UV9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726647223; x=1727252023; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=FxdBwYsUPPyTxFaCbT2Zm4TLGUiCEPfjvTwjjgwoCVg=; b=LgPF+bdD5ljDqXtnYKG+pLul1MwEAKyx+R0Fm1qs4zEDKCbx2bJU3YKGK6z2dRY0ts DcowLu1mr7LpSubgoc8DNC2bTQ3qEE0rPOReu0HH/vbwyaW0CdNZRtygScr3+cGn1pUI tU731dWdg3iMd1Nhn8UIWVcLGoiX1HBHv0PznK94tFV2nBEjJklhYYRghMlx/GWlUYEE 3GzwvS0fKaA6aDr2wTnhgt8Ex7r91zLCijAL4CbUhVPknU2/g9qOvtLX3RLfn9mKrvVY ANvkTg+6Kb/18f1z9Yu2Iue6AYad5goNhKtFWB/9TLfwRegHGINNizC6B8ohJS9DdxLg d0CQ== X-Forwarded-Encrypted: i=1; AJvYcCXMFG0GBzXZOgug1Dfr3+XHTgdtAbSf5mO25KrN67Ai+gE6QCcIE9p3RUtx7qo9BNqsz3I=@dpdk.org X-Gm-Message-State: AOJu0YynOBh9Ko4wxyLdSigZ8ezktTLuzsEcC0iAF17svokz11K2CcSo yLs2Id807QgwcKgzH/Ty8y6Uvd2rWi4210mLrPEgTjMjb4Ik573w4HUa65qnICoem2Dpn2Huh7r DVwXiTaU1ral56Vi93HZor6n+ZhAacu2hvPU= X-Google-Smtp-Source: AGHT+IF9RCeD00yg8ITxi0snAQRjIUWEDjlpfW99C+hfMjTGOCidag83TS85Q+r/j74Pti9hIzybyj+4qFKjGtJuHoU= X-Received: by 2002:a05:622a:1ba1:b0:458:3b66:ace9 with SMTP id d75a77b69052e-4583c7c4259mr472374961cf.25.1726647222765; Wed, 18 Sep 2024 01:13:42 -0700 (PDT) MIME-Version: 1.0 References: <20240821203731.7766-1-pbhagavatula@marvell.com> In-Reply-To: From: Jerin Jacob Date: Wed, 18 Sep 2024 13:43:16 +0530 Message-ID: Subject: Re: [PATCH] test/event: fix incorrect target event queue To: Amit Prakash Shukla Cc: Pavan Nikhilesh Bhagavatula , Jerin Jacob , "dev@dpdk.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 On Thu, Aug 22, 2024 at 1:31=E2=80=AFPM Amit Prakash Shukla wrote: > > > -----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 > > > > From: Pavan Nikhilesh > > > > In OP_FWD mode, if internal port is supported, the target event queue s= hould > > be the TEST_APP_EV_QUEUE_ID. > > > > Fixes: a276e7c8fbb3 ("test/event: add DMA adapter auto-test") > > > > 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 Applied to dpdk-next-eventdev/for-main. Thanks > Thanks. > > > > > 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 >