]> Gentwo Git Trees - linux/.git/commit
net: ps3_gelic_net: Use napi_alloc_skb() and napi_gro_receive()
authorFlorian Fuchs <fuchsfl@gmail.com>
Sun, 30 Nov 2025 19:41:55 +0000 (20:41 +0100)
committerJakub Kicinski <kuba@kernel.org>
Tue, 2 Dec 2025 00:54:53 +0000 (16:54 -0800)
commitd8e08149a5ed501d515dbe9f53cc46d25acb4a2a
treeb09c25c693c287e0c6c7f8d1cecc9a462c518b7e
parent3101f3e116452548f1a2da311328543207b10bf8
net: ps3_gelic_net: Use napi_alloc_skb() and napi_gro_receive()

Use the napi functions napi_alloc_skb() and napi_gro_receive() instead
of netdev_alloc_skb() and netif_receive_skb() for more efficient packet
receiving. The switch to napi aware functions increases the RX
throughput, reduces the occurrence of retransmissions and improves the
resilience against SKB allocation failures.

Signed-off-by: Florian Fuchs <fuchsfl@gmail.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Link: https://patch.msgid.link/20251130194155.1950980-1-fuchsfl@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/toshiba/ps3_gelic_net.c