From 994362d37add4a251f2d47bc525a8285af526d84 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Tue, 30 May 2023 14:56:43 -0700 Subject: [PATCH] Increase network buffer sizes to fix buffer allocation failures Signed-off-by: Chris Wilson --- 01_IOT/boards/nrf7002dk_nrf5340_cpuapp.conf | 4 ++-- 05_golioth/boards/nrf7002dk_nrf5340_cpuapp.conf | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/01_IOT/boards/nrf7002dk_nrf5340_cpuapp.conf b/01_IOT/boards/nrf7002dk_nrf5340_cpuapp.conf index d4f738e..06ba76b 100644 --- a/01_IOT/boards/nrf7002dk_nrf5340_cpuapp.conf +++ b/01_IOT/boards/nrf7002dk_nrf5340_cpuapp.conf @@ -38,8 +38,8 @@ CONFIG_NET_PKT_TX_COUNT=8 # Below section is the primary contributor to SRAM and is currently # tuned for performance, but this will be revisited in the future. -CONFIG_NET_BUF_RX_COUNT=16 -CONFIG_NET_BUF_TX_COUNT=16 +CONFIG_NET_BUF_RX_COUNT=32 +CONFIG_NET_BUF_TX_COUNT=32 CONFIG_NET_BUF_DATA_SIZE=128 CONFIG_HEAP_MEM_POOL_SIZE=153600 CONFIG_NET_TC_TX_COUNT=0 diff --git a/05_golioth/boards/nrf7002dk_nrf5340_cpuapp.conf b/05_golioth/boards/nrf7002dk_nrf5340_cpuapp.conf index d4f738e..06ba76b 100644 --- a/05_golioth/boards/nrf7002dk_nrf5340_cpuapp.conf +++ b/05_golioth/boards/nrf7002dk_nrf5340_cpuapp.conf @@ -38,8 +38,8 @@ CONFIG_NET_PKT_TX_COUNT=8 # Below section is the primary contributor to SRAM and is currently # tuned for performance, but this will be revisited in the future. -CONFIG_NET_BUF_RX_COUNT=16 -CONFIG_NET_BUF_TX_COUNT=16 +CONFIG_NET_BUF_RX_COUNT=32 +CONFIG_NET_BUF_TX_COUNT=32 CONFIG_NET_BUF_DATA_SIZE=128 CONFIG_HEAP_MEM_POOL_SIZE=153600 CONFIG_NET_TC_TX_COUNT=0