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 EB75EEB64DA for ; Wed, 19 Jul 2023 05:26:34 +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:MIME-Version:References:In-Reply-To: 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=fv0drZY+qse6X+sJ2Csyn43X/e3SDE2WwPDogoes4jE=; b=jm04LoOI/HUfvn h8LNo+KxGiVkUf8R452/BgtbhpOQMJa6RcLCXSUf13cvU3hw5snoZ2ExRk0Lc0DmUlqKmVbogKWQk DjIm/2dz13QNlpiEHnhZrO6z8TQUyfx8z/PdHrwpZuEhVO8wqJsuBF9bg/Oa9r7Yst7ANc3q7RnfE /D0+z7OQgmotcF88bHeNC1xPmfJFZ2UAkj6ygqBz8ent49mkUEV1ifxfX0NXd2WGIQdkBPElo1fLe kECFdlhEtW+O6ZUg5xHhyGet/YDnrER7FUKhnrmPBpvV3BqGNGjK35OC5qc3EpfLhtzuVuwRBuztg 2aLwF4nRnJSIQLgnwtNA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qLzhZ-005IRF-12; Wed, 19 Jul 2023 05:26:17 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qLzhX-005IPk-0Y for linux-arm-kernel@bombadil.infradead.org; Wed, 19 Jul 2023 05:26:15 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:Content-Type :MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date: Sender:Reply-To:Content-ID:Content-Description; bh=b7BZv7wZ9Ulx59n4DSYJZYoiKa6f4wWEp1z6icNJqHU=; b=b3sFyE8cD22x4SLc9ncvNWMkf+ SMc5ZZWLtBcow8gIl6RrmtBVW3Q8Q5Qf9ERDphwHCcmaNubAVfpsHkZlo483//1zItW+1Vv7MwXSg Z5/Op3LhBbvTUMr9zfkEQSjq19ikcOJfJKUUiFI4kAfJqQ7KVj4aCLhMKwMxGNyywlFdL8NPQWOek +QA9VVALHYEpnTCcnRJIBLrKp4AWqLoNIcmd24pvqoOts89AHM1mDO5YirOOpNtmfiuaN03hzGLdT cE9GQJ3qkDby53W25P+NJ+Jm0qCCOBsH5TWFt8isaC1F0Pm2doz+vpGWS4qee9HUiAN1++BadRK7B vPuNj6SQ==; Received: from dfw.source.kernel.org ([139.178.84.217]) by desiato.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qLvZk-00CMK2-0x for linux-arm-kernel@lists.infradead.org; Wed, 19 Jul 2023 01:02:00 +0000 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 E05E3615DC; Wed, 19 Jul 2023 01:01:50 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C750AC433C7; Wed, 19 Jul 2023 01:01:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1689728510; bh=DErPakduFqhgq+XgSW/ZrwNOszO28tTHkZXEYy5pKSc=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=owbr9Ll38m9telfzm+Q+UeIGv0gZ+QJBwa+XOR/u3k/zDw3jyTdT12TSkk8Nv9vbm 1L86mr3GPnXaV0zf20IU2MZmEGMa10XbA7MuKNwRwcSukUfm4R6LLmn48puNGKGz2R NUiWOom2OsnEU/v1r40sroRLsDDtNdZ3gTi6yS4BwsmdB2O5fw3uyoCkzJReuu4sw+ dGbbt+sRIqE5U+u98C9yKylCnrloFczRmCFDKcknY8euiE5hJSobXs7HvyulGvDFb5 8iOOA3iJ4NYJa0+6xt3Os7VZRXBB8ykzMIdC8YxkCbLKJsVeL6h7j3q4NG0nIVaYRo PYwSGTYEhV+FQ== Date: Tue, 18 Jul 2023 18:01:48 -0700 From: Jakub Kicinski To: Giuseppe Cavallaro Cc: Jisheng Zhang , 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-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sunxi@lists.linux.dev Subject: Re: [PATCH net-next v5 0/2] net: stmmac: improve driver statistics Message-ID: <20230718180148.4fe125d9@kernel.org> In-Reply-To: <20230717160630.1892-1-jszhang@kernel.org> References: <20230717160630.1892-1-jszhang@kernel.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230719_020158_134473_2F578E29 X-CRM114-Status: GOOD ( 11.30 ) 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, 18 Jul 2023 00:06:28 +0800 Jisheng Zhang wrote: > improve the stmmac driver statistics: > > 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'. Giuseppe, please take a look. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel