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>
This commit is contained in:
Birger Koblitz 2021-09-05 15:13:10 +02:00 committed by John Crispin
parent f887c93be7
commit e88ac0bbd1
1 changed files with 1 additions and 2 deletions

View File

@ -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