From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id B014BA0487 for ; Thu, 4 Jul 2019 11:56:36 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 949691B9B3; Thu, 4 Jul 2019 11:56:35 +0200 (CEST) Received: from mail-wm1-f67.google.com (mail-wm1-f67.google.com [209.85.128.67]) by dpdk.org (Postfix) with ESMTP id C52C31B953 for ; Thu, 4 Jul 2019 11:56:34 +0200 (CEST) Received: by mail-wm1-f67.google.com with SMTP id x15so5105811wmj.3 for ; Thu, 04 Jul 2019 02:56:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=onizlQSnd09l+bVVBQ44pXWnAyTDZWQk6YzHasF/hzk=; b=iVy9EIJQWBeUpQx7kQXKzKp7u9+rVYmMGaArHMd7Z4eAkkHgNdMZ/vnJx1jrGGcxIh rB2T+MnTw05XGN+2Xq/GTJU3oTQJdq3jY7q0SkKBmSuMueI5HeZvVyv9hqKGg2Ggt2hM u9AK/hnjSUwSk+gkpLc5Loju+lKc7kx/VIdqFLVHgvZhgDoVFHzkjL54yT0T6JEDPFPW W3vwO/6pK3ffHwasVVnsoA1MFxEmHr+q9dAbvq9qmyf8JbfxsmMZw/3e0OxI2ct7ipWf L4hwdFBnD4qjCwDhCVg4bfIcGj71yXdD5lALf6sNttd7Xg2chBoQrT3GbP9V3AwAF7EX qCEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=onizlQSnd09l+bVVBQ44pXWnAyTDZWQk6YzHasF/hzk=; b=gmzaifJe/+jffELK6DdUHJoRTlYP1JCDdzAOINOyjFSL37OkTP3x50Xnr9OrRqKiVk PnBjnx9oJI4iwZJXRjK/iTVSfpGjssBGI6KsUROfd5tMsHelRkZuhVSzbOj8ezPX+szb daoLqdKFtzfIhM6CNnzOyV9ZxzP8lOkPFLWLRVBQn4qw/SGLnreQCRce3Sav5yLLqEwY qKzHFprOgqyKQ3B9cJI5m6/XTdvTKet66Dmg8qdwMAkkMAmaAfkWFRNLHTLbdh8NJpR8 Fbu194EFvOLl7NjouHMO/w6fvIfS/e154LIbDQqs91hTzz01vlqDs30RNzKfAgbPextt bcsQ== X-Gm-Message-State: APjAAAVxnXxCE5UO41/7aVJTRofNVAdAHDHBx2hm+pWrBvF3uODpdlPD N6zgX1hEZ+lcK5ys00iSJA123A== X-Google-Smtp-Source: APXvYqwLvWZ6IxiGubMedBd9ip/+7pzVfItZxYASOENsqOjDHXmJ5wO3cm2/Vjo/TPnKrBr5tCbW4A== X-Received: by 2002:a1c:5f87:: with SMTP id t129mr12693309wmb.150.1562234194428; Thu, 04 Jul 2019 02:56:34 -0700 (PDT) Received: from bidouze.vm.6wind.com (host.78.145.23.62.rev.coltfrance.com. [62.23.145.78]) by smtp.gmail.com with ESMTPSA id a64sm9155561wmf.1.2019.07.04.02.56.33 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 04 Jul 2019 02:56:33 -0700 (PDT) Date: Thu, 4 Jul 2019 11:56:31 +0200 From: =?iso-8859-1?Q?Ga=EBtan?= Rivet To: Stephen Hemminger Cc: arybchenko@solarflare.com, dev@dpdk.org Message-ID: <20190704095631.lvldk4qytmvfern6@bidouze.vm.6wind.com> References: <20190626222135.11368-1-stephen@networkplumber.org> <20190703172512.24909-1-stephen@networkplumber.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20190703172512.24909-1-stephen@networkplumber.org> User-Agent: NeoMutt/20170113 (1.7.2) Subject: Re: [dpdk-dev] [PATCH v2 0/2] *failsafe: add xstats 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Wed, Jul 03, 2019 at 10:25:10AM -0700, Stephen Hemminger wrote: > A useful feature of netvsc PMD is the ability to see how many packets > were processed through the VF device. This patch set adds a similar > (but more limited) capability to failsafe driver. > > Since failsafe doesn't have top level xstats, this set uses the generic > xstats that exist already as a base then adds the sub-device xstats > to that. > > v2 > move generic xstats helpers to rte_ethdev_driver.h > change prefix on subdevice stats to sub0_XXXX > For the series: Acked-by: Gaetan Rivet > Stephen Hemminger (2): > ethdev: expose basic xstats for driver use > failsafe: implement xstats > > drivers/net/failsafe/failsafe_ops.c | 135 +++++++++++++++++++++++ > lib/librte_ethdev/rte_ethdev.c | 17 ++- > lib/librte_ethdev/rte_ethdev_driver.h | 65 +++++++++++ > lib/librte_ethdev/rte_ethdev_version.map | 3 + > 4 files changed, 211 insertions(+), 9 deletions(-) > > -- > 2.20.1 > -- Gaëtan Rivet 6WIND