Article View: linux.kernel.netdev
Article #17479Re: [PATCH net] net: ethernet: sunplus: check budget before calling napi_complete_done()
From: Andrew Lunn
Date: Mon, 16 Nov 2026 22:19
Date: Mon, 16 Nov 2026 22:19
7 lines
8363 bytes
8363 bytes
> I am fairly confident the change is correct, as the documentation > supports it. So the LLM review is wrong? Andrew
Technical Details
Message-ID:
<461f7e59-6c1d-4ad5-9eb9-5e5d9b4a9e90@lunn.ch>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-364757-linux-kernel-netdev=dewy.ruReferences:
<20261114222744.535158-1-janislacis06@gmail.com> <26c5c08f-d6f5-49b2-9fa8-de6f8c244a78@lunn.ch> <7zevuoiao6ildvkxt5baqnalb3nrx736krdxkbrbxouelukveq@2wo6m6cfl6rn>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-364757-linux-kernel-netdev=dewy.ru From: andrew@lunn.ch (Andrew Lunn) Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net] net: ethernet: sunplus: check budget before calling napi_complete_done() Date: Mon, 16 Nov 2026 23:19:45 +0100 Organization: Usenet Network Message-ID: <461f7e59-6c1d-4ad5-9eb9-5e5d9b4a9e90@lunn.ch> References: <20261114222744.535158-1-janislacis06@gmail.com> <26c5c08f-d6f5-49b2-9fa8-de6f8c244a78@lunn.ch> <7zevuoiao6ildvkxt5baqnalb3nrx736krdxkbrbxouelukveq@2wo6m6cfl6rn> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: usenet.network; logging-data="2180830"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:+cEMydoYDIjaooTeMNghOGZaaSU= sha256:kyygama2lZOD+Q3iQycs/W87Xqx+uJTjB/3/ATXrZ/Q= sha1:MBSjLiDNvXErbyrIhDlR5JGj94A= sha256:ievpFCqdSsgh+4B/FAXzVI+PTU1n2WlQTCKa9C6tK4s= Content-Disposition: inline List-ID: <netdev.vger.kernel.org> X-Mailpost-Empty-Hdrs: X-Spam-Level X-Received: from localhost (localhost [127.0.0.1]) by mail.dewy.ru (Postfix) with ESMTP id ABFD8114D8D; Tue, 17 Nov 2026 01:20:19 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.05 X-Spam-Status: No, score=-3.05 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (1024-bit key) header.d=lunn.ch X-Received: from mail.dewy.ru ([127.0.0.1]) by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2EvK4h3E3im2; Tue, 17 Nov 2026 01:20:16 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-364757-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=lunn.ch X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10]) by mail.dewy.ru (Postfix) with ESMTPS id A76E8114D85; Tue, 17 Nov 2026 01:20:06 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sea.lore.kernel.org (Postfix) with ESMTP id D4F122A41B; Mon, 16 Nov 2026 22:20:01 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1794867601; b=ACoDsDI1iB+vbQYRnSPRrd//H9R8Ph0O6Q4BZj8Y3KrMQAKkoFLxdTbF1303j+NGw5DU Oyml+YoV+c4QHqRfFTbsqjlaFOMGEvyk2b79CjIHwBIwXA42LSTw7CvWfPzrv5u4OQcv5 I4lkNjtk0Et0dU83G1b+ERu94FDDv1V9V3eoMKsYDLYD4afpr3//Vn4E3qwOaL+h/RqwQ NIh4ZPu1I9ioyZMwyErH/9D39u50GLghGhWN3WN4EZESuQvHCquVRCSidNaFKj/beCJD+ skEjZfKrtsHiU0cRibtcsdEAd/R24o2sldx8AKNuTib/OmLX8GnkJuIztcDDiPbd3HA== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794867601; h=X-Original-To:Received:DMARC-Filter:DKIM-Signature:Received:Date: From:To:Cc:Subject:Message-ID:References:X-Mailing-List:List-Id: List-Post:List-Help:List-Subscribe:List-Unsubscribe:List-Owner: Precedence:MIME-Version:Content-Type:Content-Disposition:In-Reply-To; bh=YpKVSlQQZT9OTr5yWvZdFnKLFgbCBAUyd3j3C5Dn4kE=; b=uImOaoqwoxSP9C14NHg4WouBOKxdxsilXKMGph9JxwaXWetf7MfzpZpfzmrRxPQ1gXH9 6Lsxj0VbnsMqnvkwYXeZPOeZewn2x8tqRa+tPwJPdLEQ7GP+qZqwvrCWytC6TRmL2c5zc yhRrZj//cnE07WwAXPdWzyw65kHaRc5ukTIi3FDSDkDmd3DJL9BWp2UujSwoHyPxUj5eC YHiavq+ei/HmYqAlsV+V7OpnC8FPS/Xlp7SL9v38ZUUMb3SNnpz7rhg5z9QTeQJvy7OuW UhPlMUxFOqz/VePSqTJGGk7HUSkJPOEtCtSzvAeLxIgO+X3rtXaKLxDKIBis4v3Qocw== X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=pass header.d=lunn.ch header.i=@lunn.ch header.a=rsa-sha256 header.s=20171124 header.b=Ib0bx5ro; dmarc=pass header.from=lunn.ch; spf=pass smtp.mailfrom=lunn.ch; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AB100606A333; Mon, 16 Nov 2026 22:20:01 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.a=rsa-sha256 header.s=20171124 header.b=Ib0bx5ro X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=156.67.10.101 X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1794867595; b=iTCdjY33qc7n5sB9nqUNfN0Lo84H9gj4O/qSgwCA9mLhb5cb/rDIvuPSwGIpiNI++mYw 21e58I8lCVeUy8agie7pXgfzxTGjIXZyp4hfcxJxk1sgIsVJ759GnmjMPD0FI8va/CuJ1 ljNorseshxBge4pitHPCTkYiRbK6OfSbhS54+dcyb0ItK3xxqSlZF+e4CALnj7FuwUgnn 5vZTCyTvMORHpalnakODpi1fmARn9541HbaZbKVY2w55mnFpstG6QG1PrGL02hLsChSJi Md6UKu5dUONfvXZCJP8aRFtMmsFYvCiF8c88Qg4eIj4cCFWyffPNNpcdtNn2LMBJoQg== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794867595; h=DMARC-Filter:DKIM-Signature:Received:Date:From:To:Cc:Subject: Message-ID:References:MIME-Version:Content-Type:Content-Disposition: In-Reply-To; bh=YpKVSlQQZT9OTr5yWvZdFnKLFgbCBAUyd3j3C5Dn4kE=; b=I59uXqsxSXExWjlROsVlrQ9RJB2XwOM0V40xmjuT5zidmKH1v0uVZGlq6mcOYl+BYAWh 0lQqOHOpSYSnbnJNJJbh4H4CiIEXGiq69NZwarLdWqmW4kN2sx92TzPX6h9jtBagQ/c5f 6F+X1NopBnpRhuJ8BzCk90GBWzJxbBNNZNWK7cudx6CKKNSFZ4qHyhUMl4njX7b+rO+3T xTdcSjEagyX7mGiAktBabIf9zL9M++CJEEfHMCYmxP6PNCNszyio3V5v0E9YxjP2Xbs/E cK9XmjN2zYGBtwd6TC/q7vLHTdNNhRd2oc/tJw0wT1x1CkQtt9FzaNK1dwlQ1OP894A== X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=lunn.ch; spf=pass smtp.mailfrom=lunn.ch; dkim=pass header.d=lunn.ch header.i=@lunn.ch header.a=rsa-sha256 header.s=20171124 header.b=Ib0bx5ro; arc=none smtp.remote-ip=156.67.10.101 X-Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 643F7606A31C; Mon, 16 Nov 2026 22:19:55 +0000 (UTC) X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 643F7606A31C X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lunn.ch X-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=YpKVSlQQZT9OTr5yWvZdFnKLFgbCBAUyd3j3C5Dn4kE=; b=Ib0bx5roxVWu37EBTh4mZ39Zih hcaTMisFoWCi6nlGVjuJrYIRgUq+X+po/AHvVS7t3owEZYXxYeImofL2c7dUq/cAsm0T8Ty4yBBPz 72uShcJ1S6yqgiXn23Rw2hjQKYrTc7KXJgJb0ptV6VLq9lToSbOxbZVxG9lvB8E/cLeo=; X-Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from <andrew@lunn.ch>) id 1xT53B-00H1KI-Ha; Mon, 16 Nov 2026 23:19:45 +0100 X-Cc: netdev@vger.kernel.org, andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com, wellslutw@gmail.com, linux-kernel@vger.kernel.org X-Mailing-List: netdev@vger.kernel.org X-List-Post: <mailto:netdev@vger.kernel.org> X-List-Help: <mailto:netdev+help@vger.kernel.org> X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org> X-List-Owner: <mailto:netdev+owner@vger.kernel.org> X-Precedence: list X-In-Reply-To: <7zevuoiao6ildvkxt5baqnalb3nrx736krdxkbrbxouelukveq@2wo6m6cfl6rn>