Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp786049pxp; Fri, 11 Mar 2022 15:06:06 -0800 (PST) X-Google-Smtp-Source: ABdhPJxumkJZtHPh1w5hqg4uEjmXu4p4BH7UDi/mCz1MXotHKgjOWiuwhqQXRYNR4MxvEw28Oh6z X-Received: by 2002:a63:5124:0:b0:375:9f87:f881 with SMTP id f36-20020a635124000000b003759f87f881mr10083847pgb.578.1647039966381; Fri, 11 Mar 2022 15:06:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1647039966; cv=none; d=google.com; s=arc-20160816; b=Koa8R4cH5v9wgZ21/OO9AqhlY4V8kHdGRp4DweSm8IfkJcg/+L1t6FQfnZ6t1bAXkM pjMDQ96C4MkotaRpZJxasgYcyY2hxueW82QjkVBc1vSd8silTc3BlJNBgozhXoASwtmH mkbA/QitOnWCUVxPUmupDcmtJdB2E7VhV8+dJJiaCBcYflUjIAkuSbFEZGPrMApykWug kv7FzplQF405L9mbo/8q+lLQkaW3Xp09lTEGWq+QukrcSWNYGt84LM0sM2p8wvtNxaap vy6uy9jmUhHNKL7Bpn0W7cO662eqExkazCGOuNoN5Fp/0hHs5v4qpmox+GGPVa7bZkF7 d05A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:date:message-id :from:subject:content-transfer-encoding:mime-version:dkim-signature; bh=bRXFGBwFNFrmpBcTOtABHGDa4EqjHaVKtN4LX6G7tHc=; b=c+9kS6hZgcIh2nbY8wsL921CfFGP7NH61KUzpts9k92erSkgLJgrZeZA3+/rjIYMFc CU3P1hD24V/JImOqozyfavlR6qqHdm3FZIy6q/U0lwpzXKpajSeZndo+FqVKrOPA86Pi SWmDTHtvD80TBbsH7immp0LoMyCo9XK98MfG6fknnZr3bmCCMNkqpa6kGKHqKloU5BTi OEET4Gp5wo4ZhWkypuVyRDT4RiWrYmD47KUbDvQ+9zEQ1ediZfXVpUegZALvCH/R8oXN Ha+gWiuquH9RCpj+hJ3Q6J+IYd9nDu+SzxcInYGxFdpZNRFw0Q/l2cDTaEXGxhENQLjg R4oA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=r24EOsV6; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id pc5-20020a17090b3b8500b001bf52632336si10643702pjb.9.2022.03.11.15.06.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Mar 2022 15:06:06 -0800 (PST) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=r24EOsV6; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 7FFF2382768; Fri, 11 Mar 2022 14:01:57 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348168AbiCKLVQ (ORCPT + 99 others); Fri, 11 Mar 2022 06:21:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55156 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235465AbiCKLVO (ORCPT ); Fri, 11 Mar 2022 06:21:14 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 362182AC5; Fri, 11 Mar 2022 03:20:11 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id C87F461B49; Fri, 11 Mar 2022 11:20:10 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 2B112C340EC; Fri, 11 Mar 2022 11:20:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1646997610; bh=Rxfu0cswIO+qQGh9OO4iRX9Xy2FWrCarh4AekUQZwGY=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=r24EOsV6xnlTrAubJns9lcLAoj9aRhlfE1Qavvw00K64aY8HROSdzpMe6UM02I0zI Wkdc7BGi/20CNiwg7L1rrTzh97rHYAYCta0QRiQlVy5fhs4UWZ2SKRweBJsby94zPu eVMsnLUoF3DL+0gcCKqTpebmSfXe8cw6EfSBacUHRBxKmdjOo1vQ1IKMlwGWXUwctg HRHnCMxnNMYqLDUz6SuEHuQwF4c/LM2OVtIMbLih2EMAmO4UQvJ2PaDe9H3LDXXyZ7 hyu9/DUAPb/V15oOMQFDB2ncW8k1FkJdT/ZVTJ2ca0ZmbeBY1gaav1kjnUzqfM3Mk1 iOlSag1Z+7uZA== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id 0DD20EAC095; Fri, 11 Mar 2022 11:20:10 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH net-next v2] net: lan966x: Improve the CPU TX bitrate. From: patchwork-bot+netdevbpf@kernel.org Message-Id: <164699761005.9005.4935359925915457985.git-patchwork-notify@kernel.org> Date: Fri, 11 Mar 2022 11:20:10 +0000 References: <20220310084005.262551-1-horatiu.vultur@microchip.com> In-Reply-To: <20220310084005.262551-1-horatiu.vultur@microchip.com> To: Horatiu Vultur Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, UNGLinuxDriver@microchip.com, davem@davemloft.net, kuba@kernel.org, david.laight@aculab.com, andrew@lunn.ch X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 Hello: This patch was applied to netdev/net-next.git (master) by David S. Miller : On Thu, 10 Mar 2022 09:40:05 +0100 you wrote: > When doing manual injection of the frame, it is required to check if the > TX FIFO is ready to accept the next word of the frame. For this we are > using 'readx_poll_timeout_atomic', the only problem is that before it > actually checks the status, is determining the time when to finish polling > the status. Which seems to be an expensive operation. > Therefore check the status of the TX FIFO before calling > 'readx_poll_timeout_atomic'. > Doing this will improve the TX bitrate by ~70%. Because 99% the FIFO is > ready by that time. The measurements were done using iperf3. > > [...] Here is the summary with links: - [net-next,v2] net: lan966x: Improve the CPU TX bitrate. https://git.kernel.org/netdev/net-next/c/fb9eb027fbc9 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html