You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2023/01/30 05:25:25 UTC

[nuttx] 02/02: boards: imxrt1060-evk: Fix iperf performance for netnsh

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/nuttx.git

commit 2ae8a9600f3eca1381b4f6a9bd033f8831845473
Author: Masayuki Ishikawa <ma...@gmail.com>
AuthorDate: Mon Jan 30 11:59:47 2023 +0900

    boards: imxrt1060-evk: Fix iperf performance for netnsh
    
    Summary:
    - Before: iperf -s 94Mbps, iperf -c 0Mbps
    - After : iperf -s 94Mbps, iperf -c 93Mbps
    
    Impact:
    - Should be none
    
    Testing:
    - Tested with iperf and telnet
    
    Signed-off-by: Masayuki Ishikawa <Ma...@jp.sony.com>
---
 boards/arm/imxrt/imxrt1060-evk/configs/netnsh/defconfig | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/boards/arm/imxrt/imxrt1060-evk/configs/netnsh/defconfig b/boards/arm/imxrt/imxrt1060-evk/configs/netnsh/defconfig
index ccbdd1dcad..d7ffcc4a06 100644
--- a/boards/arm/imxrt/imxrt1060-evk/configs/netnsh/defconfig
+++ b/boards/arm/imxrt/imxrt1060-evk/configs/netnsh/defconfig
@@ -23,10 +23,12 @@ CONFIG_ETH0_PHY_KSZ8081=y
 CONFIG_FS_PROCFS=y
 CONFIG_IDLETHREAD_STACKSIZE=2048
 CONFIG_IMXRT_ENET=y
+CONFIG_IMXRT_ENET_NRXBUFFERS=64
+CONFIG_IMXRT_ENET_NTXBUFFERS=64
 CONFIG_IMXRT_LPUART1=y
 CONFIG_INIT_ENTRYPOINT="nsh_main"
 CONFIG_INTELHEX_BINARY=y
-CONFIG_IOB_NBUFFERS=128
+CONFIG_IOB_BUFSIZE=1514
 CONFIG_LIBC_HOSTNAME="i.MXRT1060 EVK"
 CONFIG_LPUART1_SERIAL_CONSOLE=y
 CONFIG_NET=y