summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2022-03-18 08:38:25 -0400
committerTom Rini <[email protected]>2022-03-25 12:01:15 +0000
commit0b956e3987bf856add12023e1835bfa9662d13ee (patch)
tree770ead4bcbb92aeb98846c81f63eae04b9bb597b /net
parent6329dda175ef6f2c41991be3fdcfe0b5e091b573 (diff)
Convert CONFIG_SYS_RX_ETH_BUFFER to Kconfig
This converts the following to Kconfig: CONFIG_SYS_RX_ETH_BUFFER Cc: Ramon Fried <[email protected]> Signed-off-by: Tom Rini <[email protected]>
Diffstat (limited to 'net')
-rw-r--r--net/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/net/Kconfig b/net/Kconfig
index af6856f7fc3..ef0aa161f73 100644
--- a/net/Kconfig
+++ b/net/Kconfig
@@ -160,3 +160,12 @@ config BOOTP_SERVERIP
bootp and tftp.
endif # if NET
+
+config SYS_RX_ETH_BUFFER
+ int "Number of receive packet buffers"
+ default 4
+ help
+ Defines the number of Ethernet receive buffers. On some Ethernet
+ controllers it is recommended to set this value to 8 or even higher,
+ since all buffers can be full shortly after enabling the interface on
+ high Ethernet traffic.