Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp2974692ybi; Mon, 10 Jun 2019 01:58:37 -0700 (PDT) X-Google-Smtp-Source: APXvYqxs9yjHWM6ysyjCzNXp9h3o/pOftKVKUNcc9KcDmFtOZ4Yr5XaOZsK18zX+H2A4bcFSeW4q X-Received: by 2002:a63:26c4:: with SMTP id m187mr14830071pgm.221.1560157117770; Mon, 10 Jun 2019 01:58:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560157117; cv=none; d=google.com; s=arc-20160816; b=ERLW8vMJBP+Ty+nMduOUG2xLm3eUSROU95QO751BSpqukyNNgwRrpOeAuHQiI2YOXE gtnOVmrpfZjE+BWQL6Gg7tFci2LIZn2zhT99tS3AcpGvz4/ulLrv2OfFVA+CA0MQu66d TH8McqriUTTDEFXGDDsbhJ0ciu9MWcEFrqZdNYVnG4hUN9VsHBdEl/Te2Dgkul76ZE+J BM68hQxNld3GgqmAVPrCOHDcd+nurx0f/BH7ZO4ZIGXEmqfwf2qv08QoocwtGNf8ukXq ttbc7sqQ2QiSiGd1aZ9Qdd4kxI6wYFRtKVKrz3Ln3BXqkrFO3MpdF45rTwSyfsWIvTyi HCKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=iMVFZXaO4Cs3zdYrRF47H3OBA8L2dE5ff7sFyl7nYWo=; b=rLoGzbvtmT+BcV66Vljh1o8ioQhgH4zFwaE59scx3+kvBtCS1RHOHyErSE4j2VSwRB w+B61qJCPbzFa4RuY3xQVwsdkSw9HUmuazBuVmP9fAMXedOCqeW/3jon6VLWiBw+ZdPT DRHbvzTNFU1isSRbFERpLR314Ksxvl04HWNd+I0q6JHN35DrO9zULa4B3ArcEseNjzMf EIBCLQhHOmIMZA4D+LE2sypqHTqQzggovV85tWK3bNl9nceznMJVXSmPAQ976q5ViJl+ 2QsbIAKWwWRYtV1MVSP2if+PWKL7EN5Upuw9QXQDKQGoCXEJpCgBtPETYiYNV6W1p+Dc fUQw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s19si1663688pgj.573.2019.06.10.01.58.22; Mon, 10 Jun 2019 01:58:37 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388604AbfFJIzg (ORCPT + 99 others); Mon, 10 Jun 2019 04:55:36 -0400 Received: from relay9-d.mail.gandi.net ([217.70.183.199]:38659 "EHLO relay9-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387831AbfFJIzg (ORCPT ); Mon, 10 Jun 2019 04:55:36 -0400 X-Originating-IP: 90.88.159.246 Received: from mc-bl-xps13.lan (aaubervilliers-681-1-40-246.w90-88.abo.wanadoo.fr [90.88.159.246]) (Authenticated sender: maxime.chevallier@bootlin.com) by relay9-d.mail.gandi.net (Postfix) with ESMTPSA id C5863FF80A; Mon, 10 Jun 2019 08:55:30 +0000 (UTC) From: Maxime Chevallier To: davem@davemloft.net Cc: Maxime Chevallier , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Antoine Tenart , thomas.petazzoni@bootlin.com, gregory.clement@bootlin.com, miquel.raynal@bootlin.com, nadavh@marvell.com, stefanc@marvell.com, ymarkman@marvell.com, mw@semihalf.com Subject: [PATCH net-next 0/3] net: mvpp2: Add extra ethtool stats Date: Mon, 10 Jun 2019 10:55:26 +0200 Message-Id: <20190610085529.16803-1-maxime.chevallier@bootlin.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series adds support for more ethtool counters in PPv2 : - Per port counters, including one indicating the classifier drops - Per RXQ and per TXQ counters The first 2 patches perform some light rework and renaming, and the 3rd adds the extra counters. Maxime Chevallier (3): net: mvpp2: Only clear the stat counters at port init net: mvpp2: Rename mvpp2_ethtool_counters to mvpp2_ethtool_mib_counters net: mvpp2: Add support for more ethtool counters drivers/net/ethernet/marvell/mvpp2/mvpp2.h | 18 +++ .../net/ethernet/marvell/mvpp2/mvpp2_main.c | 134 +++++++++++++++--- 2 files changed, 133 insertions(+), 19 deletions(-) -- 2.20.1