Received: by 2002:a05:6358:111d:b0:dc:6189:e246 with SMTP id f29csp3919914rwi; Wed, 2 Nov 2022 04:55:48 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6y2xmKve4SbDpceyEg6spuBghPWr2uE6dphN8rLeqr0U0nHPk4oadHrD25RnkYe32c0YmT X-Received: by 2002:a17:907:a42c:b0:7aa:97e5:fac6 with SMTP id sg44-20020a170907a42c00b007aa97e5fac6mr22682969ejc.378.1667390148117; Wed, 02 Nov 2022 04:55:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667390148; cv=none; d=google.com; s=arc-20160816; b=Rlrdfhq32SYp1HJ7DnuiWyuEEX/IUWYw0RZJZNz3o4zWankWdOjkw8u8WpJM0d1M/I zpWv62QT3Zz11mOofhmJZO0ZTOLPmMFNbQ8zmqcf2/9apN3tgtK7u02TquBmqLD5mhGP fasL0AXFk/pHOUz1j+Bfig1SXlWR4jiW1w+01NWRa/Iafd9eFL2O5HMUvBycsz4rRRAA KyFx22qpx2vwZ2P6XPMrXrj9a59gZ4HTlp3OGhrkZbHJge+oR2Ob9Vz4QhjNRzZOlQTy /Pk1d7qp6vx26PuaTFaXIMnOrv5Oh8sVYV2stvo7/Wp5Fq0JFIEXhHi5onMGkbyYa8Mt UPOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=+weQtxfgoNBES+U0BFPfLStOe9TACD1kLz8vTrv2O+E=; b=j5Jp7kZBp2asSYypiNdcg9xlZ1wAJUl0G8dfuImzoYr0L17PR4v900Ou9d/YK1C7Pf EO1yyxoiekS3MEP32R4wflXqJ5canyo2tfVSIM8lTP0l/VkR9H1yBkqgCdTnWtfOXqVJ ZAD/UptAakEmDTIjopB5DjPqGqD6t2Elo+nhWVQri9CoVVErECqGUjSkb4T/EXQo0ftl q5CRFELdst5b+HC8O+hl4mL9MY9VH1oddL89b5jObHMnOyyUcsYiFT1Z1oaWvu+xWD9M lvyEYB67EnuO8Fno1eTaqFrACtg82Y3uPDjGQhM+TohfMa7cHMg+2dKmKRJQNFN4C2JE q0jQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i6-20020a1709063c4600b0078255525a6fsi11999859ejg.671.2022.11.02.04.55.24; Wed, 02 Nov 2022 04:55:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229954AbiKBLka (ORCPT + 98 others); Wed, 2 Nov 2022 07:40:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39596 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229459AbiKBLk1 (ORCPT ); Wed, 2 Nov 2022 07:40:27 -0400 Received: from fudo.makrotopia.org (fudo.makrotopia.org [IPv6:2a07:2ec0:3002::71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A4E0165FC; Wed, 2 Nov 2022 04:40:23 -0700 (PDT) Received: from local by fudo.makrotopia.org with esmtpsa (TLS1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.94.2) (envelope-from ) id 1oqC6I-0002qz-Nw; Wed, 02 Nov 2022 12:40:06 +0100 Date: Wed, 2 Nov 2022 11:40:01 +0000 From: Daniel Golle To: Jakub Kicinski Cc: Felix Fietkau , John Crispin , Sean Wang , Mark Lee , "David S. Miller" , Eric Dumazet , 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 v4] net: ethernet: mediatek: ppe: add support for flow accounting Message-ID: References: <20221101204945.35edb8e6@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221101204945.35edb8e6@kernel.org> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Jakub, On Tue, Nov 01, 2022 at 08:49:45PM -0700, Jakub Kicinski wrote: > On Wed, 2 Nov 2022 00:58:01 +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 > > --- > > v4: declare function mtk_mib_entry_read as static > > v3: don't bother to set 'false' values in any zero-initialized struct > > use mtk_foe_entry_ib2 > > both changes were requested by Felix Fietkau > > > > v2: fix wrong variable name in return value check spotted by Denis Kirjanov > > Please read the FAQ: > > https://www.kernel.org/doc/html/next/process/maintainer-netdev.html#tl-dr I'm sorry for re-submitting the fixes to frequently. I'll give it more time in future. > > https://www.kernel.org/doc/html/next/process/maintainer-netdev.html#running-all-the-builds-and-checks-locally-is-a-pain-can-i-post-my-patches-and-have-the-patchwork-bot-validate-them > It wasn't my intention to out-source testing to the patchwork bot. I do run checks as recommended locally, which includes checkpatch.pl, build and run-time testing. And though in this case an unneeded export of a function was also indicated by my local compiler, I must have missed it in the output of the kernel build. I will try to improve my workflow in such a way that it will be less likely to miss new compiler warnings.