From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 916F36FC1 for ; Mon, 14 Nov 2022 16:28:21 +0000 (UTC) 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> Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: > 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