net: renesas: rswitch: Use napi_gro_receive() in RX
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Thu, 8 Jun 2023 02:20:06 +0000 (11:20 +0900)
committerDavid S. Miller <davem@davemloft.net>
Sat, 10 Jun 2023 18:49:18 +0000 (19:49 +0100)
commitdc510c6d2ecfff1faaf95b642c5fc01c86d6fdff
tree35478f6af6da95878e027022301e43e7baaf6e6c
parente431e712c83676a8a9cd3988b323e3ef994a8ff3
net: renesas: rswitch: Use napi_gro_receive() in RX

This hardware can receive multiple frames so that using
napi_gro_receive() instead of netif_receive_skb() gets good
performance of RX.

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Reviewed-by: Maciej Fijalkowski <maciej.fijalkowski@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/renesas/rswitch.c