From e88ac0bbd1099cc7844ad0efe891b9fb5f0e34e2 Mon Sep 17 00:00:00 2001 From: Birger Koblitz Date: Sun, 5 Sep 2021 15:13:10 +0200 Subject: [PATCH] realtek: Correct TX ring size in ethernet driver This enlarges the size of the TX ring buffer, which prevents warnings when the buffer runs out of space. Signed-off-by: Birger Koblitz --- .../realtek/files-5.10/drivers/net/ethernet/rtl838x_eth.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/target/linux/realtek/files-5.10/drivers/net/ethernet/rtl838x_eth.c b/target/linux/realtek/files-5.10/drivers/net/ethernet/rtl838x_eth.c index ce3574b9020..7c3d7c544b1 100644 --- a/target/linux/realtek/files-5.10/drivers/net/ethernet/rtl838x_eth.c +++ b/target/linux/realtek/files-5.10/drivers/net/ethernet/rtl838x_eth.c @@ -37,8 +37,7 @@ extern struct rtl83xx_soc_info soc_info; #define MAX_RXLEN 100 #define MAX_ENTRIES (200 * 8) #define TXRINGS 2 -// BUG: TXRINGLEN can be 160 -#define TXRINGLEN 16 +#define TXRINGLEN 160 #define NOTIFY_EVENTS 10 #define NOTIFY_BLOCKS 10 #define TX_EN 0x8 -- 2.30.2