Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1297166rwd; Thu, 15 Jun 2023 08:43:03 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ66Et3CEYzL4k9XrDcQ3mnjdQeFMAgAkLI/dI99/h0H2+5EAgoMrPToOGs9ckbEwukMdd4v X-Received: by 2002:a05:6808:23d4:b0:398:1151:a42d with SMTP id bq20-20020a05680823d400b003981151a42dmr17233909oib.24.1686843783614; Thu, 15 Jun 2023 08:43:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686843783; cv=none; d=google.com; s=arc-20160816; b=E1MIk+CR1l/NTdsNrqK9JWZ5VQalAMl5DRa0YHXcTp+1XonyINC2uxxcbenXUlbclm aA8dlyUnMhE5W9E94UXSy77w5g25r7JNRmkMRigHJBxl83Bxat6AZR5cbmheca5XZWkf P7o85mbTwdQFhMHqTXNaNZ8qIsNIuTN4SIHPoGgO84Xu3kdhIihwJwW8q/gWhaKM4nRu GSsewMmaOugvTvryeX04cpFqPc9dQNOMrcflnUh21hDMD7QMUloDLf6q1S/0lUZ4pz/M JiiPBEUMtZMfrvmvyRwJZ6IEcw6d4gQr0TU+3jXQve5U8n3TzwF4qNRHz2QoVnF84lve e2cg== 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:dkim-signature; bh=6Nv6eUpG+K1+uTgw0PRlW+VmjkUaxQZIhLyPZUbEKlA=; b=vpyXQmKGA2teswMdigpthUuDhsVp36+s1QwzOoKmIUXQW50gDdATFeqaCAbd6crCfX Oxc5L3Umv2FNQPdEA0vGb2kCICaeX6m9vo0u10eF9pl4dLwmocA76RBT4cMYRGrGOwEt 1/Hg8ylh471L/T9KH0BuvDnjNn7KTs0pYrJTZ6MVcbVGdM3pPTYBQhudBVK9R1cEjSfX 9t2YVQyORNJoD0I+Or4y8mbx8pn9WG/+FWVbsnr46LFB/zuNPnlG41s0LpntSq6rCwUQ 59k+Mk/03CMaKGhBohQFckXpv7hrVmQOR1yLRA2espzJlqJWwZyKgI0t7eNeDK0uXgJA guoQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=WMK8BkG+; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v12-20020a63b94c000000b0053094305b59si9951119pgo.875.2023.06.15.08.42.49; Thu, 15 Jun 2023 08:43:03 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=WMK8BkG+; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344031AbjFOPah (ORCPT + 99 others); Thu, 15 Jun 2023 11:30:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58142 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343593AbjFOPaR (ORCPT ); Thu, 15 Jun 2023 11:30:17 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 341AB30C1 for ; Thu, 15 Jun 2023 08:29:44 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id C918663D4D for ; Thu, 15 Jun 2023 15:28:49 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C7075C433C8; Thu, 15 Jun 2023 15:28:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1686842929; bh=3rUJKAAkVI4LiG4fM0PQkGZktYejaRvzK+AL0LZ3Y74=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=WMK8BkG+KJoxgGBdTk9yp8ZAuScSukNpIc1QMKIcgns2cazl704jin1fe/1UXio5n HJ9ZR7Pg0SF0WXvQBw+oAsOPRmVV/A5Q+xoE7yj0YM3/KYiY9tCWmdiJsryU+UHBB3 ri0LFyoZ9tF4c9V7ir8xb1Fp8oTMuVGnt/AEkCji6IqiCA/bnQAoiCreP9UwAU8ChQ aruy8AOj9e28HAeajwzSGG7a/3ST4fNv9DKiRlMHsZCe+bQLP01+ASsp6LatoHiScd 2pBlbYs0eu0naQmy+3XJsJ93n6/5vsZIrrNY1mZG9mdyEKm3M9U7y8kY/NYBp5Ar3r TlMEq1Y/2+kpg== Date: Thu, 15 Jun 2023 23:17:26 +0800 From: Jisheng Zhang To: Simon Horman Cc: Giuseppe Cavallaro , Alexandre Torgue , Jose Abreu , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Maxime Coquelin , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sunxi@lists.linux.dev Subject: Re: [PATCH 0/3] net: stmmac: fix & improve driver statistics Message-ID: References: <20230614161847.4071-1-jszhang@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 On Wed, Jun 14, 2023 at 09:39:17PM +0200, Simon Horman wrote: > On Thu, Jun 15, 2023 at 12:18:44AM +0800, Jisheng Zhang wrote: > > patch1 and patch2 fix two issues in net driver statistics: > > 1. network driver statistics are cleared in .ndo_close() and > > .ndo_open() cycle > > 2. some network driver statistics overflow on 32 bit platforms > > I would encourage you to describe these as enhancements or similar, > but not fixes. Because fix implies a bug, such as a crash. And > bugs for fixes are handled by a slightly different process which > often includes backporting. So it seems I need to fold patch2 and patch3 into one patch. Previously I thought the counters overflow on 32 bit platforms was a bug, thus I split the 64bit stats patch into patch2 and patch3 so that patch2 can be backported to stable tree. I will fold patch2 and patch3 into one patch in v2. Thanks for your review. > > > patch3 use pcpu statistics where necessary to remove frequent > > cacheline ping pongs. > > Assuming these are three enhancements, then they should be > targeted at the net-next tree. And that should be noted in the subject: > > Subject: [PATCH net-next v2] ... > > Unfortunately the series does not seem to apply to net-next > in its current form. So it probably needs to be rebased and reposted. > > If you do post an updated series, please observe a 24h grace > period between postings, to give reviewers time to do their thing. > > Link: https://docs.kernel.org/process/maintainer-netdev.html