]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitaa5be1166301ca9a11dd6def3f6a72c8b93916a9
tree79d4e19e98243eaaa76f47f6bfb88796960f54ea
parent6758d3793afa9cf737e136efb118a8618602a0e5
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