From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 36B28C433FE for ; Tue, 1 Nov 2022 20:12:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=xJZuORl+tT5OeyoT1muMuxX4TNs2C13RS46KiYNEkRU=; b=vUT99kY6vHMqrx r6BwjL0R3vAN1zLrzs9vjFrZnFy2QPqRSgrIBxdLVlAyFcjexz931STSQvHM6VgHTAnWzzO5t0vEZ 5BOPOkVNwsBixpVFHEoQXXkshYKOFG9OAfhbDpB07oB5cjp20TULjFUkcwWW8rVPw1gJWik5iyXOc PBIeRWRlR7ZEP3CkKA4IvkGX9h+1WHak5fv4YUQH5bDwGLmTkLC9Qbe0mwcjmBmrPWDDOw07CWyuh OLaLPbH4XwCIr21vOv5rtSMrhTSLQKzsWSvrXRMlLKPVE8ENTZCtRnxFqaAezgp86vD2hqznugi4k ZYzvHlGDd7rI0G5tzgYg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1opxbO-006riN-Pn; Tue, 01 Nov 2022 20:11:14 +0000 Received: from vps0.lunn.ch ([156.67.10.101]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1opxbL-006req-BJ; Tue, 01 Nov 2022 20:11:12 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=5xpg96Om8w7lKyZNGC2XBLyuJgrXdIN28YKdVG20z7k=; b=3OGtCQeZ7HFT5c45RO29Lw8E2w W3HkOZqzna47vwVz5q9AEeL0NNSj3qWpfkjdFQ3wr1Zy0GSvE0mMVFczlGEJ/1WTov/TFjgzcvvJF d1c/zpE4AvnL9H4Qu0yAAZcNIXJoEJ49ZVqEjm7/XcGPBrEzJBngXgc/k8xFLl/AgVaE=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1opxaA-0018d2-5a; Tue, 01 Nov 2022 21:09:58 +0100 Date: Tue, 1 Nov 2022 21:09:58 +0100 From: Andrew Lunn To: Daniel Golle Cc: Felix Fietkau , John Crispin , Sean Wang , Mark Lee , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Matthias Brugger , netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] net: ethernet: mediatek: ppe: add support for flow accounting Message-ID: References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221101_131111_402731_8B065FF4 X-CRM114-Status: UNSURE ( 9.62 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, Nov 01, 2022 at 07:37:31PM +0000, Daniel Golle wrote: > The PPE units found in MT7622 and newer support packet and byte > accounting of hw-offloaded flows. Add support for reading those > counters as found in MediaTek's SDK[1]. > > [1]: https://git01.mediatek.com/plugins/gitiles/openwrt/feeds/mtk-openwrt-feeds/+/bc6a6a375c800dc2b80e1a325a2c732d1737df92 > Signed-off-by: Daniel Golle What about ethtool -S support? That is the official API for statistics, not debugfs. Andrew _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel