From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH 1/4] ethdev: add retrieving xstats by group and xstats by name Date: Mon, 06 Mar 2017 11:17:54 +0100 Message-ID: <1634037.UG6F3tOjLg@xps13> References: <1488545672-5208-1-git-send-email-kubax.kozak@intel.com> <1488545672-5208-2-git-send-email-kubax.kozak@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Kuba Kozak , Jacek Piasecki Return-path: Received: from mail-wm0-f48.google.com (mail-wm0-f48.google.com [74.125.82.48]) by dpdk.org (Postfix) with ESMTP id E8D41108A for ; Mon, 6 Mar 2017 11:17:56 +0100 (CET) Received: by mail-wm0-f48.google.com with SMTP id v186so59727440wmd.0 for ; Mon, 06 Mar 2017 02:17:56 -0800 (PST) In-Reply-To: <1488545672-5208-2-git-send-email-kubax.kozak@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Hi, 2017-03-03 13:54, Kuba Kozak: > From: Jacek Piasecki > > This patch extends library for retriving xstats by specified groups and > single xstat by given name. > > Signed-off-by: Jacek Piasecki > Signed-off-by: Kuba Kozak As you probably know, it is difficult to have a good review (or a simple review at all). The most difficult part in such a change is not writing the code, it is explaining your idea and getting people to agree. Please show you have thought about the API, seen an issue or a lack, and propose an idea with a clear target. In short, we are missing a "why" and "how". You must also explain what is a group, better than a list of #define.