diff options
author | Yuiko Oshino <yuiko.oshino@microchip.com> | 2021-10-28 18:21:05 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-10-29 15:30:20 +0300 |
commit | a1f1627540cde6622d61fca9cd11ea2d98f0c201 (patch) | |
tree | 79d4e19e98243eaaa76f47f6bfb88796960f54ea /drivers | |
parent | 6689d716fded86e5b85309537e2c42945763eeea (diff) | |
download | linux-a1f1627540cde6622d61fca9cd11ea2d98f0c201.tar.xz |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ethernet/microchip/lan743x_main.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/microchip/lan743x_main.h b/drivers/net/ethernet/microchip/lan743x_main.h index 34c22eea0124..aaf7aaeaba0c 100644 --- a/drivers/net/ethernet/microchip/lan743x_main.h +++ b/drivers/net/ethernet/microchip/lan743x_main.h @@ -831,7 +831,7 @@ struct lan743x_rx_buffer_info { unsigned int buffer_length; }; -#define LAN743X_RX_RING_SIZE (65) +#define LAN743X_RX_RING_SIZE (128) #define RX_PROCESS_RESULT_NOTHING_TO_DO (0) #define RX_PROCESS_RESULT_BUFFER_RECEIVED (1) |