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 46079A0471 for ; Sun, 11 Aug 2019 18:06:18 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 4E009326C; Sun, 11 Aug 2019 18:06:17 +0200 (CEST) Received: from mail-pf1-f196.google.com (mail-pf1-f196.google.com [209.85.210.196]) by dpdk.org (Postfix) with ESMTP id 4C735325F for ; Sun, 11 Aug 2019 18:06:16 +0200 (CEST) Received: by mail-pf1-f196.google.com with SMTP id p184so48531586pfp.7 for ; Sun, 11 Aug 2019 09:06:16 -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 :mime-version:content-transfer-encoding; bh=rGCesuxmSAznyKE/ZIZH/8eK5ldMNzOQfn/ABIP/5K4=; b=SF5hLaa3QWNMwCNve5V8c0GZFE655DDFoR/MaFSqUTmv6mBjmZ1/BeRZzxHkzhl5R0 qhVV/7dnmNSwERtE4ZOoIoHIXRixtz8b/8mGU6nnOUdbD37YNUHrYNWTP9n5UuWgme1n O9/uDIw/mddBs00Uxg00rMqByL/L2Rs+SDl6ztgZ0THl5Tm+MQ06XpFVPAXpLy7lwBbA +ZwhDUaV9Fu3VSZg1sUXyDGQ5JZdJDl++h6650EsjY60ZYxHn81GXWntepyHnhIc3LHC PQRJ3cCPBKBb/TtM7/wXpfYCVPGH+bjw0wwkag4CtagZgW65H764Bc0O7KlaUWfwMSd4 DQZg== 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:mime-version:content-transfer-encoding; bh=rGCesuxmSAznyKE/ZIZH/8eK5ldMNzOQfn/ABIP/5K4=; b=ICncPZrCFb8Z7djZ71g/gBFST3W46MjgI/ViUCLI1qZIfYg/6beGoA3kw8/iJIuS3T Sn2N/gNic4vxO4uP7oAskn2UEnAhtnjkwPSzSPsERogjoMN0f8P+uoopOhjT1IpFsJOi ey+xtvmmx7g7gfIurJD0b3THx3ml0HMgtshwI1us4dl0kp7AmIrHkpMaGkOXnrMzwdjM ZpMFpg9xAz0zkHdv1PWNwxYP2Xlkz3ZKOKbg/gxUZTT7kNAVPjA1g10YRA/epn6jRv/v 9kOCJrq+8Itag8aYrBk3tK0SAFG4wLlbUijrdci1b1/XD1m9TMG+fIUwoXWxPpqdq0BW TFdQ== X-Gm-Message-State: APjAAAVGOz8mEop3iyFaPeWwJkqT19EQHYqiiYH1DdqzvjwxwWKB0DZE A0JuQRT3hXy1JGgrjnhH+0oMP3qxnog= X-Google-Smtp-Source: APXvYqxAbBASVn6dk3uH5MVm75OND5gzooDFWBKGkfEGEAM+BheHXGkJ5stTm731kQPBOBG7Uqr3/Q== X-Received: by 2002:a65:430a:: with SMTP id j10mr27419867pgq.374.1565539574820; Sun, 11 Aug 2019 09:06:14 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id v13sm116890936pfn.109.2019.08.11.09.06.14 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Sun, 11 Aug 2019 09:06:14 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Sun, 11 Aug 2019 09:06:05 -0700 Message-Id: <20190811160607.16441-1-stephen@networkplumber.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190626222135.11368-1-stephen@networkplumber.org> References: <20190626222135.11368-1-stephen@networkplumber.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v3 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. 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.20.1