From ff6c6b2d6d9fc2cadd9bf171f106f8d53ba47496 Mon Sep 17 00:00:00 2001 From: Alex Marginean Date: Wed, 3 Jul 2019 12:11:39 +0300 Subject: [PATCH] include: configs: ls1028a: set SYS_RX_ETH_BUFFER to 8 LS1028A ethernet interfaces work with at least 8 BDs, set number of buffers to match that. Signed-off-by: Alex Marginean Reviewed-by: Bin Meng Acked-by: Joe Hershberger --- include/configs/ls1028a_common.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/configs/ls1028a_common.h b/include/configs/ls1028a_common.h index 896d7a33b5..a6c7c3753d 100644 --- a/include/configs/ls1028a_common.h +++ b/include/configs/ls1028a_common.h @@ -194,4 +194,8 @@ #include #endif +/* Ethernet */ +/* smallest ENETC BD ring has 8 entries */ +#define CONFIG_SYS_RX_ETH_BUFFER 8 + #endif /* __L1028A_COMMON_H */ -- 2.39.5