net: ethernet: microchip: lan743x: Increase rx ring size to improve rx performance
authorYuiko Oshino <yuiko.oshino@microchip.com>
Thu, 28 Oct 2021 15:21:05 +0000 (11:21 -0400)
committerDavid S. Miller <davem@davemloft.net>
Fri, 29 Oct 2021 12:30:20 +0000 (13:30 +0100)
commita1f1627540cde6622d61fca9cd11ea2d98f0c201
tree79d4e19e98243eaaa76f47f6bfb88796960f54ea
parent6689d716fded86e5b85309537e2c42945763eeea
net: ethernet: microchip: lan743x: Increase rx ring size to improve rx performance

Increase the rx ring size (LAN743X_RX_RING_SIZE) to improve rx performance on some platforms.
Tested on x86 PC with EVB-LAN7430.
The iperf3.7 TCPIP improved from 881 Mbps to 922 Mbps, and UDP improved from 817 Mbps to 936 Mbps.

Signed-off-by: Yuiko Oshino <yuiko.oshino@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/microchip/lan743x_main.h