Home
last modified time | relevance | path

Searched hist:"4 ea83a051838c21eff823450c63174ba7cba9aac" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/ethernet/xilinx/
H A Dxilinx_axienet_main.cdiff 4ea83a051838c21eff823450c63174ba7cba9aac Fri Jul 26 02:06:50 CDT 2024 Andy Chiu <andy.chiu@sifive.com> net: axienet: start napi before enabling Rx/Tx

[ Upstream commit 799a829507506924add8a7620493adc1c3cfda30 ]

softirq may get lost if an Rx interrupt comes before we call
napi_enable. Move napi_enable in front of axienet_setoptions(), which
turns on the device, to address the issue.

Link: https://lists.gnu.org/archive/html/qemu-devel/2024-07/msg06160.html
Fixes: cc37610caaf8 ("net: axienet: implement NAPI and GRO receive")
Signed-off-by: Andy Chiu <andy.chiu@sifive.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>