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 052DF432F0; Fri, 10 Nov 2023 08:19:58 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C78D6402E7; Fri, 10 Nov 2023 08:19:57 +0100 (CET) Received: from mail-qt1-f174.google.com (mail-qt1-f174.google.com [209.85.160.174]) by mails.dpdk.org (Postfix) with ESMTP id AD0284026D for ; Fri, 10 Nov 2023 08:19:56 +0100 (CET) Received: by mail-qt1-f174.google.com with SMTP id d75a77b69052e-41cbd2cf3bbso24001691cf.0 for ; Thu, 09 Nov 2023 23:19:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1699600796; x=1700205596; 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=USTvqxosnh7WlUiI1lBL1osiKpu7y06GPaVqNmY3ygM=; b=We7+CAdj3lBIK4NbduQeItaq4gU92ytMdM1/TDgW5O4aJYR4mmHNYIncdFoHSgNMBP qJkfMVzqkrzqFMtzWir3O1DaZRq2zcOIv2+lLtR7SXa+wi3PFd0FpVlESZZSfWd/8I8p lCEMvG8lwwX4HE9d3YrZXWhqTeFgLLvLErrxc5ueNoKcq7wGylp1u0FAbwhte0pxVMPr 0CN5A3uA4tXJcZEvaVLb7cAKh+Fj3dkigAo4vGNeoYUUhtHzSp22URKKYi9+3cLEUjic N+V28rZ0SOYzTmiYOd6wdQBVlGVL4msnRpU5cusDs0YfIjRcjwEHZCUV6bkFQfi9cw9E eH6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699600796; x=1700205596; 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=USTvqxosnh7WlUiI1lBL1osiKpu7y06GPaVqNmY3ygM=; b=TXoYg4TwH0Qt8TkP3GCNNLLuCg5W9SpvUH3GaMAwTajwcx6SU4BOezIfimEJtptCjV AocMW3BlK1uuMgdMddFGm+hu6x3TZ+hATQwjNTcQ6IDNfLayTXCtyYyILi+wbgPUoMMm j4WX0S9ILdoCdPxmtAnizEmN0pGMJa38oJmrgSl/BFYuN8CUaI3/YprEqoffFORqQZD0 nA2pzvlhtrLOZmYff4XgAhpRaeqYZm4LVgwHBvOv+ARSA4RQmvp/xkhmde9+OWH/fFIA bFA90UvFuDXVZXC1LpPZj/B2P7OFckorREm4ef1S/ApH+XaDvpmxoRCi2sXDykCJLEAX 8W5A== X-Gm-Message-State: AOJu0Yzxky4qayugnPPMqLKpJAHdoewuFI13YP0H795yyiakPPMs8fiU 1Qbzsj/noyj32lINHWNxhaIQEEsH2x/bZrCH+1AjbUnBqfVI7g== X-Google-Smtp-Source: AGHT+IGjJ6jyqMy82mW8L66g7NtTh/h+QeT8mCs2ujNzibAlgJ4uXZ2hn+/CH142rwmETn2qgnNLB+MkN/huHxWOpBU= X-Received: by 2002:ac8:7f44:0:b0:412:3d25:9019 with SMTP id g4-20020ac87f44000000b004123d259019mr2259275qtk.6.1699600795963; Thu, 09 Nov 2023 23:19:55 -0800 (PST) MIME-Version: 1.0 References: <20231107163926.55825-1-bruce.richardson@intel.com> In-Reply-To: From: Jerin Jacob Date: Fri, 10 Nov 2023 12:49:29 +0530 Message-ID: Subject: Re: [EXT] [PATCH] test/eventdev: avoid configuring port or queue twice To: Pavan Nikhilesh Bhagavatula Cc: Bruce Richardson , "dev@dpdk.org" , Jerin Jacob Kollanukkaran 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 Wed, Nov 8, 2023 at 12:22=E2=80=AFAM Pavan Nikhilesh Bhagavatula wrote: > > > > In the basic sanity tests of eventdev for queue and port setup, queue 0 > > was configured separately before running a loop to configure the rest o= f > > the queues. This loop started from 0, so reconfigured queue 0, and a > > similar reconfiguration happens with port 0 in the later port setup > > test. While most eventdevs should handle this reconfiguration without > > stop/start correctly, it can cause issues, and should be tested > > separately from basic config tests. > > > > Therefore, adjust loops to start at 1 rather than 0 and avoid > > configuring queue 0 and port 0 twice. > > > > Signed-off-by: Bruce Richardson > > Acked-by: Pavan Nikhilesh Acked-by: Jerin Jacob Applied to dpdk-next-eventdev/for-main. Thanks