From 813dfe9756c1616079473d26834f5525a8d8c20b Mon Sep 17 00:00:00 2001 From: chao an Date: Tue, 6 Dec 2022 14:09:44 +0800 Subject: [PATCH] spresense/rndis: set default throttle entries to 24 (2*MTU) Reserve more throttle entries to avoid data discarded in NIC Signed-off-by: chao an --- boards/arm/cxd56xx/spresense/configs/rndis/defconfig | 1 + boards/arm/cxd56xx/spresense/configs/rndis_smp/defconfig | 1 + 2 files changed, 2 insertions(+) diff --git a/boards/arm/cxd56xx/spresense/configs/rndis/defconfig b/boards/arm/cxd56xx/spresense/configs/rndis/defconfig index 99a62a125e..6ce79e935e 100644 --- a/boards/arm/cxd56xx/spresense/configs/rndis/defconfig +++ b/boards/arm/cxd56xx/spresense/configs/rndis/defconfig @@ -62,6 +62,7 @@ CONFIG_I2C=y CONFIG_INIT_ENTRYPOINT="spresense_main" CONFIG_INIT_STACKSIZE=3072 CONFIG_IOB_NBUFFERS=128 +CONFIG_IOB_THROTTLE=24 CONFIG_LIBC_ENVPATH=y CONFIG_LIBC_EXECFUNCS=y CONFIG_MEMCPY_VIK=y diff --git a/boards/arm/cxd56xx/spresense/configs/rndis_smp/defconfig b/boards/arm/cxd56xx/spresense/configs/rndis_smp/defconfig index c317410632..c1e8b6753b 100644 --- a/boards/arm/cxd56xx/spresense/configs/rndis_smp/defconfig +++ b/boards/arm/cxd56xx/spresense/configs/rndis_smp/defconfig @@ -64,6 +64,7 @@ CONFIG_I2C=y CONFIG_INIT_ENTRYPOINT="spresense_main" CONFIG_INIT_STACKSIZE=3072 CONFIG_IOB_NBUFFERS=128 +CONFIG_IOB_THROTTLE=24 CONFIG_LIBC_ENVPATH=y CONFIG_LIBC_EXECFUNCS=y CONFIG_MEMCPY_VIK=y