Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp16670027rwd; Mon, 26 Jun 2023 13:23:45 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4a+BqOkGLH/d+cbKTls1JpuKFg45UO5LFNe/b5D3TjG50JM+U6JVkV/YSAVnt0hZVj08iX X-Received: by 2002:a05:6a00:198f:b0:662:56b4:c2f2 with SMTP id d15-20020a056a00198f00b0066256b4c2f2mr37577950pfl.25.1687811025124; Mon, 26 Jun 2023 13:23:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687811025; cv=none; d=google.com; s=arc-20160816; b=QoQrbeJNDb0z6dIx2Yv7QiNGxBtc25k5Cd2scqnd857tZMM7wLBmavVwesgKoHi4BW yQLHIgIdJGBGIBQ+Hyv0i7Ws3dCXA8jnQHidC3iSzyO11yaGThvzjS7lPTtECHMTipDh UpprdEODG0bVZ1cEttVR7LHfchm/b3THLtL4N0wBGmZLa9NghvFN7SV/XYvkMJA5NlX+ ONZikm3J1mn8dju9B6xzFMUVzFxH+TOa8qOqBUbiRbmgmGqhOPYUlXN4jm0acA0RBwR9 wTbptG1uJ3JmY8RJa58iveB+HNL1OkyYW4EvJU+aePLf24elQsjeqh8zemi9nqT7Vr+w CRpQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=nCtQc6vEPCZBNMAXrf8RML0sf6FdDBzAtDoymtDQueU=; fh=GR30VB/5GgTil4yCXckVC3yXIe2BSpDK8T/NzctgT3M=; b=bUTqSq27DTcCWy3gfVble/HBVW/JPMRJEV5io0EYQi4O8ZItsfhBp0uCYAXqITfG60 v23DUTMRltPv00BtlqV9zcd6vrGSuXZJZsidMM4pcjbMNHSICbH/x3DOEWydJBD+/h2S Z6mpAJT8eXI7BLO7TpShcTt1aQsz42iATIKjqw3j8BkHaDGwrXS6d6Sd9VUEGFbCwCoq rkD6HG6E6Um5BxklsnJauHQ/FSdD2ZYtukHKsdbh3zGsAJBgQhfKJHeIPUHmgpq/Ev7s gUPRO8WNDNPGIuWevOR8hAqJgeMG3dzBuOd/69rrMgtkqYrnPTRSid7wBMg40ZogrJsH hoUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Z3x8LFJl; 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 k132-20020a62848a000000b006689f8a9047si5417601pfd.125.2023.06.26.13.23.27; Mon, 26 Jun 2023 13:23:45 -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=Z3x8LFJl; 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 S229533AbjFZUUI (ORCPT + 99 others); Mon, 26 Jun 2023 16:20:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33872 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229471AbjFZUUG (ORCPT ); Mon, 26 Jun 2023 16:20:06 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 18AC310A for ; Mon, 26 Jun 2023 13:20:04 -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)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 9C20160F5A for ; Mon, 26 Jun 2023 20:20:03 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7354EC433C0; Mon, 26 Jun 2023 20:20:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1687810803; bh=Maky/E8y47QdX20qkzXbLBDyC0PqI8ISHALA3ayx/pE=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=Z3x8LFJljPHUMLCFgTv4ip85HVkbz8dW4da5UnZQbLpbXG0rpq+NuPVtunfh7HNhO ffeMvEtX1ZvkZhKNMHIelkF/nQ+FBlECZJvIjTnzG7N3wIqKwDQNkNRlwQMeDBGcB3 YeWSVCB7ojeNPhK6JY986CD+MT+3BmGS3MSURUM0qK1j2g6eABEkTfxawCFfjvbYYp l6w8gZAfR5b6z1mSKR4Dv3sxd3eaAfID8POBiJJB525MYbZPJh9WX1ir2CaC6wmK6d jbgHz/2Un4DJEmh+CHU6DyrZoh/6OETTxPKpL56brXTcF9Xz29nQROIY+AUla1rTWU 38BQCfWMIdRWA== Date: Mon, 26 Jun 2023 13:20:01 -0700 From: Jakub Kicinski To: Jisheng Zhang Cc: Giuseppe Cavallaro , Alexandre Torgue , Jose Abreu , "David S . Miller" , Eric Dumazet , 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, Simon Horman Subject: Re: [PATCH net-next v4 0/2] net: stmmac: improve driver statistics Message-ID: <20230626132001.2b0e2ac2@kernel.org> In-Reply-To: <20230626152844.484-1-jszhang@kernel.org> References: <20230626152844.484-1-jszhang@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 Mon, 26 Jun 2023 23:28:42 +0800 Jisheng Zhang wrote: > 1. don't clear network driver statistics in .ndo_close() and > .ndo_open() cycle > 2. avoid some network driver statistics overflow on 32 bit platforms > 3. use per-queue statistics where necessary to remove frequent > cacheline ping pongs. > > NOTE: v1 and v2 are back ported from an internal LTS tree, I made > some mistakes when backporting and squashing. Now, net-next + v3 > has been well tested with 'ethtool -s' and 'ip -s link show'. ## Form letter - net-next-closed The merge window for v6.5 has begun and therefore net-next is closed for new drivers, features, code refactoring and optimizations. We are currently accepting bug fixes only. Please repost when net-next reopens after July 10th. RFC patches sent for review only are obviously welcome at any time. See: https://www.kernel.org/doc/html/next/process/maintainer-netdev.html#development-cycle -- pw-bot: defer