drivers: ethernet: sam0: Increase RX buffer count by one
The SAM GMAC driver is not able to use all of the receive buffers concurrently. Frames larger than (buffer size) * (buffer count - 1) are silently dropped. Fix it by adding one to MAIN_QUEUE_RX_DESC_COUNT. Fixes #55701 Signed-off-by: Brandon Del Bel <delbel@umn.edu>
This commit is contained in:
parent
19a4602312
commit
83fc732019
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ BUILD_ASSERT(ARRAY_SIZE(GMAC->GMAC_TBQBAPQ) + 1 == GMAC_QUEUE_NUM,
|
|||
#define GMAC_ACTIVE_PRIORITY_QUEUE_NUM (GMAC_ACTIVE_QUEUE_NUM - 1)
|
||||
|
||||
/** RX descriptors count for main queue */
|
||||
#define MAIN_QUEUE_RX_DESC_COUNT CONFIG_ETH_SAM_GMAC_BUF_RX_COUNT
|
||||
#define MAIN_QUEUE_RX_DESC_COUNT (CONFIG_ETH_SAM_GMAC_BUF_RX_COUNT + 1)
|
||||
/** TX descriptors count for main queue */
|
||||
#define MAIN_QUEUE_TX_DESC_COUNT (CONFIG_NET_BUF_TX_COUNT + 1)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue