net: renesas: rswitch: Fix unmasking irq condition
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Tue, 12 Sep 2023 01:49:35 +0000 (10:49 +0900)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 14 Sep 2023 08:26:40 +0000 (10:26 +0200)
commite7b1ef29420fe52c2c1a273a9b4b36103a522625
tree49f82c902bbc5720dfc37c19e42e31a5a2abeb86
parentbc6ed2fa24b14e40e1005488bbe11268ce7108fa
net: renesas: rswitch: Fix unmasking irq condition

Fix unmasking irq condition by using napi_complete_done(). Otherwise,
redundant interrupts happen.

Fixes: 3590918b5d07 ("net: ethernet: renesas: Add support for "Ethernet Switch"")
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/renesas/rswitch.c