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 A5E42A2EFC for ; Thu, 19 Sep 2019 14:56:55 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 6A8AF1EFCF; Thu, 19 Sep 2019 14:56:55 +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 4FBBC1EFC3 for ; Thu, 19 Sep 2019 14:56:54 +0200 (CEST) Received: by mail-wm1-f67.google.com with SMTP id m18so1403446wmc.1 for ; Thu, 19 Sep 2019 05:56:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=95nsl24riRKXidUoNcsL3tqKX5dAQHGwsGCGHIddxkE=; b=cOucz+/LL7uVy1DT+iFPZaDb+0rff/Lvz99yyeXTRqcIoXce6tR4aBdLM520c/kZof 01Iic4f29ZujE99vvcYJoz7AefpB/jFXaoYFkDETWaOp4jACO5zO7CYHQdSDwgYs01i/ Yj/4k+2TLEnJiK3DsmYjl1tDx/TYMXanJoOw5LSVPnQMzs8Xf/XKZi1vOuwnCG5LfUb+ ga8raafoD6rWAQ/yf747gZct0aTlizkuKIhX/IjmPnjyaHKAnTaaNItm5oabdzMG+VKX KGVJnA3EQ026Vjv0Te7SvFTDkdp6J0W52SwIaSM1noYBIZLb/DP6WApPBw7WCokOedQp AqyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=95nsl24riRKXidUoNcsL3tqKX5dAQHGwsGCGHIddxkE=; b=lPOBpLsVt1KfctUnQ6ef8abllMYb7UTON9aLPFvf6GWN6GGbh4NaFu5cQDXckhUGtC GBwp1tyR2gNrxVHNxvQX+abKKmmYU1MQscQtWQHPz8P/PGuY6TzXYeOv1qcWtcf4DtD4 LszBBQVVrGQOwBcHQA6xaqZZ3WWkEUpauIpv3SDDAXh/1ZcC7NviErMrIpfx+PgopkoM D6BwVE3FAUSVhSVJ80B9D4aa+2y9y7dN7jd4dt1cSAeJOtzpZEKexxopMKgMYQnr0GNq xfOcDNxIHI7wis4Mv4k0Pgk4klPAVb9FNjMiji2RPykuI5pDCaznNGpQNpT64izqyDBo L6Eg== X-Gm-Message-State: APjAAAWLdBOVn7cEJSZ88FXBFk/2Dcb/L5gqGMUE4GKcHNAGTW+kiMB0 UYqHNWqXpEkgBqCurewrouz34IhH7/DhYQ== X-Google-Smtp-Source: APXvYqzTmgRwcCa2y1IFPFEk4d5h3iVEJzEa+SY1xeM01365JRt+CVtEW593YysMOMjc7+6UMfwGIw== X-Received: by 2002:a7b:cf0e:: with SMTP id l14mr1726320wmg.138.1568897813542; Thu, 19 Sep 2019 05:56:53 -0700 (PDT) Received: from localhost.localdomain (lmontsouris-657-1-167-187.w82-127.abo.wanadoo.fr. [82.127.205.187]) by smtp.gmail.com with ESMTPSA id f186sm8030519wmg.21.2019.09.19.05.56.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Sep 2019 05:56:52 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Thu, 19 Sep 2019 14:56:48 +0200 Message-Id: <20190919125650.27262-1-stephen@networkplumber.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190811160607.16441-1-stephen@networkplumber.org> References: <20190811160607.16441-1-stephen@networkplumber.org> Subject: [dpdk-dev] [PATCH v4 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" 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. v4 - rebase to 19.11-rc v3 - rebase to 19.08 Stephen Hemminger (2): ethdev: expose basic xstats for driver use net/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 | 24 ++++ 4 files changed, 232 insertions(+), 9 deletions(-) -- 2.17.1