From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (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 D596F3E6DDC; Tue, 14 Apr 2026 13:02:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776171740; cv=none; b=ZUGTBCgtq0P9nwoL+SLYLTx5NyRwgPuN7yQ1UgPzJPUHvvYJOgQxjFuoK55hGV51gRpQEpsWPZFW9JmgRcJfCs9iNSG4iflfe0KE9dApE+Kw8NGSwScnqCrhNpQY/mIGcEKiXpo3c6T3dKzl5qpOF6d5h77m1UAAbE/YAvaMfEE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776171740; c=relaxed/simple; bh=PK3sq8t3E0t+ZSRuit9ZpFIdHONFLa626Az2fxiC/LY=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=rakqaKw58WU8Znjd6Bi5M0AjlYLbKBUnoRD8ZaKG25d5XT4YEZdwhyeWNpiSmMiH30TYI08z7RsQ++3mw3vketwiiKVwMAbnBhwnwAv7FSzv3+6D9UAct6E/6+WuzY7kZAiG/q9ZivkvQV3zwXR7YYUj1JXSmf7u+jConFXmJ4k= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=Kk21Wj6r; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=Ta3fwnJh; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="Kk21Wj6r"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="Ta3fwnJh" Date: Tue, 14 Apr 2026 15:02:16 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1776171737; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=bUFbGS28smoK+aZ7hRlIJDcZvCwREXti4XkgqB1hRKc=; b=Kk21Wj6r3YYrYAExb8u6F3MJhhhlJoTE6UUWNDIFAnM70cqK3QNiKxCr9wudg2CNps7iMA 2D4hDssP51CGeLYOZbfTqiz19GUcUCgQPsKgcmoSEK9P5X26Y4IfvPHczMAIIylqor/bnB vo82k7r3bAqu7WP+pUU8hQn1uHTlM8Hjne/oRdwwfWrS/kKQ05BC2TQy3L1oOnAwGyJjM8 gdKfoLzqj11+jQXy3sd8BHNwv3kZ4j0vD8VYHhBDitHwfGrFtJSpHg3kx0aDgbu6OLSCPl XoLk0mM41+M/DC9xhskj93KO0eWVmp/nVBQl0NFjgazMxnCiyHF1kUR5ypWPYQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1776171737; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=bUFbGS28smoK+aZ7hRlIJDcZvCwREXti4XkgqB1hRKc=; b=Ta3fwnJhIC043y8GS7jIghot1/KXoeOJQi9h6y6PlY/cDL/tdXTjktlCPAThGnzNOWrpGM Iw1dYu/6SACzP7AQ== From: Sebastian Andrzej Siewior To: Marek Vasut Cc: netdev@vger.kernel.org, stable@vger.kernel.org, "David S. Miller" , Andrew Lunn , Eric Dumazet , Jakub Kicinski , Nicolai Buchwitz , Paolo Abeni , Ronald Wahl , Yicong Hui , linux-kernel@vger.kernel.org Subject: Re: [net,PATCH v3 2/2] net: ks8851: Avoid excess softirq scheduling Message-ID: <20260414130216.FPwZgq-V@linutronix.de> References: <20260414103327.113500-1-marex@nabladev.com> <20260414103327.113500-2-marex@nabladev.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=utf-8 Content-Disposition: inline In-Reply-To: <20260414103327.113500-2-marex@nabladev.com> On 2026-04-14 12:32:53 [+0200], Marek Vasut wrote: > The code injects a packet into netif_rx() repeatedly, which will add > it to its internal NAPI and schedule a softirq, and process it. It is > more efficient to queue multiple packets and process them all at the > local_bh_enable() time. > > Fixes: e0863634bf9f ("net: ks8851: Queue RX packets in IRQ handler instead of disabling BHs") > Cc: stable@vger.kernel.org > Signed-off-by: Marek Vasut Reviewed-by: Sebastian Andrzej Siewior Sebastian