From 59bff123e69e621d3bd6555d26a483e61a491ee9 Mon Sep 17 00:00:00 2001 From: Masayuki Ishikawa Date: Mon, 2 Aug 2021 08:17:56 +0900 Subject: [PATCH] boards: spresense: Update rndis_smp/defconfig Summary: - I noticed that the RNDIS networking is unstable when running nxplayer + command execution via telnet - This commit is a workaround to fix this issue by disabling CONFIG_TCP_WRITE_BUFFERS. Also, CONFIG_SENDFILE_BUFSIZE is increased to improve the webserver performance. Impact: - spresense:rndis_smp only Testing: - Tested with nxplayer, telnetd and webserver Signed-off-by: Masayuki Ishikawa --- boards/arm/cxd56xx/spresense/configs/rndis_smp/defconfig | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/boards/arm/cxd56xx/spresense/configs/rndis_smp/defconfig b/boards/arm/cxd56xx/spresense/configs/rndis_smp/defconfig index d8f21a06e5..f50c86c2f9 100644 --- a/boards/arm/cxd56xx/spresense/configs/rndis_smp/defconfig +++ b/boards/arm/cxd56xx/spresense/configs/rndis_smp/defconfig @@ -104,7 +104,6 @@ CONFIG_NET_ROUTE=y CONFIG_NET_STATISTICS=y CONFIG_NET_TCP=y CONFIG_NET_TCPBACKLOG=y -CONFIG_NET_TCP_WRITE_BUFFERS=y CONFIG_NET_UDP=y CONFIG_NFS=y CONFIG_NSH_ARCHINIT=y @@ -132,7 +131,7 @@ CONFIG_RTC_HIRES=y CONFIG_SCHED_HPWORK=y CONFIG_SCHED_LPWORK=y CONFIG_SDCLONE_DISABLE=y -CONFIG_SENDFILE_BUFSIZE=1024 +CONFIG_SENDFILE_BUFSIZE=4096 CONFIG_SMARTFS_ALIGNED_ACCESS=y CONFIG_SMARTFS_MAXNAMLEN=30 CONFIG_SMARTFS_MULTI_ROOT_DIRS=y