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 738FC42E56 for ; Wed, 12 Jul 2023 16:22:27 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 69BB841156; Wed, 12 Jul 2023 16:22:27 +0200 (CEST) Received: from wout2-smtp.messagingengine.com (wout2-smtp.messagingengine.com [64.147.123.25]) by mails.dpdk.org (Postfix) with ESMTP id 5E358406BA; Wed, 12 Jul 2023 16:22:24 +0200 (CEST) Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.west.internal (Postfix) with ESMTP id C21463200063; Wed, 12 Jul 2023 10:22:22 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Wed, 12 Jul 2023 10:22:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm2; t= 1689171742; x=1689258142; bh=2WgQ8OEMduh6WebUvhV0Xh8zFCRGHYyKtKd go+poL5Q=; b=RbKtgjfc/PcRuKjwhw23pW2CQYBz2SVCxre6OeVpOqomHd5gBQP t6cyN4tLmfsiiYFv0h8yQW6mmZ+73DjUogNDbcZySh+zqlHtKz0ZY660BAjMwctj tOv6+0lmSB15W49QHkVJFPPMGfr2nBdgEF2JDf6evXNoflB1qyFcFZbWKyc/Oshl NQUTjP1pVh8rnNjDNeHZzkuceRoiInBSQPHS+Em+pNWlJvVD/xAtlH/QRZlVaMdg 74/SyLxBLs1JTmRgVJNiZp4/ZoStNnTI+YprzlCD+a83kobinF+pFMCICHJbIoSd LEuUvzzJ4ae0W0Bks+ZJqNuWKEf1VGWk3Hw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t= 1689171742; x=1689258142; bh=2WgQ8OEMduh6WebUvhV0Xh8zFCRGHYyKtKd go+poL5Q=; b=o2E+uwlCZpOHd4dmDMEE+v5TFxlGcAL1J+2rk6ekX5sdvSK56Z5 coWCoZD2xPVn1PmU9e3TrsxK0M8c2S1taOCpUspaLV9jCpGpOVXmZtlqLeuHcvQJ 0ohU9q/VCDli5nqR0qHIN2a39B3FNLIiTJWHmOoYgBHYkvvV+ecnVBxkr66M40X6 eHy17fRaYeI5SVU7xxZTN66Ek+a7EAeqrPFpcdqJTqagoGugaAPL+opd49n1H77Z y0qAfjyZ2YeV0I7A4B0y9iv2rqteRwLOSi4LHxV4NIXFOul0lPWvS+2D81dtS59Z eSQmYRLmBaJbYIV0Lq4Eh12ICIFX8Ata5bg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedrfedvgdejiecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvfevufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg ftrfgrthhtvghrnheptdejieeifeehtdffgfdvleetueeffeehueejgfeuteeftddtieek gfekudehtdfgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh homhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth X-ME-Proxy: Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 12 Jul 2023 10:22:20 -0400 (EDT) From: Thomas Monjalon To: "Sevincer, Abdullah" Cc: "dev@dpdk.org" , stable@dpdk.org, "Pattan, Reshma" , "stephen@networkplumber.org" , "Sevincer, Abdullah" , "stable@dpdk.org" , "Yuan, DukaiX" Subject: Re: [PATCH v1] app/procinfo: revise display eventdev xstats Date: Wed, 12 Jul 2023 16:22:19 +0200 Message-ID: <2876365.1BCLMh4Saa@thomas> In-Reply-To: References: <20230708162356.2961843-1-abdullah.sevincer@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org > > process_eventdev_xstats() function was iterating over eventdev_var[] > > structure even if there is no eventdev present. > > Revised the code to check to iterate and only look for the number of > > eventdevs present in the system. Also, shortened function name to > > eventdev_xstats(). > > > > Coverity issue: 395458 > > Fixes: 674bb3906931 ("app/procinfo: display eventdev xstats") > > Cc: stable@dpdk.org > > > > Signed-off-by: Abdullah Sevincer > > --- > Tested-by: Dukai Yuan No need Cc stable when the bug was introduced in the same release. Applied, thanks.