diff options
author | Birger Koblitz <git@birger-koblitz.de> | 2021-09-05 15:13:10 +0200 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2021-10-09 08:25:05 +0200 |
commit | e88ac0bbd1099cc7844ad0efe891b9fb5f0e34e2 (patch) | |
tree | 4afe69dfd5517ad0305f1f8dd6f48a9bcb26a1ff | |
parent | f887c93be7edf87b2af2b2db3481473e0f6df832 (diff) | |
download | upstream-e88ac0bbd1099cc7844ad0efe891b9fb5f0e34e2.tar.gz upstream-e88ac0bbd1099cc7844ad0efe891b9fb5f0e34e2.tar.bz2 upstream-e88ac0bbd1099cc7844ad0efe891b9fb5f0e34e2.zip |
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 <git@birger-koblitz.de>
-rw-r--r-- | target/linux/realtek/files-5.10/drivers/net/ethernet/rtl838x_eth.c | 3 |
1 files changed, 1 insertions, 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 ce3574b902..7c3d7c544b 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 |