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 9392CA0548 for ; Wed, 29 Sep 2021 08:39:00 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 772AE410EC; Wed, 29 Sep 2021 08:39:00 +0200 (CEST) Received: from shelob.oktetlabs.ru (shelob.oktetlabs.ru [91.220.146.113]) by mails.dpdk.org (Postfix) with ESMTP id C05044068F; Wed, 29 Sep 2021 08:38:58 +0200 (CEST) Received: from [192.168.38.17] (aros.oktetlabs.ru [192.168.38.17]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by shelob.oktetlabs.ru (Postfix) with ESMTPSA id 293177F52E; Wed, 29 Sep 2021 09:38:58 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 shelob.oktetlabs.ru 293177F52E DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=oktetlabs.ru; s=default; t=1632897538; bh=w/AJbxhax6tdMi+UCyfhsgcJbrWhvakIqTVgWkekj/o=; h=Subject:To:Cc:References:From:Date:In-Reply-To; b=kNq7RMsQwjHgTpkGc+j8UET59aU3gxfU2o67YWI0ijPvO+TzwfBBQozLqJoY+KVKd IZSAVjAtfjRfsD0lnQCRJr4eRhJ09Whz6KueWuDsUI14R9+7oERB0h4fHhkFStA10x dBDIaTPGxqa7Ru15l5TtGtaTDalLNfzMBkRAUHKw= To: Stephen Hemminger Cc: Rasesh Mody , Shahed Shaikh , Hemant Agrawal , Sachin Saxena , Haiyue Wang , Gagandeep Singh , John Daley , Hyong Youb Kim , Beilei Xing , Jingjing Wu , Qiming Yang , Qi Zhang , Shijith Thotton , Srisivasubramanian Srinivasan , Zyta Szpak , Liron Himi , Harman Kalra , Ferruh Yigit , Xiao Wang , Thomas Monjalon , dev@dpdk.org, stable@dpdk.org References: <20210928141627.904787-1-andrew.rybchenko@oktetlabs.ru> <20210928164854.1092217-1-andrew.rybchenko@oktetlabs.ru> <20210928101054.0f6ad088@hermes.local> From: Andrew Rybchenko Organization: OKTET Labs Message-ID: <20f9d684-4a15-b870-672f-7301bd0503a0@oktetlabs.ru> Date: Wed, 29 Sep 2021 09:38:57 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 In-Reply-To: <20210928101054.0f6ad088@hermes.local> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-US Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH v2] drivers/net: remove queue xstats auto-fill flag 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 Sender: "stable" On 9/28/21 8:10 PM, Stephen Hemminger wrote: > On Tue, 28 Sep 2021 19:48:54 +0300 > Andrew Rybchenko wrote: > >> Some drivers do not provide per-queue statistics. So, there is no point >> to have these misleading zeros in xstats. >> >> Fixes: f30e69b41f94 ("ethdev: add device flag to bypass auto-filled queue xstats") >> Cc: stable@dpdk.org >> >> Signed-off-by: Andrew Rybchenko > Really? > It is useful to have zeros rather than random data there. I guess there is a misunderstanding here. Auto-filling xstats is an addition of per-queue basic statistics to xstats by ethdev layer. It makes sense to do it if and only if there is some sensible data there. There is a related deprecation notice saying that per-queue stats should be removed from basic stats since per-queue stats should be provided by xstats API natively. Basically RTE_ETH_DEV_AUTOFILL_QUEUE_XSTATS means that corresponding driver is not ready vs the deprecation notice. So, I want to clean it up to see not yet ready drivers only.