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 6E010A2EFC for ; Thu, 19 Sep 2019 15:17:33 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 4D8B41EFF7; Thu, 19 Sep 2019 15:17:33 +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 99D481EFF0 for ; Thu, 19 Sep 2019 15:17:32 +0200 (CEST) Received: by mail-wm1-f67.google.com with SMTP id v17so3916142wml.4 for ; Thu, 19 Sep 2019 06:17:32 -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=0HYMLNLKMIgZ9obTXEvd3tVWZkomvhmm+99/nuq7YHo=; b=KEV3ScdY5NfnZLK578giKi6LrIsMBZqXFeNydl0TblI7DTbsZ6m11pADYD83dayEzz VdxjuziMffv0e490z++j8JojKRj3u+TLHxacBeAPpGl+bAVAfmN5nk/fvZ5tJdq4+BwV xnilqz0k1dpOSCJdwm8xOIMXZrHu8Q1jEfDB0q8m0f+c9ylkK4yQE66tI3AR7rtQMwrC qJaF0oj+pSF/3vu5lqbO0Gq6lv3krlQlTaplAy95tjQi1En9pL+8WXS0NXXu49WYpxrI BMsMil/VrfJpyo8v/Oz5JC7/Gcs3kcOpgTWpFAVK3FYyycfQxvTHbcNA0cSvwvih9UqH lEOA== 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=0HYMLNLKMIgZ9obTXEvd3tVWZkomvhmm+99/nuq7YHo=; b=BWZtUzqLLwIxNCfEro1z75hsh8iQa/VdsiXI/vY5d+/q9foqCUD6+/Na+xeh8Xg8xU eR3BLYEx5HlIuSMO7DG3aUZHPEl//Wr4xSdD1Va06PGD5KKjHR6t79jrXN/rCF0WD7bp hPHE+A0RYbsNweLc2mvFQjH6n0csI5vjjIlf9Se5SnolwQ5ez5x2LoSIp/WAFXErvCY7 0Nj6ABtJytaF7vMX7TQeacp+Ov7vwnA1ZMRP1Yg+Jh6AF0v5F0u5WLAo8S3S8+epKUhE 9lH0J0qMPwkBZPFnbNNAhJcR1VYmZ809mU4ZU9Fcu1B4hF3i5AvwCdYFCJjJsbl1ucXb K45Q== X-Gm-Message-State: APjAAAUWp3l5TcKRVjt7Ji2LmLpcBALyYJwWHKaaDVNMFlX+ukE5wNuN tx2hs9NEGU8E37rskDfUCMdkUwUBcLzl2g== X-Google-Smtp-Source: APXvYqyO2MZ9gv8ZvsWzVLTyBRn8sql1BbjQOPwZZR728WSv86A6PpZvQRif1d0We6HvXQNx5+aeaw== X-Received: by 2002:a7b:c946:: with SMTP id i6mr2765650wml.158.1568899051924; Thu, 19 Sep 2019 06:17:31 -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 b194sm9684643wmg.46.2019.09.19.06.17.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Sep 2019 06:17:30 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Thu, 19 Sep 2019 15:17:27 +0200 Message-Id: <20190919131729.28681-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 v5 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. v5 - fix ethdev map file v4 - rebase to 19.11 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 | 5 + 4 files changed, 213 insertions(+), 9 deletions(-) -- 2.17.1