This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new 59bff12  boards: spresense: Update rndis_smp/defconfig
59bff12 is described below

commit 59bff123e69e621d3bd6555d26a483e61a491ee9
Author: Masayuki Ishikawa <[email protected]>
AuthorDate: Mon Aug 2 08:17:56 2021 +0900

    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 <[email protected]>
---
 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 d8f21a0..f50c86c 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

Reply via email to