diff options
| author | Marek Vasut <marex@nabladev.com> | 2026-04-16 01:09:45 +0200 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-04-18 12:14:19 -0700 |
| commit | 22230e68b2cf1ab6b027be8cf1198164a949c4fa (patch) | |
| tree | 1bcde43280c061be2f033e8de68538da027df73c /include/linux | |
| parent | 5c9fcac3c872224316714d0d8914d9af16c76a6d (diff) | |
net: ks8851: Avoid excess softirq scheduling
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.
Reviewed-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Fixes: e0863634bf9f ("net: ks8851: Queue RX packets in IRQ handler instead of disabling BHs")
Cc: stable@vger.kernel.org
Signed-off-by: Marek Vasut <marex@nabladev.com>
Link: https://patch.msgid.link/20260415231020.455298-2-marex@nabladev.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
