From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp-3.sys.kth.se (smtp-3.sys.kth.se [130.237.48.192]) by dpdk.org (Postfix) with ESMTP id 0B2F94C94 for ; Fri, 9 Nov 2018 14:49:02 +0100 (CET) Received: from smtp-3.sys.kth.se (localhost.localdomain [127.0.0.1]) by smtp-3.sys.kth.se (Postfix) with ESMTP id A551B2D74; Fri, 9 Nov 2018 14:49:02 +0100 (CET) X-Virus-Scanned: by amavisd-new at kth.se Received: from smtp-3.sys.kth.se ([127.0.0.1]) by smtp-3.sys.kth.se (smtp-3.sys.kth.se [127.0.0.1]) (amavisd-new, port 10024) with LMTP id ucI-uu4wkjf0; Fri, 9 Nov 2018 14:49:01 +0100 (CET) Received: from exdb01.ug.kth.se (unknown [192.168.32.111]) by smtp-3.sys.kth.se (Postfix) with ESMTPS id A74CB2D77; Fri, 9 Nov 2018 14:48:57 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kth.se; s=default; t=1541771341; bh=3Zeg1NycQK0Fj4chLlMX4mE5qfV1eqCZGRP2BAfvl3E=; h=From:To:CC:Subject:Date:References:In-Reply-To; b=Wrsv7EghFRS87aCCMD5ZhBItSzsSr8G+XyKLvRD8forB+RY7wTW1yBboB7x9mHnLl tdUsl9BoAG0o5wgSG/eqPw4VbKzKGPM+Ax2McltmAwjHjoktlydsEXmHWIhpiB6pyU QVQYtaPpNaoHWY+Q5WnkwxHUPCyLakGt/IdLBcWw= Received: from exdb05.ug.kth.se (192.168.32.115) by exdb01.ug.kth.se (192.168.32.111) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Fri, 9 Nov 2018 14:48:57 +0100 Received: from exdb05.ug.kth.se (192.168.32.115) by exdb05.ug.kth.se (192.168.32.115) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Fri, 9 Nov 2018 14:48:56 +0100 Received: from exdb05.ug.kth.se ([192.168.32.115]) by exdb05.ug.kth.se ([192.168.32.115]) with mapi id 15.00.1367.000; Fri, 9 Nov 2018 14:48:56 +0100 From: Tom Barbette To: Thomas Monjalon CC: "dev@dpdk.org" , Ferruh Yigit , Andrew Rybchenko Thread-Topic: Which counters are set by rte_eth_stats_get Thread-Index: AQHUeAemfsWInNvHy0WgVfjmI6n4GaVHc831 Date: Fri, 9 Nov 2018 13:48:55 +0000 Message-ID: <1541771335492.79718@kth.se> References: <1541752126267.9242@kth.se>,<2479925.7nIZOZccjf@xps> In-Reply-To: <2479925.7nIZOZccjf@xps> Accept-Language: fr-FR, sv-SE, en-US Content-Language: fr-FR X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [130.237.20.142] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] Which counters are set by rte_eth_stats_get X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Nov 2018 13:49:03 -0000 > The other option would be to push for implementing all basic stats=0A= > in all drivers, and consider an unimplemented stat as a bug.=0A= It may be impossible in some cases. I think imissed is not even reported by= hardware for mlx5 cards. Only an aggregate for all queues. =0A= =0A= I'll add a "uint64_t stats_capa" at the end of dev_info, unless you prefer = something else.=0A= =0A= Tom=0A= =0A= =0A=