From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 8667F1079B for ; Wed, 16 Aug 2023 14:33:38 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CDBBDC433C7; Wed, 16 Aug 2023 14:33:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1692196418; bh=uBcRHsMTUoYVy2HBvf3JZKX9X9ZqfUDAJoCf9LSgY4o=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=c+OGP/VbzXjXdrHswwh+/ZMzRMfZH70glJ3aHxAIl8BVDlkmq9cKSTtEEdSSFDMMt Tggi+SCGBQ0qYOfEtv05Y5xeTn1gdMy0DNElJMPDSHjWy8EIiQqToWIz+QBXUOczCV 2eTF1WGoZkCqf9mOJZnWFrJ83rv4ovjx0qm7sI/KVadm8QAfIPFuiQjaV+G1BLZMJh D8od7XFusuqarcQ8y2kiVV1C5Uuze2TkoFORmGk9C942NDo/D8790SE9ur6u8lnkQG Y4EHBmpXBZnCiPag0gk2nhUeZNPUf9buvJzXTVlXF1yqb7Ecj8IUTVrUzrH6pkiSA4 clzw1OAvO4hlA== Date: Wed, 16 Aug 2023 17:33:34 +0300 From: Leon Romanovsky To: Wei Fang Cc: davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, alexander.duyck@gmail.com, xiaoning.wang@nxp.com, shenwei.wang@nxp.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-imx@nxp.com Subject: Re: [PATCH net-next] net: fec: use napi_consume_skb() in fec_enet_tx_queue() Message-ID: <20230816143334.GZ22185@unreal> References: <20230816090242.463822-1-wei.fang@nxp.com> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230816090242.463822-1-wei.fang@nxp.com> On Wed, Aug 16, 2023 at 05:02:42PM +0800, Wei Fang wrote: > Now that the "budget" is passed into fec_enet_tx_queue(), one > optimization we can do is to use napi_consume_skb() to instead > of dev_kfree_skb_any(). > > Signed-off-by: Wei Fang > Suggested-by: Alexander H Duyck > --- > drivers/net/ethernet/freescale/fec_main.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Thanks, Reviewed-by: Leon Romanovsky