]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net: axienet: implement NAPI and GRO receive
authorRobert Hancock <robert.hancock@calian.com>
Sat, 5 Mar 2022 02:24:41 +0000 (20:24 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Oct 2024 13:11:07 +0000 (15:11 +0200)
commit3b4b8afd9083c423ac58b38f689c9c2b4ea96979
tree06a66baae93567d5967f980c8a564829c3b3284d
parent635e766e602fa50e6cdca121e3526d717c2e1efa
net: axienet: implement NAPI and GRO receive

[ Upstream commit cc37610caaf8d13a6ecb8afd1fe2ebc2424ff622 ]

Implement NAPI and GRO receive. In addition to better performance, this
also avoids handling RX packets in hard IRQ context, which reduces the
IRQ latency impact to other devices.

Signed-off-by: Robert Hancock <robert.hancock@calian.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Stable-dep-of: 5a6caa2cfabb ("net: xilinx: axienet: Fix packet counting")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/xilinx/xilinx_axienet.h
drivers/net/ethernet/xilinx/xilinx_axienet_main.c