Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp5738021rwb; Mon, 14 Nov 2022 08:47:57 -0800 (PST) X-Google-Smtp-Source: AA0mqf4brxe7Ie/u+JhjBbZBnx6pK8Tu4j5Hk3yWxECVOJRET+zQ0m+voFdD4QKb65IB1v9oQhMN X-Received: by 2002:a17:90a:f115:b0:214:247a:1932 with SMTP id cc21-20020a17090af11500b00214247a1932mr14538794pjb.187.1668444476713; Mon, 14 Nov 2022 08:47:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668444476; cv=none; d=google.com; s=arc-20160816; b=chHDWWxV+9OGYZ41yquGvWX+IsaSifTXZEgh44LlSvd4k6j51ijl9sASmrT44vaoY5 KjHImBjBcbedGDhsfwojxWgmMeRSjVdEY9P7M3b1XvWtITlLpc0Ldft5bTqbg61MZ192 bv2ypzmcqm/e0HWDYEPqCa3fbhxHcahJckK4Tiq6TVyzNTT/daITt2vbp6Dv2JdrFiw9 RNViGd4QrOWW6Y8YZB90nues7AV5NKceDb8lwNz5t4qEFqKwmICUAVGkwmUkAbJdRjkr 8Xu7EWxUyNoPB0j4rplsGI5jU8mvtDf1CTzRFSetPqalUO4s4Gw6jq0hnK7wfaQiMsPl LvaA== 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=ImH4lvZLozTPy50vqHvYVMudhu4Vtv7Vs2NSA/JQDyA=; b=kSKpnoKn0lYmwbMz80SrIHCL58plPlhDxKaiUe2Z9fU7DQaz4Xb7bkCEXtE5BQHv0G StZX1YKy2i4q7r4InaTawKW0y+HR0J74XHeKmzAwf4ls6XE2zxW7YQXOvt2gUznnXW/3 XeezvGO4jE3sSOLTvy1zc/+uQvtGt3PsRKdw5EyGFOdp88bR0pm15Ly6YDUyA5PF+6hY Ub5HApKpMfzu6NYzUl+qSSu+9Ysu2wTZ2LYMPDd593EGR6hBm+NkZf1rFP9wCfzVt70s RRysYkmnjBt7u46nGWWhz0dAe4Tpr+xSUdfktHo8cIxiwtCsDcZuZUpDVRhXglKdWaDB 9wjA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=VPGtGPpK; 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=lunn.ch Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f2-20020a170902ce8200b0017881dc6dc2si10796704plg.489.2022.11.14.08.47.44; Mon, 14 Nov 2022 08:47:56 -0800 (PST) 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=@lunn.ch header.s=20171124 header.b=VPGtGPpK; 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=lunn.ch Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237507AbiKNQ2Z (ORCPT + 87 others); Mon, 14 Nov 2022 11:28:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34692 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237406AbiKNQ2V (ORCPT ); Mon, 14 Nov 2022 11:28:21 -0500 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 37C752F38D; Mon, 14 Nov 2022 08:28:15 -0800 (PST) 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=ImH4lvZLozTPy50vqHvYVMudhu4Vtv7Vs2NSA/JQDyA=; b=VPGtGPpKWlHYhdkg0u0i+IDW1o o77KQGmUJVTSh+73Z0Tnj53UgHyxWniR8PTM5ioGX021i1qISqXhT2cRFIy/Xwzp7BZylGyXE657S UmPcDa8edIQIkE1bl2TAviVAOMbuJXu0KTvS0vWcgbclpIoDOekjPS6ARiQFxKUOGojo=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1oucJ8-002MLG-NM; Mon, 14 Nov 2022 17:27:38 +0100 Date: Mon, 14 Nov 2022 17:27:38 +0100 From: Andrew Lunn To: Shenwei Wang Cc: Alexander Lobakin , Paolo Abeni , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Alexei Starovoitov , Daniel Borkmann , Jesper Dangaard Brouer , John Fastabend , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "imx@lists.linux.dev" Subject: Re: [EXT] Re: [PATCH v2 RESEND 1/1] net: fec: add xdp and page pool statistics Message-ID: References: <20221109023147.242904-1-shenwei.wang@nxp.com> <4349bc93a5f2130a95305287141fde369245f921.camel@redhat.com> <20221110164321.3534977-1-alexandr.lobakin@intel.com> <20221114133502.696740-1-alexandr.lobakin@intel.com> <20221114135726.698089-1-alexandr.lobakin@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,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 > I did implement a quick version of u64_stats_t counters, and the performance impact > was about 1~3Mbps on the i.MX8QXP which is 1.2GHz ARM64 Dual Core platform, which > is about 1.5% performance decrease. Please post your code. Which driver did you copy? Maybe you picked a bad example? Andrew