You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "anchao (via GitHub)" <gi...@apache.org> on 2023/01/28 05:47:19 UTC

[GitHub] [nuttx] anchao commented on pull request #7616: net/l2/l3/l4: add support of iob offload

anchao commented on PR #7616:
URL: https://github.com/apache/nuttx/pull/7616#issuecomment-1407301268

   > Do you have any comments on how to fix the issue?
   
   Hi @masayuki2009 san, 
   
   It seems that the enet buffers needs to be adjusted properly, could you please try this change:
   
   ```
   $ git diff .
   diff --git a/boards/arm/imx6/sabre-6quad/configs/netnsh_wb/defconfig b/boards/arm/imx6/sabre-6quad/configs/netnsh_wb/defconfig
   index dae980c4a3..9e008bec33 100644
   --- a/boards/arm/imx6/sabre-6quad/configs/netnsh_wb/defconfig
   +++ b/boards/arm/imx6/sabre-6quad/configs/netnsh_wb/defconfig
   @@ -52,6 +52,8 @@ CONFIG_IDLETHREAD_STACKSIZE=2048
    CONFIG_IMX6_ENET=y
    CONFIG_IMX6_UART1=y
    CONFIG_IMX_DDR_SIZE=1073741824
   +CONFIG_IMX_ENET_NRXBUFFERS=64
   +CONFIG_IMX_ENET_NTXBUFFERS=64
    CONFIG_INIT_FILE=y
    CONFIG_INIT_FILEPATH="/system/bin/nsh"
    CONFIG_INIT_MOUNT=y
   @@ -62,6 +64,9 @@ CONFIG_INIT_MOUNT_SOURCE=""
    CONFIG_INIT_MOUNT_TARGET="/system"
    CONFIG_INIT_STACKSIZE=3072
    CONFIG_INTELHEX_BINARY=y
   +CONFIG_IOB_NBUFFERS=196
   +CONFIG_IOB_NCHAINS=256
   +CONFIG_IOB_THROTTLE=72
    CONFIG_LIBC_ENVPATH=y
    CONFIG_LIBUV=y
    CONFIG_LIBUV_THREAD_STACKSIZE=3072
   ```
   
   and I also found some issues with semephore and workqueue, please try this PR together:
   https://github.com/apache/nuttx/pull/8321


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org