This is an automated email from the ASF dual-hosted git repository. xiaoxiang781216 pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit 9a4364d3ce5b2fdd8ead81ffd8a913ae4f6b88a6 Author: dongjiuzhu1 <[email protected]> AuthorDate: Mon Dec 29 23:12:59 2025 +0800 iob: eliminate iob_qentry_s resource pool and use pointer low-bit flags. This commit removes the separate iob_qentry_s resource pool and embeds queue management directly into iob_s structures using pointer low-bit flags. This eliminates resource allocation imbalance issues between modules using generic IOB buffers vs mempool-based IOBs. Major changes: 1. Remove CONFIG_IOB_NCHAINS configuration - Eliminates separate qentry resource pool - Queue functionality is now always available - No need for qentry allocation/deallocation 2. Use pointer low-bit flags for queue management - IOB_QCHAIN_END flag stored in io_flink low 2 bits - Zero memory overhead (leverages IOB alignment guarantees) - Macros: IOB_QLINK_GET, IOB_QFLAG_SET, IOB_QFLAG_TEST 3. Simplify queue operations - iob_queue_s now points directly to iob_s structures - Chain boundaries marked by IOB_QCHAIN_END flag - Multiple chains linked through single io_flink field 4. Remove conditional compilation - All #if CONFIG_IOB_NCHAINS > 0 removed - Queue functions always compiled - Cleaner, more maintainable code structure Benefits: - Zero memory overhead per IOB (no additional fields) - Eliminates qentry resource pool exhaustion issues - Prevents allocation imbalance between IOB/qentry pools - Simpler initialization (no qentry pool setup) - Better resource utilization - Code size reduction: -137 lines total Performance considerations: While queue operations now require O(m) traversal to find chain ends (where m is the chain length), this trade-off is acceptable because: - Most chains are short (1-3 IOBs per packet) - Traversal overhead is minimal compared to qentry allocation costs - Eliminated qentry allocation/deallocation lock contention - Removed qentry semaphore wait operations - Overall system stability improved by avoiding resource exhaustion The performance impact of chain traversal is offset by removing qentry management overhead (locks, semaphores, allocation failures). Implementation details: - IOB structures guaranteed 4-byte aligned (verified at init) - Low 2 bits of io_flink always zero, safe for flag storage - Backward compatible with existing IOB chain operations - Updated all queue functions and network module dependencies Signed-off-by: dongjiuzhu1 <[email protected]> --- Documentation/os/memory/iob.rst | 46 ----- boards/arm/am67/t3-gem-o1/configs/netnsh/defconfig | 1 - .../imxrt/imxrt1020-evk/configs/usdhc/defconfig | 1 - .../arm/imxrt/teensy-4.x/configs/enc-4.1/defconfig | 1 - .../arm/imxrt/teensy-4.x/configs/pwm-4.1/defconfig | 1 - .../lc823450-xgevk/configs/krndis/defconfig | 1 - .../raspberrypi-pico-w/configs/telnet/defconfig | 1 - .../pimoroni-pico-plus-2-w/configs/wifi/defconfig | 1 - .../configs/composite/defconfig | 1 - .../raspberrypi-pico-2-w/configs/telnet/defconfig | 1 - .../rtl8720f/rtl8720f_evb/configs/nsh/defconfig | 1 - .../arm/rtl8721dx/pke8721daf/configs/nsh/defconfig | 1 - .../rtl8721f/rtl8721f_evb/configs/nsh/defconfig | 1 - .../rtl8730e/rtl8730e_evb/configs/nsh/defconfig | 1 - .../configs/mrf24j40-starhub/defconfig | 1 - .../samv71-xult/configs/mrf24j40-starhub/defconfig | 1 - .../configs/tcpblaster/defconfig | 1 - .../configs/mrf24j40-6lowpan/defconfig | 1 - .../configs/mrf24j40-starhub/defconfig | 1 - .../configs/mrf24j40-starpoint/defconfig | 1 - .../clicker2-stm32/configs/xbee-6lowpan/defconfig | 1 - .../configs/mrf24j40-6lowpan/defconfig | 1 - boards/arm/stm32f4/omnibusf4/configs/nsh/defconfig | 1 - .../nucleo-h7s3l8/configs/nsh-xip/defconfig | 1 - .../stm32h745i-disco/configs/touchtest/defconfig | 1 - .../stm32h7/stm32h7s8-dk/configs/nsh-xip/defconfig | 1 - .../configs/spirit-6lowpan/defconfig | 1 - .../configs/spirit-starhub/defconfig | 1 - .../configs/spirit-starpoint/defconfig | 1 - boards/arm64/qemu/qemu-armv8a/configs/fb/defconfig | 1 - .../risc-v/bl602/bl602evb/configs/wifi/defconfig | 1 - .../esp32c3-devkit/configs/nimble/defconfig | 1 - .../esp32c3/esp32c3-xiao/configs/nimble/defconfig | 1 - .../esp32c3/esp32c3-xiao/configs/smartfs/defconfig | 1 - .../risc-v/mpfs/icicle/configs/rpmsg-ch1/defconfig | 1 - .../risc-v/mpfs/icicle/configs/rpmsg-ch2/defconfig | 1 - .../qemu-rv/rv-virt/configs/citest/defconfig | 1 - boards/risc-v/qemu-rv/rv-virt/configs/fb/defconfig | 1 - .../risc-v/qemu-rv/rv-virt/configs/fb64/defconfig | 1 - .../rv-virt/configs/lvgl64_vector/defconfig | 1 - boards/sim/sim/sim/configs/bridge/defconfig | 1 - boards/sim/sim/sim/configs/citest/defconfig | 1 - boards/sim/sim/sim/configs/rtptools/defconfig | 1 - boards/sim/sim/sim/configs/tcpblaster/defconfig | 1 - boards/sim/sim/sim/configs/usbdev/defconfig | 1 - .../qemu/qemu-intel64/configs/citest_smp/defconfig | 1 - .../qemu/qemu-intel64/configs/jumbo/defconfig | 1 - .../qemu-intel64/configs/nsh_pci_smp/defconfig | 1 - .../esp32/esp32-audio-kit/configs/audio/defconfig | 1 - .../esp32/esp32-audio-kit/configs/wifi/defconfig | 1 - .../esp32/esp32-devkitc/configs/audio/defconfig | 1 - .../esp32/esp32-devkitc/configs/autopm/defconfig | 1 - .../esp32/esp32-devkitc/configs/blewifi/defconfig | 1 - .../configs/mcuboot_update_agent/defconfig | 1 - .../esp32/esp32-devkitc/configs/mqttc/defconfig | 1 - .../esp32/esp32-devkitc/configs/nxlooper/defconfig | 1 - .../esp32/esp32-devkitc/configs/psram/defconfig | 1 - .../esp32-devkitc/configs/psram_usrheap/defconfig | 1 - .../esp32/esp32-devkitc/configs/softap/defconfig | 1 - .../esp32-devkitc/configs/sta_softap/defconfig | 1 - .../configs/wamr_wasi_debug/defconfig | 1 - .../esp32/esp32-devkitc/configs/wifi/defconfig | 1 - .../esp32/esp32-devkitc/configs/wifi_smp/defconfig | 1 - .../esp32/esp32-devkitc/configs/wifinsh/defconfig | 1 - .../esp32-devkitc/configs/wifishare/defconfig | 1 - .../esp32-ethernet-kit/configs/autopm/defconfig | 1 - .../esp32-ethernet-kit/configs/wifi/defconfig | 1 - .../esp32/esp32-lyrat/configs/audio/defconfig | 1 - .../esp32/esp32-lyrat/configs/rtptools/defconfig | 1 - .../esp32/esp32-lyrat/configs/wifi/defconfig | 1 - .../esp32-sparrow-kit/configs/mqttc/defconfig | 1 - .../esp32/esp32-sparrow-kit/configs/wifi/defconfig | 1 - .../esp32-wrover-kit/configs/autopm/defconfig | 1 - .../esp32/esp32-wrover-kit/configs/wifi/defconfig | 1 - .../configs/mcuboot_update_agent/defconfig | 1 - .../esp32s2-saola-1/configs/sta_softap/defconfig | 1 - .../esp32s2/esp32s2-saola-1/configs/wifi/defconfig | 1 - .../esp32s3/esp32s3-devkit/configs/audio/defconfig | 1 - .../esp32s3/esp32s3-devkit/configs/ble/defconfig | 1 - .../esp32s3-devkit/configs/blewifi/defconfig | 1 - .../esp32s3-devkit/configs/fastboot/defconfig | 1 - .../esp32s3-devkit/configs/fastboot_tcp/defconfig | 1 - .../esp32s3-devkit/configs/ksta_softap/defconfig | 1 - .../esp32s3-devkit/configs/mbedtls/defconfig | 1 - .../configs/mcuboot_update_agent/defconfig | 1 - .../esp32s3-devkit/configs/psram_usrheap/defconfig | 1 - .../esp32s3-devkit/configs/python/defconfig | 1 - .../esp32s3-devkit/configs/qemu_debug/defconfig | 1 - .../esp32s3-devkit/configs/qemu_toywasm/defconfig | 1 - .../esp32s3-devkit/configs/sta_softap/defconfig | 1 - .../esp32s3-devkit/configs/toywasm/defconfig | 1 - .../esp32s3/esp32s3-devkit/configs/wifi/defconfig | 1 - .../esp32s3/esp32s3-eye/configs/wifi/defconfig | 1 - .../esp32s3-korvo-2/configs/audio/defconfig | 1 - .../esp32s3-korvo-2/configs/rtptools/defconfig | 1 - .../esp32s3/esp32s3-lcd-ev/configs/audio/defconfig | 1 - .../configs/lvglterm/defconfig | 1 - .../esp32s3-m5-cardputer/configs/softap/defconfig | 1 - .../esp32s3-m5-cardputer/configs/wifi/defconfig | 1 - .../lckfb-szpi-esp32s3/configs/fastboot/defconfig | 1 - .../configs/fastboot_tcp/defconfig | 1 - .../lckfb-szpi-esp32s3/configs/vncviewer/defconfig | 1 - drivers/net/netdev_upperhalf.c | 12 -- include/nuttx/mm/iob.h | 71 +++---- mm/iob/CMakeLists.txt | 2 - mm/iob/Kconfig | 18 -- mm/iob/Make.defs | 5 +- mm/iob/iob.h | 52 ----- mm/iob/iob_add_queue.c | 124 +++++------- mm/iob/iob_alloc_qentry.c | 221 --------------------- mm/iob/iob_free_qentry.c | 91 --------- mm/iob/iob_free_queue.c | 49 +++-- mm/iob/iob_free_queue_qentry.c | 71 ++++--- mm/iob/iob_get_queue_info.c | 54 +++-- mm/iob/iob_initialize.c | 44 +--- mm/iob/iob_peek_queue.c | 22 +- mm/iob/iob_remove_queue.c | 41 ++-- mm/iob/iob_trimhead_queue.c | 30 +-- net/arp/Kconfig | 1 - net/ipfrag/Kconfig | 2 +- 120 files changed, 223 insertions(+), 834 deletions(-) diff --git a/Documentation/os/memory/iob.rst b/Documentation/os/memory/iob.rst index e238ea157e8..64ea3c0de0b 100644 --- a/Documentation/os/memory/iob.rst +++ b/Documentation/os/memory/iob.rst @@ -46,19 +46,6 @@ Configuration Options series of small I/O buffers in a chain. This setting determines the data payload each preallocated I/O buffer. The default value is 196 bytes. -``CONFIG_IOB_NCHAINS`` - Number of pre-allocated I/O buffer chain heads. These tiny - nodes are used as *containers* to support queueing of I/O - buffer chains. This will limit the number of I/O transactions - that can be *in-flight* at any give time. The default value of - zero disables this features. - These generic I/O buffer chain containers are not currently - used by any logic in NuttX. That is because their other other - specialized I/O buffer chain containers that also carry a - payload of usage specific information. The default value is - zero if nether TCP nor UDP is enabled (i.e., neither - ``CONFIG_NET_TCP`` && !\ ``CONFIG_NET_UDP`` or eight if either - is enabled. ``CONFIG_IOB_THROTTLE`` I/O buffer throttle value. TCP write buffering and read-ahead buffer use the same pool of free I/O buffers. In order to @@ -118,39 +105,6 @@ valid for the I/O buffer at the head of the chain. uint8_t io_data[CONFIG_IOB_BUFSIZE]; }; -This container structure supports queuing of I/O buffer chains. -This structure is intended only for internal use by the IOB -module. - -.. code-block:: c - - #if CONFIG_IOB_NCHAINS > 0 - struct iob_qentry_s - { - /* Singly-link list support */ - - FAR struct iob_qentry_s *qe_flink; - - /* Payload -- Head of the I/O buffer chain */ - - FAR struct iob_s *qe_head; - }; - #endif /* CONFIG_IOB_NCHAINS > 0 */ - -The I/O buffer queue head structure. - -.. code-block:: c - - #if CONFIG_IOB_NCHAINS > 0 - struct iob_queue_s - { - /* Head of the I/O buffer chain list */ - - FAR struct iob_qentry_s *qh_head; - FAR struct iob_qentry_s *qh_tail; - }; - #endif /* CONFIG_IOB_NCHAINS > 0 */ - Public Function Prototypes ========================== diff --git a/boards/arm/am67/t3-gem-o1/configs/netnsh/defconfig b/boards/arm/am67/t3-gem-o1/configs/netnsh/defconfig index 707e5b57707..f27d883c7e4 100644 --- a/boards/arm/am67/t3-gem-o1/configs/netnsh/defconfig +++ b/boards/arm/am67/t3-gem-o1/configs/netnsh/defconfig @@ -41,7 +41,6 @@ CONFIG_HAVE_CXXINITIALIZE=y CONFIG_I2C=y CONFIG_INIT_ENTRYPOINT="nsh_main" CONFIG_IOB_NBUFFERS=36 -CONFIG_IOB_NCHAINS=8 CONFIG_NET=y CONFIG_NETDEV_LATEINIT=y CONFIG_NET_ETH_PKTSIZE=1514 diff --git a/boards/arm/imxrt/imxrt1020-evk/configs/usdhc/defconfig b/boards/arm/imxrt/imxrt1020-evk/configs/usdhc/defconfig index d19e639efe1..0f79ae8071f 100644 --- a/boards/arm/imxrt/imxrt1020-evk/configs/usdhc/defconfig +++ b/boards/arm/imxrt/imxrt1020-evk/configs/usdhc/defconfig @@ -38,7 +38,6 @@ CONFIG_IMXRT_USDHC1_WIDTH_D1_D4=y CONFIG_INIT_ENTRYPOINT="nsh_main" CONFIG_INTELHEX_BINARY=y CONFIG_IOB_NBUFFERS=24 -CONFIG_IOB_NCHAINS=8 CONFIG_LIBC_STRERROR=y CONFIG_LINE_MAX=64 CONFIG_LPUART1_RXBUFSIZE=1024 diff --git a/boards/arm/imxrt/teensy-4.x/configs/enc-4.1/defconfig b/boards/arm/imxrt/teensy-4.x/configs/enc-4.1/defconfig index ba5bb0d70d6..21d65976023 100644 --- a/boards/arm/imxrt/teensy-4.x/configs/enc-4.1/defconfig +++ b/boards/arm/imxrt/teensy-4.x/configs/enc-4.1/defconfig @@ -26,7 +26,6 @@ CONFIG_IMXRT_LPUART1=y CONFIG_INIT_ENTRYPOINT="nsh_main" CONFIG_INTELHEX_BINARY=y CONFIG_IOB_NBUFFERS=24 -CONFIG_IOB_NCHAINS=24 CONFIG_LINE_MAX=64 CONFIG_LPUART1_SERIAL_CONSOLE=y CONFIG_MM_IOB=y diff --git a/boards/arm/imxrt/teensy-4.x/configs/pwm-4.1/defconfig b/boards/arm/imxrt/teensy-4.x/configs/pwm-4.1/defconfig index ef402bffd3b..04b6f251590 100644 --- a/boards/arm/imxrt/teensy-4.x/configs/pwm-4.1/defconfig +++ b/boards/arm/imxrt/teensy-4.x/configs/pwm-4.1/defconfig @@ -32,7 +32,6 @@ CONFIG_IMXRT_LPUART1=y CONFIG_INIT_ENTRYPOINT="nsh_main" CONFIG_INTELHEX_BINARY=y CONFIG_IOB_NBUFFERS=24 -CONFIG_IOB_NCHAINS=24 CONFIG_LINE_MAX=64 CONFIG_LPUART1_SERIAL_CONSOLE=y CONFIG_MM_IOB=y diff --git a/boards/arm/lc823450/lc823450-xgevk/configs/krndis/defconfig b/boards/arm/lc823450/lc823450-xgevk/configs/krndis/defconfig index 82cd610e1db..1ed2a94ba66 100644 --- a/boards/arm/lc823450/lc823450-xgevk/configs/krndis/defconfig +++ b/boards/arm/lc823450/lc823450-xgevk/configs/krndis/defconfig @@ -60,7 +60,6 @@ CONFIG_INIT_STACKSIZE=3072 CONFIG_INTELHEX_BINARY=y CONFIG_IOB_BUFSIZE=128 CONFIG_IOB_NBUFFERS=64 -CONFIG_IOB_NCHAINS=10 CONFIG_LC823450_I2C0=y CONFIG_LC823450_I2C1=y CONFIG_LC823450_I2S0=y diff --git a/boards/arm/rp2040/raspberrypi-pico-w/configs/telnet/defconfig b/boards/arm/rp2040/raspberrypi-pico-w/configs/telnet/defconfig index 939849ea18b..c4a4b94e2f1 100644 --- a/boards/arm/rp2040/raspberrypi-pico-w/configs/telnet/defconfig +++ b/boards/arm/rp2040/raspberrypi-pico-w/configs/telnet/defconfig @@ -40,7 +40,6 @@ CONFIG_IEEE80211_BROADCOM_FULLMAC_GSPI=y CONFIG_IEEE80211_INFINEON_CYW43439=y CONFIG_INIT_ENTRYPOINT="nsh_main" CONFIG_IOB_NBUFFERS=196 -CONFIG_IOB_NCHAINS=24 CONFIG_LIBC_FLOATINGPOINT=y CONFIG_MM_BACKTRACE=0 CONFIG_NDEBUG=y diff --git a/boards/arm/rp23xx/pimoroni-pico-plus-2-w/configs/wifi/defconfig b/boards/arm/rp23xx/pimoroni-pico-plus-2-w/configs/wifi/defconfig index aea2230382f..8f809e78e70 100644 --- a/boards/arm/rp23xx/pimoroni-pico-plus-2-w/configs/wifi/defconfig +++ b/boards/arm/rp23xx/pimoroni-pico-plus-2-w/configs/wifi/defconfig @@ -45,7 +45,6 @@ CONFIG_INPUT=y CONFIG_INPUT_BUTTONS=y CONFIG_INPUT_BUTTONS_LOWER=y CONFIG_IOB_NBUFFERS=196 -CONFIG_IOB_NCHAINS=24 CONFIG_NET=y CONFIG_NETDB_DNSCLIENT=y CONFIG_NETDB_DNSCLIENT_RECV_TIMEOUT=3 diff --git a/boards/arm/rp23xx/raspberrypi-pico-2-w/configs/composite/defconfig b/boards/arm/rp23xx/raspberrypi-pico-2-w/configs/composite/defconfig index ec1e8650a0f..259ab2157f7 100644 --- a/boards/arm/rp23xx/raspberrypi-pico-2-w/configs/composite/defconfig +++ b/boards/arm/rp23xx/raspberrypi-pico-2-w/configs/composite/defconfig @@ -39,7 +39,6 @@ CONFIG_FS_PROCFS=y CONFIG_FS_PROCFS_REGISTER=y CONFIG_INIT_ENTRYPOINT="nsh_main" CONFIG_IOB_NBUFFERS=196 -CONFIG_IOB_NCHAINS=24 CONFIG_NET=y CONFIG_NETDEV_LATEINIT=y CONFIG_NETINIT_NOMAC=y diff --git a/boards/arm/rp23xx/raspberrypi-pico-2-w/configs/telnet/defconfig b/boards/arm/rp23xx/raspberrypi-pico-2-w/configs/telnet/defconfig index 9cd72d790ba..3d6f7320f3b 100644 --- a/boards/arm/rp23xx/raspberrypi-pico-2-w/configs/telnet/defconfig +++ b/boards/arm/rp23xx/raspberrypi-pico-2-w/configs/telnet/defconfig @@ -38,7 +38,6 @@ CONFIG_IEEE80211_BROADCOM_FULLMAC_GSPI=y CONFIG_IEEE80211_INFINEON_CYW43439=y CONFIG_INIT_ENTRYPOINT="nsh_main" CONFIG_IOB_NBUFFERS=196 -CONFIG_IOB_NCHAINS=24 CONFIG_NET=y CONFIG_NETDB_DNSCLIENT=y CONFIG_NETDB_DNSCLIENT_RECV_TIMEOUT=3 diff --git a/boards/arm/rtl8720f/rtl8720f_evb/configs/nsh/defconfig b/boards/arm/rtl8720f/rtl8720f_evb/configs/nsh/defconfig index 6b05e3fe9a4..778be8a6509 100644 --- a/boards/arm/rtl8720f/rtl8720f_evb/configs/nsh/defconfig +++ b/boards/arm/rtl8720f/rtl8720f_evb/configs/nsh/defconfig @@ -30,7 +30,6 @@ CONFIG_IDLETHREAD_STACKSIZE=4096 CONFIG_INIT_ENTRYPOINT="nsh_main" CONFIG_IOB_BUFSIZE=512 CONFIG_IOB_NBUFFERS=100 -CONFIG_IOB_NCHAINS=36 CONFIG_IOB_THROTTLE=40 CONFIG_LIBC_MEMFD_ERROR=y CONFIG_MM_DEFAULT_ALIGNMENT=32 diff --git a/boards/arm/rtl8721dx/pke8721daf/configs/nsh/defconfig b/boards/arm/rtl8721dx/pke8721daf/configs/nsh/defconfig index 34a2bafc439..322db0fc943 100644 --- a/boards/arm/rtl8721dx/pke8721daf/configs/nsh/defconfig +++ b/boards/arm/rtl8721dx/pke8721daf/configs/nsh/defconfig @@ -30,7 +30,6 @@ CONFIG_IDLETHREAD_STACKSIZE=4096 CONFIG_INIT_ENTRYPOINT="nsh_main" CONFIG_IOB_BUFSIZE=512 CONFIG_IOB_NBUFFERS=100 -CONFIG_IOB_NCHAINS=36 CONFIG_IOB_THROTTLE=40 CONFIG_LIBC_MEMFD_ERROR=y CONFIG_MM_DEFAULT_ALIGNMENT=32 diff --git a/boards/arm/rtl8721f/rtl8721f_evb/configs/nsh/defconfig b/boards/arm/rtl8721f/rtl8721f_evb/configs/nsh/defconfig index abfacc8a80e..7b65ecd7aa7 100644 --- a/boards/arm/rtl8721f/rtl8721f_evb/configs/nsh/defconfig +++ b/boards/arm/rtl8721f/rtl8721f_evb/configs/nsh/defconfig @@ -30,7 +30,6 @@ CONFIG_IDLETHREAD_STACKSIZE=4096 CONFIG_INIT_ENTRYPOINT="nsh_main" CONFIG_IOB_BUFSIZE=512 CONFIG_IOB_NBUFFERS=100 -CONFIG_IOB_NCHAINS=36 CONFIG_IOB_THROTTLE=40 CONFIG_LIBC_MEMFD_ERROR=y CONFIG_MM_DEFAULT_ALIGNMENT=32 diff --git a/boards/arm/rtl8730e/rtl8730e_evb/configs/nsh/defconfig b/boards/arm/rtl8730e/rtl8730e_evb/configs/nsh/defconfig index 7c6b79af880..ea442ed1f77 100644 --- a/boards/arm/rtl8730e/rtl8730e_evb/configs/nsh/defconfig +++ b/boards/arm/rtl8730e/rtl8730e_evb/configs/nsh/defconfig @@ -39,7 +39,6 @@ CONFIG_IDLETHREAD_STACKSIZE=4096 CONFIG_INIT_ENTRYPOINT="nsh_main" CONFIG_IOB_BUFSIZE=512 CONFIG_IOB_NBUFFERS=100 -CONFIG_IOB_NCHAINS=36 CONFIG_IOB_THROTTLE=40 CONFIG_LIBC_MEMFD_ERROR=y CONFIG_MM_DEFAULT_ALIGNMENT=64 diff --git a/boards/arm/samv7/same70-xplained/configs/mrf24j40-starhub/defconfig b/boards/arm/samv7/same70-xplained/configs/mrf24j40-starhub/defconfig index b2217c49d47..972c301659e 100644 --- a/boards/arm/samv7/same70-xplained/configs/mrf24j40-starhub/defconfig +++ b/boards/arm/samv7/same70-xplained/configs/mrf24j40-starhub/defconfig @@ -51,7 +51,6 @@ CONFIG_INIT_ENTRYPOINT="nsh_main" CONFIG_INTELHEX_BINARY=y CONFIG_IOB_BUFSIZE=128 CONFIG_IOB_NBUFFERS=32 -CONFIG_IOB_NCHAINS=16 CONFIG_LIBC_HOSTNAME="MRF24J40-Hub" CONFIG_LINE_MAX=64 CONFIG_MAC802154_NTXDESC=32 diff --git a/boards/arm/samv7/samv71-xult/configs/mrf24j40-starhub/defconfig b/boards/arm/samv7/samv71-xult/configs/mrf24j40-starhub/defconfig index f6553ac4c33..a988d7daec2 100644 --- a/boards/arm/samv7/samv71-xult/configs/mrf24j40-starhub/defconfig +++ b/boards/arm/samv7/samv71-xult/configs/mrf24j40-starhub/defconfig @@ -52,7 +52,6 @@ CONFIG_INIT_ENTRYPOINT="nsh_main" CONFIG_INTELHEX_BINARY=y CONFIG_IOB_BUFSIZE=128 CONFIG_IOB_NBUFFERS=32 -CONFIG_IOB_NCHAINS=16 CONFIG_LIBC_HOSTNAME="MRF24J40-Hub" CONFIG_LINE_MAX=64 CONFIG_MAC802154_NTXDESC=32 diff --git a/boards/arm/stm32f1/viewtool-stm32f107/configs/tcpblaster/defconfig b/boards/arm/stm32f1/viewtool-stm32f107/configs/tcpblaster/defconfig index 0feae7117d3..371d259e0da 100644 --- a/boards/arm/stm32f1/viewtool-stm32f107/configs/tcpblaster/defconfig +++ b/boards/arm/stm32f1/viewtool-stm32f107/configs/tcpblaster/defconfig @@ -23,7 +23,6 @@ CONFIG_FS_PROCFS=y CONFIG_INIT_ENTRYPOINT="nsh_main" CONFIG_INTELHEX_BINARY=y CONFIG_IOB_NBUFFERS=50 -CONFIG_IOB_NCHAINS=12 CONFIG_LIBC_HOSTNAME="Viewtool-STM32F107" CONFIG_LIBM=y CONFIG_NET=y diff --git a/boards/arm/stm32f4/clicker2-stm32/configs/mrf24j40-6lowpan/defconfig b/boards/arm/stm32f4/clicker2-stm32/configs/mrf24j40-6lowpan/defconfig index d468e8c135b..2b54bd95a82 100644 --- a/boards/arm/stm32f4/clicker2-stm32/configs/mrf24j40-6lowpan/defconfig +++ b/boards/arm/stm32f4/clicker2-stm32/configs/mrf24j40-6lowpan/defconfig @@ -59,7 +59,6 @@ CONFIG_INIT_ENTRYPOINT="nsh_main" CONFIG_INTELHEX_BINARY=y CONFIG_IOB_BUFSIZE=128 CONFIG_IOB_NBUFFERS=32 -CONFIG_IOB_NCHAINS=16 CONFIG_LIBC_HOSTNAME="MRF24J40" CONFIG_LINE_MAX=64 CONFIG_MAC802154_NTXDESC=32 diff --git a/boards/arm/stm32f4/clicker2-stm32/configs/mrf24j40-starhub/defconfig b/boards/arm/stm32f4/clicker2-stm32/configs/mrf24j40-starhub/defconfig index 9906db1241a..c1b0bd5ec9a 100644 --- a/boards/arm/stm32f4/clicker2-stm32/configs/mrf24j40-starhub/defconfig +++ b/boards/arm/stm32f4/clicker2-stm32/configs/mrf24j40-starhub/defconfig @@ -42,7 +42,6 @@ CONFIG_INIT_ENTRYPOINT="nsh_main" CONFIG_INTELHEX_BINARY=y CONFIG_IOB_BUFSIZE=128 CONFIG_IOB_NBUFFERS=32 -CONFIG_IOB_NCHAINS=16 CONFIG_LIBC_HOSTNAME="MRF24J40" CONFIG_LINE_MAX=64 CONFIG_MAC802154_NTXDESC=32 diff --git a/boards/arm/stm32f4/clicker2-stm32/configs/mrf24j40-starpoint/defconfig b/boards/arm/stm32f4/clicker2-stm32/configs/mrf24j40-starpoint/defconfig index 6f66c0144f9..41a464eeefa 100644 --- a/boards/arm/stm32f4/clicker2-stm32/configs/mrf24j40-starpoint/defconfig +++ b/boards/arm/stm32f4/clicker2-stm32/configs/mrf24j40-starpoint/defconfig @@ -59,7 +59,6 @@ CONFIG_INIT_ENTRYPOINT="nsh_main" CONFIG_INTELHEX_BINARY=y CONFIG_IOB_BUFSIZE=128 CONFIG_IOB_NBUFFERS=32 -CONFIG_IOB_NCHAINS=16 CONFIG_LIBC_HOSTNAME="MRF24J40" CONFIG_LINE_MAX=64 CONFIG_MAC802154_NTXDESC=32 diff --git a/boards/arm/stm32f4/clicker2-stm32/configs/xbee-6lowpan/defconfig b/boards/arm/stm32f4/clicker2-stm32/configs/xbee-6lowpan/defconfig index 853fec364b7..df70f511127 100644 --- a/boards/arm/stm32f4/clicker2-stm32/configs/xbee-6lowpan/defconfig +++ b/boards/arm/stm32f4/clicker2-stm32/configs/xbee-6lowpan/defconfig @@ -57,7 +57,6 @@ CONFIG_INIT_ENTRYPOINT="nsh_main" CONFIG_INTELHEX_BINARY=y CONFIG_IOB_BUFSIZE=128 CONFIG_IOB_NBUFFERS=32 -CONFIG_IOB_NCHAINS=16 CONFIG_LIBC_HOSTNAME="XBee" CONFIG_LINE_MAX=64 CONFIG_NET=y diff --git a/boards/arm/stm32f4/olimex-stm32-e407/configs/mrf24j40-6lowpan/defconfig b/boards/arm/stm32f4/olimex-stm32-e407/configs/mrf24j40-6lowpan/defconfig index 44eab998857..050cdca9a99 100644 --- a/boards/arm/stm32f4/olimex-stm32-e407/configs/mrf24j40-6lowpan/defconfig +++ b/boards/arm/stm32f4/olimex-stm32-e407/configs/mrf24j40-6lowpan/defconfig @@ -47,7 +47,6 @@ CONFIG_INIT_ENTRYPOINT="nsh_main" CONFIG_INTELHEX_BINARY=y CONFIG_IOB_BUFSIZE=128 CONFIG_IOB_NBUFFERS=32 -CONFIG_IOB_NCHAINS=16 CONFIG_LINE_MAX=64 CONFIG_MAC802154_NTXDESC=32 CONFIG_MM_REGIONS=2 diff --git a/boards/arm/stm32f4/omnibusf4/configs/nsh/defconfig b/boards/arm/stm32f4/omnibusf4/configs/nsh/defconfig index 848febabe21..b47e733ef8d 100644 --- a/boards/arm/stm32f4/omnibusf4/configs/nsh/defconfig +++ b/boards/arm/stm32f4/omnibusf4/configs/nsh/defconfig @@ -45,7 +45,6 @@ CONFIG_HAVE_CXXINITIALIZE=y CONFIG_INIT_ENTRYPOINT="nsh_main" CONFIG_INTELHEX_BINARY=y CONFIG_IOB_NBUFFERS=24 -CONFIG_IOB_NCHAINS=8 CONFIG_LIBC_HOSTNAME="omnibusf4" CONFIG_LIBM=y CONFIG_LINE_MAX=64 diff --git a/boards/arm/stm32h7/nucleo-h7s3l8/configs/nsh-xip/defconfig b/boards/arm/stm32h7/nucleo-h7s3l8/configs/nsh-xip/defconfig index ce626029b1b..1576d02b8d7 100644 --- a/boards/arm/stm32h7/nucleo-h7s3l8/configs/nsh-xip/defconfig +++ b/boards/arm/stm32h7/nucleo-h7s3l8/configs/nsh-xip/defconfig @@ -28,7 +28,6 @@ CONFIG_INIT_ENTRYPOINT="nsh_main" CONFIG_INIT_STACKSIZE=1536 CONFIG_INTELHEX_BINARY=y CONFIG_IOB_NBUFFERS=24 -CONFIG_IOB_NCHAINS=24 CONFIG_MM_IOB=y CONFIG_NSH_BUILTIN_APPS=y CONFIG_NSH_FILEIOSIZE=512 diff --git a/boards/arm/stm32h7/stm32h745i-disco/configs/touchtest/defconfig b/boards/arm/stm32h7/stm32h745i-disco/configs/touchtest/defconfig index 665a08ff3b2..5a0d146abed 100644 --- a/boards/arm/stm32h7/stm32h745i-disco/configs/touchtest/defconfig +++ b/boards/arm/stm32h7/stm32h745i-disco/configs/touchtest/defconfig @@ -34,7 +34,6 @@ CONFIG_INPUT=y CONFIG_INPUT_FT5X06=y CONFIG_INTELHEX_BINARY=y CONFIG_IOB_NBUFFERS=24 -CONFIG_IOB_NCHAINS=24 CONFIG_LINE_MAX=64 CONFIG_MM_IOB=y CONFIG_MM_REGIONS=4 diff --git a/boards/arm/stm32h7/stm32h7s8-dk/configs/nsh-xip/defconfig b/boards/arm/stm32h7/stm32h7s8-dk/configs/nsh-xip/defconfig index 6df01eae2c5..1cbf624f584 100644 --- a/boards/arm/stm32h7/stm32h7s8-dk/configs/nsh-xip/defconfig +++ b/boards/arm/stm32h7/stm32h7s8-dk/configs/nsh-xip/defconfig @@ -33,7 +33,6 @@ CONFIG_INPUT_BUTTONS=y CONFIG_INPUT_BUTTONS_LOWER=y CONFIG_INTELHEX_BINARY=y CONFIG_IOB_NBUFFERS=24 -CONFIG_IOB_NCHAINS=24 CONFIG_MM_IOB=y CONFIG_NSH_BUILTIN_APPS=y CONFIG_NSH_FILEIOSIZE=512 diff --git a/boards/arm/stm32l4/b-l475e-iot01a/configs/spirit-6lowpan/defconfig b/boards/arm/stm32l4/b-l475e-iot01a/configs/spirit-6lowpan/defconfig index 3ad6b86f7b6..efbfc74e713 100644 --- a/boards/arm/stm32l4/b-l475e-iot01a/configs/spirit-6lowpan/defconfig +++ b/boards/arm/stm32l4/b-l475e-iot01a/configs/spirit-6lowpan/defconfig @@ -45,7 +45,6 @@ CONFIG_INIT_ENTRYPOINT="nsh_main" CONFIG_INTELHEX_BINARY=y CONFIG_IOB_BUFSIZE=94 CONFIG_IOB_NBUFFERS=32 -CONFIG_IOB_NCHAINS=16 CONFIG_LIBC_HOSTNAME="B-L475E-IOT01A" CONFIG_LIBM=y CONFIG_LINE_MAX=64 diff --git a/boards/arm/stm32l4/b-l475e-iot01a/configs/spirit-starhub/defconfig b/boards/arm/stm32l4/b-l475e-iot01a/configs/spirit-starhub/defconfig index fe4ac62a657..fe60afa1fc1 100644 --- a/boards/arm/stm32l4/b-l475e-iot01a/configs/spirit-starhub/defconfig +++ b/boards/arm/stm32l4/b-l475e-iot01a/configs/spirit-starhub/defconfig @@ -34,7 +34,6 @@ CONFIG_INIT_ENTRYPOINT="nsh_main" CONFIG_INTELHEX_BINARY=y CONFIG_IOB_BUFSIZE=94 CONFIG_IOB_NBUFFERS=32 -CONFIG_IOB_NCHAINS=16 CONFIG_LIBC_HOSTNAME="B-L475E-IOT01A" CONFIG_LIBM=y CONFIG_LINE_MAX=64 diff --git a/boards/arm/stm32l4/b-l475e-iot01a/configs/spirit-starpoint/defconfig b/boards/arm/stm32l4/b-l475e-iot01a/configs/spirit-starpoint/defconfig index de16e10426d..45f39aefa99 100644 --- a/boards/arm/stm32l4/b-l475e-iot01a/configs/spirit-starpoint/defconfig +++ b/boards/arm/stm32l4/b-l475e-iot01a/configs/spirit-starpoint/defconfig @@ -46,7 +46,6 @@ CONFIG_INIT_ENTRYPOINT="nsh_main" CONFIG_INTELHEX_BINARY=y CONFIG_IOB_BUFSIZE=94 CONFIG_IOB_NBUFFERS=32 -CONFIG_IOB_NCHAINS=16 CONFIG_LIBC_HOSTNAME="B-L475E-IOT01A" CONFIG_LIBM=y CONFIG_LINE_MAX=64 diff --git a/boards/arm64/qemu/qemu-armv8a/configs/fb/defconfig b/boards/arm64/qemu/qemu-armv8a/configs/fb/defconfig index a5b22390448..0b5dc963883 100644 --- a/boards/arm64/qemu/qemu-armv8a/configs/fb/defconfig +++ b/boards/arm64/qemu/qemu-armv8a/configs/fb/defconfig @@ -45,7 +45,6 @@ CONFIG_INTELHEX_BINARY=y CONFIG_IOB_ALIGNMENT=16 CONFIG_IOB_BUFSIZE=1534 CONFIG_IOB_NBUFFERS=64 -CONFIG_IOB_NCHAINS=64 CONFIG_IOB_THROTTLE=8 CONFIG_LIBC_EXECFUNCS=y CONFIG_MM_IOB=y diff --git a/boards/risc-v/bl602/bl602evb/configs/wifi/defconfig b/boards/risc-v/bl602/bl602evb/configs/wifi/defconfig index 093658e4bac..7f4bf469010 100644 --- a/boards/risc-v/bl602/bl602evb/configs/wifi/defconfig +++ b/boards/risc-v/bl602/bl602evb/configs/wifi/defconfig @@ -65,7 +65,6 @@ CONFIG_INIT_STACKSIZE=1800 CONFIG_INTELHEX_BINARY=y CONFIG_IOB_BUFSIZE=146 CONFIG_IOB_NBUFFERS=64 -CONFIG_IOB_NCHAINS=32 CONFIG_IOB_THROTTLE=10 CONFIG_LIBC_LOCALTIME=y CONFIG_LIBC_MAX_EXITFUNS=1 diff --git a/boards/risc-v/esp32c3/esp32c3-devkit/configs/nimble/defconfig b/boards/risc-v/esp32c3/esp32c3-devkit/configs/nimble/defconfig index d38d2cd41e0..261f0ef13c7 100644 --- a/boards/risc-v/esp32c3/esp32c3-devkit/configs/nimble/defconfig +++ b/boards/risc-v/esp32c3/esp32c3-devkit/configs/nimble/defconfig @@ -35,7 +35,6 @@ CONFIG_IDLETHREAD_STACKSIZE=2048 CONFIG_INIT_ENTRYPOINT="nsh_main" CONFIG_INTELHEX_BINARY=y CONFIG_IOB_NBUFFERS=24 -CONFIG_IOB_NCHAINS=24 CONFIG_LIBC_PERROR_STDOUT=y CONFIG_LIBC_STRERROR=y CONFIG_LINE_MAX=64 diff --git a/boards/risc-v/esp32c3/esp32c3-xiao/configs/nimble/defconfig b/boards/risc-v/esp32c3/esp32c3-xiao/configs/nimble/defconfig index 99e035cd9d9..a964ed9439f 100644 --- a/boards/risc-v/esp32c3/esp32c3-xiao/configs/nimble/defconfig +++ b/boards/risc-v/esp32c3/esp32c3-xiao/configs/nimble/defconfig @@ -37,7 +37,6 @@ CONFIG_IDLETHREAD_STACKSIZE=2048 CONFIG_INIT_ENTRYPOINT="nsh_main" CONFIG_INTELHEX_BINARY=y CONFIG_IOB_NBUFFERS=24 -CONFIG_IOB_NCHAINS=24 CONFIG_LIBC_PERROR_STDOUT=y CONFIG_LIBC_STRERROR=y CONFIG_NETDEV_LATEINIT=y diff --git a/boards/risc-v/esp32c3/esp32c3-xiao/configs/smartfs/defconfig b/boards/risc-v/esp32c3/esp32c3-xiao/configs/smartfs/defconfig index 2dfe15c7cc5..70828d620a1 100644 --- a/boards/risc-v/esp32c3/esp32c3-xiao/configs/smartfs/defconfig +++ b/boards/risc-v/esp32c3/esp32c3-xiao/configs/smartfs/defconfig @@ -39,7 +39,6 @@ CONFIG_IDLETHREAD_STACKSIZE=2048 CONFIG_INIT_ENTRYPOINT="nsh_main" CONFIG_INTELHEX_BINARY=y CONFIG_IOB_NBUFFERS=24 -CONFIG_IOB_NCHAINS=24 CONFIG_LIBC_PERROR_STDOUT=y CONFIG_LIBC_STRERROR=y CONFIG_NETDEV_LATEINIT=y diff --git a/boards/risc-v/mpfs/icicle/configs/rpmsg-ch1/defconfig b/boards/risc-v/mpfs/icicle/configs/rpmsg-ch1/defconfig index 48abe3e9ea7..735199d0cc7 100644 --- a/boards/risc-v/mpfs/icicle/configs/rpmsg-ch1/defconfig +++ b/boards/risc-v/mpfs/icicle/configs/rpmsg-ch1/defconfig @@ -38,7 +38,6 @@ CONFIG_INIT_ENTRYPOINT="nsh_main" CONFIG_INIT_STACKSIZE=3072 CONFIG_INTELHEX_BINARY=y CONFIG_IOB_NBUFFERS=24 -CONFIG_IOB_NCHAINS=24 CONFIG_LIBC_HOSTNAME="icicle" CONFIG_LIBC_MEMSET_64BIT=y CONFIG_LIBC_MEMSET_OPTSPEED=y diff --git a/boards/risc-v/mpfs/icicle/configs/rpmsg-ch2/defconfig b/boards/risc-v/mpfs/icicle/configs/rpmsg-ch2/defconfig index 1d85850a767..26f5efd5e58 100644 --- a/boards/risc-v/mpfs/icicle/configs/rpmsg-ch2/defconfig +++ b/boards/risc-v/mpfs/icicle/configs/rpmsg-ch2/defconfig @@ -38,7 +38,6 @@ CONFIG_INIT_ENTRYPOINT="nsh_main" CONFIG_INIT_STACKSIZE=3072 CONFIG_INTELHEX_BINARY=y CONFIG_IOB_NBUFFERS=24 -CONFIG_IOB_NCHAINS=24 CONFIG_LIBC_HOSTNAME="icicle" CONFIG_LIBC_MEMSET_64BIT=y CONFIG_LIBC_MEMSET_OPTSPEED=y diff --git a/boards/risc-v/qemu-rv/rv-virt/configs/citest/defconfig b/boards/risc-v/qemu-rv/rv-virt/configs/citest/defconfig index 1e76bdafeb1..656e0204f7c 100644 --- a/boards/risc-v/qemu-rv/rv-virt/configs/citest/defconfig +++ b/boards/risc-v/qemu-rv/rv-virt/configs/citest/defconfig @@ -76,7 +76,6 @@ CONFIG_INIT_ENTRYPOINT="init_main" CONFIG_INIT_STACKSIZE=3072 CONFIG_INTELHEX_BINARY=y CONFIG_IOB_NBUFFERS=128 -CONFIG_IOB_NCHAINS=4 CONFIG_IOB_THROTTLE=0 CONFIG_LIBCXX=y CONFIG_LIBC_ENVPATH=y diff --git a/boards/risc-v/qemu-rv/rv-virt/configs/fb/defconfig b/boards/risc-v/qemu-rv/rv-virt/configs/fb/defconfig index e45e3435630..5e12e80e2ed 100644 --- a/boards/risc-v/qemu-rv/rv-virt/configs/fb/defconfig +++ b/boards/risc-v/qemu-rv/rv-virt/configs/fb/defconfig @@ -56,7 +56,6 @@ CONFIG_INIT_STACKSIZE=3072 CONFIG_INTELHEX_BINARY=y CONFIG_IOB_BUFSIZE=1530 CONFIG_IOB_NBUFFERS=24 -CONFIG_IOB_NCHAINS=24 CONFIG_IOB_THROTTLE=2 CONFIG_LIBC_ENVPATH=y CONFIG_LIBC_EXECFUNCS=y diff --git a/boards/risc-v/qemu-rv/rv-virt/configs/fb64/defconfig b/boards/risc-v/qemu-rv/rv-virt/configs/fb64/defconfig index dbd2eca10b7..e8129e8017f 100644 --- a/boards/risc-v/qemu-rv/rv-virt/configs/fb64/defconfig +++ b/boards/risc-v/qemu-rv/rv-virt/configs/fb64/defconfig @@ -56,7 +56,6 @@ CONFIG_INIT_STACKSIZE=3072 CONFIG_INTELHEX_BINARY=y CONFIG_IOB_BUFSIZE=1534 CONFIG_IOB_NBUFFERS=24 -CONFIG_IOB_NCHAINS=24 CONFIG_IOB_THROTTLE=2 CONFIG_LIBC_ENVPATH=y CONFIG_LIBC_EXECFUNCS=y diff --git a/boards/risc-v/qemu-rv/rv-virt/configs/lvgl64_vector/defconfig b/boards/risc-v/qemu-rv/rv-virt/configs/lvgl64_vector/defconfig index c3b3cd17154..21015fa1653 100644 --- a/boards/risc-v/qemu-rv/rv-virt/configs/lvgl64_vector/defconfig +++ b/boards/risc-v/qemu-rv/rv-virt/configs/lvgl64_vector/defconfig @@ -61,7 +61,6 @@ CONFIG_INPUT=y CONFIG_INTELHEX_BINARY=y CONFIG_IOB_BUFSIZE=1534 CONFIG_IOB_NBUFFERS=24 -CONFIG_IOB_NCHAINS=24 CONFIG_IOB_THROTTLE=2 CONFIG_LIBC_ENVPATH=y CONFIG_LIBC_EXECFUNCS=y diff --git a/boards/sim/sim/sim/configs/bridge/defconfig b/boards/sim/sim/sim/configs/bridge/defconfig index 6c20715ece6..4cfa1611025 100644 --- a/boards/sim/sim/sim/configs/bridge/defconfig +++ b/boards/sim/sim/sim/configs/bridge/defconfig @@ -45,7 +45,6 @@ CONFIG_HAVE_CXXINITIALIZE=y CONFIG_IDLETHREAD_STACKSIZE=4096 CONFIG_INIT_ENTRYPOINT="init_main" CONFIG_IOB_NBUFFERS=256 -CONFIG_IOB_NCHAINS=64 CONFIG_IOEXPANDER=y CONFIG_IOEXPANDER_DUMMY=y CONFIG_LIBC_ENVPATH=y diff --git a/boards/sim/sim/sim/configs/citest/defconfig b/boards/sim/sim/sim/configs/citest/defconfig index 753255fe419..64979529157 100644 --- a/boards/sim/sim/sim/configs/citest/defconfig +++ b/boards/sim/sim/sim/configs/citest/defconfig @@ -71,7 +71,6 @@ CONFIG_HAVE_CXX=y CONFIG_IDLETHREAD_STACKSIZE=4096 CONFIG_INIT_ENTRYPOINT="init_main" CONFIG_IOB_NBUFFERS=128 -CONFIG_IOB_NCHAINS=4 CONFIG_IOEXPANDER=y CONFIG_IOEXPANDER_DUMMY=y CONFIG_LIBCXX=y diff --git a/boards/sim/sim/sim/configs/rtptools/defconfig b/boards/sim/sim/sim/configs/rtptools/defconfig index e263ef504e4..fc4b2def667 100644 --- a/boards/sim/sim/sim/configs/rtptools/defconfig +++ b/boards/sim/sim/sim/configs/rtptools/defconfig @@ -35,7 +35,6 @@ CONFIG_IDLETHREAD_STACKSIZE=2048 CONFIG_INIT_ENTRYPOINT="init_main" CONFIG_INPUT=y CONFIG_IOB_NBUFFERS=1024 -CONFIG_IOB_NCHAINS=128 CONFIG_IOB_NOTIFIER=y CONFIG_IOB_THROTTLE=16 CONFIG_LIBC_EXECFUNCS=y diff --git a/boards/sim/sim/sim/configs/tcpblaster/defconfig b/boards/sim/sim/sim/configs/tcpblaster/defconfig index efd2186c40c..8990f61fc5f 100644 --- a/boards/sim/sim/sim/configs/tcpblaster/defconfig +++ b/boards/sim/sim/sim/configs/tcpblaster/defconfig @@ -35,7 +35,6 @@ CONFIG_IDLETHREAD_STACKSIZE=2048 CONFIG_INIT_ENTRYPOINT="init_main" CONFIG_INPUT=y CONFIG_IOB_NBUFFERS=1024 -CONFIG_IOB_NCHAINS=128 CONFIG_IOB_NOTIFIER=y CONFIG_IOB_THROTTLE=16 CONFIG_LIBC_EXECFUNCS=y diff --git a/boards/sim/sim/sim/configs/usbdev/defconfig b/boards/sim/sim/sim/configs/usbdev/defconfig index a35b98c8569..787fee7aa59 100644 --- a/boards/sim/sim/sim/configs/usbdev/defconfig +++ b/boards/sim/sim/sim/configs/usbdev/defconfig @@ -41,7 +41,6 @@ CONFIG_FS_TMPFS=y CONFIG_ICMPv6_AUTOCONF_RDNSS=y CONFIG_INIT_ENTRYPOINT="init_main" CONFIG_IOB_NBUFFERS=512 -CONFIG_IOB_NCHAINS=36 CONFIG_LIBC_DLFCN=y CONFIG_LIBC_EXECFUNCS=y CONFIG_LIBUV=y diff --git a/boards/x86_64/qemu/qemu-intel64/configs/citest_smp/defconfig b/boards/x86_64/qemu/qemu-intel64/configs/citest_smp/defconfig index 983fe338724..564083c92d4 100644 --- a/boards/x86_64/qemu/qemu-intel64/configs/citest_smp/defconfig +++ b/boards/x86_64/qemu/qemu-intel64/configs/citest_smp/defconfig @@ -74,7 +74,6 @@ CONFIG_INIT_ENTRYPOINT="nsh_main" CONFIG_IOB_ALIGNMENT=64 CONFIG_IOB_BUFSIZE=2048 CONFIG_IOB_NBUFFERS=1024 -CONFIG_IOB_NCHAINS=255 CONFIG_LIBC_EXECFUNCS=y CONFIG_LIBC_LOCALE=y CONFIG_LIBC_MAX_EXITFUNS=1 diff --git a/boards/x86_64/qemu/qemu-intel64/configs/jumbo/defconfig b/boards/x86_64/qemu/qemu-intel64/configs/jumbo/defconfig index 46953e9d4ce..44f44c289bb 100644 --- a/boards/x86_64/qemu/qemu-intel64/configs/jumbo/defconfig +++ b/boards/x86_64/qemu/qemu-intel64/configs/jumbo/defconfig @@ -79,7 +79,6 @@ CONFIG_INTEL64_ONESHOT=y CONFIG_IOB_ALIGNMENT=64 CONFIG_IOB_BUFSIZE=2048 CONFIG_IOB_NBUFFERS=1024 -CONFIG_IOB_NCHAINS=255 CONFIG_LIBC_EXECFUNCS=y CONFIG_LIBC_KBDCODEC=y CONFIG_LIBM=y diff --git a/boards/x86_64/qemu/qemu-intel64/configs/nsh_pci_smp/defconfig b/boards/x86_64/qemu/qemu-intel64/configs/nsh_pci_smp/defconfig index 6e255709198..8b25c087bfb 100644 --- a/boards/x86_64/qemu/qemu-intel64/configs/nsh_pci_smp/defconfig +++ b/boards/x86_64/qemu/qemu-intel64/configs/nsh_pci_smp/defconfig @@ -40,7 +40,6 @@ CONFIG_IDLETHREAD_STACKSIZE=4194304 CONFIG_INIT_ENTRYPOINT="init_main" CONFIG_INTEL64_HPET_MIN_DELAY=10 CONFIG_INTEL64_ONESHOT=y -CONFIG_IOB_NCHAINS=255 CONFIG_LIBC_EXECFUNCS=y CONFIG_LIBM=y CONFIG_MM_IOB=y diff --git a/boards/xtensa/esp32/esp32-audio-kit/configs/audio/defconfig b/boards/xtensa/esp32/esp32-audio-kit/configs/audio/defconfig index 026c9c1293c..12965ac148b 100644 --- a/boards/xtensa/esp32/esp32-audio-kit/configs/audio/defconfig +++ b/boards/xtensa/esp32/esp32-audio-kit/configs/audio/defconfig @@ -70,7 +70,6 @@ CONFIG_INIT_STACKSIZE=3072 CONFIG_INTELHEX_BINARY=y CONFIG_IOB_BUFSIZE=400 CONFIG_IOB_NBUFFERS=100 -CONFIG_IOB_NCHAINS=32 CONFIG_IOB_THROTTLE=40 CONFIG_LINE_MAX=300 CONFIG_MM_REGIONS=3 diff --git a/boards/xtensa/esp32/esp32-audio-kit/configs/wifi/defconfig b/boards/xtensa/esp32/esp32-audio-kit/configs/wifi/defconfig index 18c57f34ccd..2d900a81552 100644 --- a/boards/xtensa/esp32/esp32-audio-kit/configs/wifi/defconfig +++ b/boards/xtensa/esp32/esp32-audio-kit/configs/wifi/defconfig @@ -44,7 +44,6 @@ CONFIG_INIT_STACKSIZE=3072 CONFIG_INTELHEX_BINARY=y CONFIG_IOB_BUFSIZE=400 CONFIG_IOB_NBUFFERS=100 -CONFIG_IOB_NCHAINS=32 CONFIG_IOB_THROTTLE=40 CONFIG_LINE_MAX=300 CONFIG_MM_REGIONS=3 diff --git a/boards/xtensa/esp32/esp32-devkitc/configs/audio/defconfig b/boards/xtensa/esp32/esp32-devkitc/configs/audio/defconfig index 5e7de2a2958..ca7a4518d40 100644 --- a/boards/xtensa/esp32/esp32-devkitc/configs/audio/defconfig +++ b/boards/xtensa/esp32/esp32-devkitc/configs/audio/defconfig @@ -70,7 +70,6 @@ CONFIG_INIT_STACKSIZE=3072 CONFIG_INTELHEX_BINARY=y CONFIG_IOB_BUFSIZE=400 CONFIG_IOB_NBUFFERS=100 -CONFIG_IOB_NCHAINS=32 CONFIG_IOB_THROTTLE=40 CONFIG_LINE_MAX=300 CONFIG_MM_REGIONS=3 diff --git a/boards/xtensa/esp32/esp32-devkitc/configs/autopm/defconfig b/boards/xtensa/esp32/esp32-devkitc/configs/autopm/defconfig index dde80539d8b..23673f304a8 100644 --- a/boards/xtensa/esp32/esp32-devkitc/configs/autopm/defconfig +++ b/boards/xtensa/esp32/esp32-devkitc/configs/autopm/defconfig @@ -40,7 +40,6 @@ CONFIG_INIT_STACKSIZE=3072 CONFIG_INTELHEX_BINARY=y CONFIG_IOB_BUFSIZE=400 CONFIG_IOB_NBUFFERS=100 -CONFIG_IOB_NCHAINS=32 CONFIG_IOB_THROTTLE=40 CONFIG_LINE_MAX=64 CONFIG_MM_REGIONS=3 diff --git a/boards/xtensa/esp32/esp32-devkitc/configs/blewifi/defconfig b/boards/xtensa/esp32/esp32-devkitc/configs/blewifi/defconfig index 9370c728d61..4d70c51312a 100644 --- a/boards/xtensa/esp32/esp32-devkitc/configs/blewifi/defconfig +++ b/boards/xtensa/esp32/esp32-devkitc/configs/blewifi/defconfig @@ -51,7 +51,6 @@ CONFIG_INIT_STACKSIZE=3072 CONFIG_INTELHEX_BINARY=y CONFIG_IOB_BUFSIZE=400 CONFIG_IOB_NBUFFERS=100 -CONFIG_IOB_NCHAINS=32 CONFIG_IOB_THROTTLE=40 CONFIG_LINE_MAX=300 CONFIG_MM_REGIONS=3 diff --git a/boards/xtensa/esp32/esp32-devkitc/configs/mcuboot_update_agent/defconfig b/boards/xtensa/esp32/esp32-devkitc/configs/mcuboot_update_agent/defconfig index 45f8feb6ea1..ca4fecb0490 100644 --- a/boards/xtensa/esp32/esp32-devkitc/configs/mcuboot_update_agent/defconfig +++ b/boards/xtensa/esp32/esp32-devkitc/configs/mcuboot_update_agent/defconfig @@ -45,7 +45,6 @@ CONFIG_INIT_STACKSIZE=3072 CONFIG_INTELHEX_BINARY=y CONFIG_IOB_BUFSIZE=400 CONFIG_IOB_NBUFFERS=100 -CONFIG_IOB_NCHAINS=32 CONFIG_IOB_THROTTLE=40 CONFIG_LINE_MAX=64 CONFIG_MM_REGIONS=5 diff --git a/boards/xtensa/esp32/esp32-devkitc/configs/mqttc/defconfig b/boards/xtensa/esp32/esp32-devkitc/configs/mqttc/defconfig index 37798e0d2fb..0d0f0380c93 100644 --- a/boards/xtensa/esp32/esp32-devkitc/configs/mqttc/defconfig +++ b/boards/xtensa/esp32/esp32-devkitc/configs/mqttc/defconfig @@ -40,7 +40,6 @@ CONFIG_INIT_STACKSIZE=3072 CONFIG_INTELHEX_BINARY=y CONFIG_IOB_BUFSIZE=400 CONFIG_IOB_NBUFFERS=100 -CONFIG_IOB_NCHAINS=32 CONFIG_IOB_THROTTLE=40 CONFIG_LINE_MAX=64 CONFIG_MM_REGIONS=3 diff --git a/boards/xtensa/esp32/esp32-devkitc/configs/nxlooper/defconfig b/boards/xtensa/esp32/esp32-devkitc/configs/nxlooper/defconfig index 71c0575997f..7b95774fc79 100644 --- a/boards/xtensa/esp32/esp32-devkitc/configs/nxlooper/defconfig +++ b/boards/xtensa/esp32/esp32-devkitc/configs/nxlooper/defconfig @@ -71,7 +71,6 @@ CONFIG_INIT_STACKSIZE=3072 CONFIG_INTELHEX_BINARY=y CONFIG_IOB_BUFSIZE=400 CONFIG_IOB_NBUFFERS=100 -CONFIG_IOB_NCHAINS=32 CONFIG_IOB_THROTTLE=40 CONFIG_LINE_MAX=300 CONFIG_MM_REGIONS=3 diff --git a/boards/xtensa/esp32/esp32-devkitc/configs/psram/defconfig b/boards/xtensa/esp32/esp32-devkitc/configs/psram/defconfig index 51e25761cc8..6f01adf0857 100644 --- a/boards/xtensa/esp32/esp32-devkitc/configs/psram/defconfig +++ b/boards/xtensa/esp32/esp32-devkitc/configs/psram/defconfig @@ -36,7 +36,6 @@ CONFIG_INIT_ENTRYPOINT="nsh_main" CONFIG_INIT_STACKSIZE=3072 CONFIG_INTELHEX_BINARY=y CONFIG_IOB_NBUFFERS=36 -CONFIG_IOB_NCHAINS=36 CONFIG_IOB_THROTTLE=8 CONFIG_LINE_MAX=64 CONFIG_MM_IOB=y diff --git a/boards/xtensa/esp32/esp32-devkitc/configs/psram_usrheap/defconfig b/boards/xtensa/esp32/esp32-devkitc/configs/psram_usrheap/defconfig index 3abf1e2f22d..1500e3844e4 100644 --- a/boards/xtensa/esp32/esp32-devkitc/configs/psram_usrheap/defconfig +++ b/boards/xtensa/esp32/esp32-devkitc/configs/psram_usrheap/defconfig @@ -38,7 +38,6 @@ CONFIG_INIT_ENTRYPOINT="nsh_main" CONFIG_INIT_STACKSIZE=3072 CONFIG_INTELHEX_BINARY=y CONFIG_IOB_NBUFFERS=36 -CONFIG_IOB_NCHAINS=36 CONFIG_IOB_THROTTLE=8 CONFIG_LINE_MAX=64 CONFIG_MM_IOB=y diff --git a/boards/xtensa/esp32/esp32-devkitc/configs/softap/defconfig b/boards/xtensa/esp32/esp32-devkitc/configs/softap/defconfig index 9d8ba60acfb..bf1f44d0a59 100644 --- a/boards/xtensa/esp32/esp32-devkitc/configs/softap/defconfig +++ b/boards/xtensa/esp32/esp32-devkitc/configs/softap/defconfig @@ -44,7 +44,6 @@ CONFIG_INIT_STACKSIZE=3072 CONFIG_INTELHEX_BINARY=y CONFIG_IOB_BUFSIZE=400 CONFIG_IOB_NBUFFERS=100 -CONFIG_IOB_NCHAINS=32 CONFIG_IOB_THROTTLE=40 CONFIG_LINE_MAX=64 CONFIG_MM_REGIONS=3 diff --git a/boards/xtensa/esp32/esp32-devkitc/configs/sta_softap/defconfig b/boards/xtensa/esp32/esp32-devkitc/configs/sta_softap/defconfig index a206cbba6ec..afb4a628da7 100644 --- a/boards/xtensa/esp32/esp32-devkitc/configs/sta_softap/defconfig +++ b/boards/xtensa/esp32/esp32-devkitc/configs/sta_softap/defconfig @@ -43,7 +43,6 @@ CONFIG_INIT_STACKSIZE=3072 CONFIG_INTELHEX_BINARY=y CONFIG_IOB_BUFSIZE=400 CONFIG_IOB_NBUFFERS=100 -CONFIG_IOB_NCHAINS=32 CONFIG_IOB_THROTTLE=40 CONFIG_LINE_MAX=300 CONFIG_MM_REGIONS=5 diff --git a/boards/xtensa/esp32/esp32-devkitc/configs/wamr_wasi_debug/defconfig b/boards/xtensa/esp32/esp32-devkitc/configs/wamr_wasi_debug/defconfig index cfe838323d7..75ec225f840 100644 --- a/boards/xtensa/esp32/esp32-devkitc/configs/wamr_wasi_debug/defconfig +++ b/boards/xtensa/esp32/esp32-devkitc/configs/wamr_wasi_debug/defconfig @@ -67,7 +67,6 @@ CONFIG_INTERPRETERS_WAMR_THREAD_MGR=y CONFIG_INTERPRETERS_WAMR_VERSION="0ba65326366d6675dcb4fe42a3dc6c8e00703165" CONFIG_IOB_BUFSIZE=400 CONFIG_IOB_NBUFFERS=100 -CONFIG_IOB_NCHAINS=32 CONFIG_IOB_THROTTLE=40 CONFIG_LIBC_DLFCN=y CONFIG_LIBC_FLOATINGPOINT=y diff --git a/boards/xtensa/esp32/esp32-devkitc/configs/wifi/defconfig b/boards/xtensa/esp32/esp32-devkitc/configs/wifi/defconfig index 66fe62b7dd8..e0a46f041bd 100644 --- a/boards/xtensa/esp32/esp32-devkitc/configs/wifi/defconfig +++ b/boards/xtensa/esp32/esp32-devkitc/configs/wifi/defconfig @@ -41,7 +41,6 @@ CONFIG_INIT_STACKSIZE=3072 CONFIG_INTELHEX_BINARY=y CONFIG_IOB_BUFSIZE=400 CONFIG_IOB_NBUFFERS=100 -CONFIG_IOB_NCHAINS=32 CONFIG_IOB_THROTTLE=40 CONFIG_LINE_MAX=300 CONFIG_MM_REGIONS=5 diff --git a/boards/xtensa/esp32/esp32-devkitc/configs/wifi_smp/defconfig b/boards/xtensa/esp32/esp32-devkitc/configs/wifi_smp/defconfig index 7b5c910ff33..2b2f28f94f9 100644 --- a/boards/xtensa/esp32/esp32-devkitc/configs/wifi_smp/defconfig +++ b/boards/xtensa/esp32/esp32-devkitc/configs/wifi_smp/defconfig @@ -49,7 +49,6 @@ CONFIG_INIT_STACKSIZE=3072 CONFIG_INTELHEX_BINARY=y CONFIG_IOB_BUFSIZE=400 CONFIG_IOB_NBUFFERS=100 -CONFIG_IOB_NCHAINS=32 CONFIG_IOB_THROTTLE=40 CONFIG_LINE_MAX=300 CONFIG_MM_REGIONS=5 diff --git a/boards/xtensa/esp32/esp32-devkitc/configs/wifinsh/defconfig b/boards/xtensa/esp32/esp32-devkitc/configs/wifinsh/defconfig index 588965479a8..9d0a0a3e1c4 100644 --- a/boards/xtensa/esp32/esp32-devkitc/configs/wifinsh/defconfig +++ b/boards/xtensa/esp32/esp32-devkitc/configs/wifinsh/defconfig @@ -40,7 +40,6 @@ CONFIG_INIT_STACKSIZE=3072 CONFIG_INTELHEX_BINARY=y CONFIG_IOB_BUFSIZE=400 CONFIG_IOB_NBUFFERS=100 -CONFIG_IOB_NCHAINS=32 CONFIG_IOB_THROTTLE=40 CONFIG_LINE_MAX=300 CONFIG_MM_REGIONS=3 diff --git a/boards/xtensa/esp32/esp32-devkitc/configs/wifishare/defconfig b/boards/xtensa/esp32/esp32-devkitc/configs/wifishare/defconfig index 5d53e4acdfb..4ccd38b1fd6 100644 --- a/boards/xtensa/esp32/esp32-devkitc/configs/wifishare/defconfig +++ b/boards/xtensa/esp32/esp32-devkitc/configs/wifishare/defconfig @@ -44,7 +44,6 @@ CONFIG_INIT_STACKSIZE=3072 CONFIG_INTELHEX_BINARY=y CONFIG_IOB_BUFSIZE=400 CONFIG_IOB_NBUFFERS=100 -CONFIG_IOB_NCHAINS=32 CONFIG_IOB_THROTTLE=40 CONFIG_LINE_MAX=300 CONFIG_MM_REGIONS=3 diff --git a/boards/xtensa/esp32/esp32-ethernet-kit/configs/autopm/defconfig b/boards/xtensa/esp32/esp32-ethernet-kit/configs/autopm/defconfig index 556fd96dcac..3d4f530f057 100644 --- a/boards/xtensa/esp32/esp32-ethernet-kit/configs/autopm/defconfig +++ b/boards/xtensa/esp32/esp32-ethernet-kit/configs/autopm/defconfig @@ -39,7 +39,6 @@ CONFIG_INIT_STACKSIZE=3072 CONFIG_INTELHEX_BINARY=y CONFIG_IOB_BUFSIZE=400 CONFIG_IOB_NBUFFERS=100 -CONFIG_IOB_NCHAINS=32 CONFIG_IOB_THROTTLE=40 CONFIG_LINE_MAX=64 CONFIG_MM_REGIONS=3 diff --git a/boards/xtensa/esp32/esp32-ethernet-kit/configs/wifi/defconfig b/boards/xtensa/esp32/esp32-ethernet-kit/configs/wifi/defconfig index 09552fa21d1..ffa19380b9b 100644 --- a/boards/xtensa/esp32/esp32-ethernet-kit/configs/wifi/defconfig +++ b/boards/xtensa/esp32/esp32-ethernet-kit/configs/wifi/defconfig @@ -38,7 +38,6 @@ CONFIG_INIT_STACKSIZE=3072 CONFIG_INTELHEX_BINARY=y CONFIG_IOB_BUFSIZE=400 CONFIG_IOB_NBUFFERS=100 -CONFIG_IOB_NCHAINS=32 CONFIG_IOB_THROTTLE=40 CONFIG_LINE_MAX=64 CONFIG_MM_REGIONS=3 diff --git a/boards/xtensa/esp32/esp32-lyrat/configs/audio/defconfig b/boards/xtensa/esp32/esp32-lyrat/configs/audio/defconfig index f0c163ab322..754c1685cee 100644 --- a/boards/xtensa/esp32/esp32-lyrat/configs/audio/defconfig +++ b/boards/xtensa/esp32/esp32-lyrat/configs/audio/defconfig @@ -69,7 +69,6 @@ CONFIG_INIT_STACKSIZE=3072 CONFIG_INTELHEX_BINARY=y CONFIG_IOB_BUFSIZE=400 CONFIG_IOB_NBUFFERS=100 -CONFIG_IOB_NCHAINS=32 CONFIG_IOB_THROTTLE=40 CONFIG_LINE_MAX=300 CONFIG_MM_REGIONS=3 diff --git a/boards/xtensa/esp32/esp32-lyrat/configs/rtptools/defconfig b/boards/xtensa/esp32/esp32-lyrat/configs/rtptools/defconfig index eac1817eb73..3a7574d0502 100644 --- a/boards/xtensa/esp32/esp32-lyrat/configs/rtptools/defconfig +++ b/boards/xtensa/esp32/esp32-lyrat/configs/rtptools/defconfig @@ -73,7 +73,6 @@ CONFIG_INIT_STACKSIZE=3072 CONFIG_INTELHEX_BINARY=y CONFIG_IOB_BUFSIZE=400 CONFIG_IOB_NBUFFERS=100 -CONFIG_IOB_NCHAINS=32 CONFIG_IOB_THROTTLE=40 CONFIG_LINE_MAX=300 CONFIG_MM_REGIONS=4 diff --git a/boards/xtensa/esp32/esp32-lyrat/configs/wifi/defconfig b/boards/xtensa/esp32/esp32-lyrat/configs/wifi/defconfig index 8c308ff466f..594baa11cc5 100644 --- a/boards/xtensa/esp32/esp32-lyrat/configs/wifi/defconfig +++ b/boards/xtensa/esp32/esp32-lyrat/configs/wifi/defconfig @@ -44,7 +44,6 @@ CONFIG_INIT_STACKSIZE=3072 CONFIG_INTELHEX_BINARY=y CONFIG_IOB_BUFSIZE=400 CONFIG_IOB_NBUFFERS=100 -CONFIG_IOB_NCHAINS=32 CONFIG_IOB_THROTTLE=40 CONFIG_LINE_MAX=300 CONFIG_MM_REGIONS=3 diff --git a/boards/xtensa/esp32/esp32-sparrow-kit/configs/mqttc/defconfig b/boards/xtensa/esp32/esp32-sparrow-kit/configs/mqttc/defconfig index 555c7e59a16..f82288360b5 100644 --- a/boards/xtensa/esp32/esp32-sparrow-kit/configs/mqttc/defconfig +++ b/boards/xtensa/esp32/esp32-sparrow-kit/configs/mqttc/defconfig @@ -73,7 +73,6 @@ CONFIG_INIT_STACKSIZE=3072 CONFIG_INTELHEX_BINARY=y CONFIG_IOB_BUFSIZE=400 CONFIG_IOB_NBUFFERS=100 -CONFIG_IOB_NCHAINS=32 CONFIG_IOB_THROTTLE=40 CONFIG_LCD=y CONFIG_LCD_DEV=y diff --git a/boards/xtensa/esp32/esp32-sparrow-kit/configs/wifi/defconfig b/boards/xtensa/esp32/esp32-sparrow-kit/configs/wifi/defconfig index c2a75f2b3fc..4098412ba7a 100644 --- a/boards/xtensa/esp32/esp32-sparrow-kit/configs/wifi/defconfig +++ b/boards/xtensa/esp32/esp32-sparrow-kit/configs/wifi/defconfig @@ -73,7 +73,6 @@ CONFIG_INIT_STACKSIZE=3072 CONFIG_INTELHEX_BINARY=y CONFIG_IOB_BUFSIZE=128 CONFIG_IOB_NBUFFERS=160 -CONFIG_IOB_NCHAINS=16 CONFIG_IOB_THROTTLE=24 CONFIG_LCD=y CONFIG_LCD_DEV=y diff --git a/boards/xtensa/esp32/esp32-wrover-kit/configs/autopm/defconfig b/boards/xtensa/esp32/esp32-wrover-kit/configs/autopm/defconfig index 85e52fab908..71de396cf83 100644 --- a/boards/xtensa/esp32/esp32-wrover-kit/configs/autopm/defconfig +++ b/boards/xtensa/esp32/esp32-wrover-kit/configs/autopm/defconfig @@ -40,7 +40,6 @@ CONFIG_INIT_STACKSIZE=3072 CONFIG_INTELHEX_BINARY=y CONFIG_IOB_BUFSIZE=400 CONFIG_IOB_NBUFFERS=100 -CONFIG_IOB_NCHAINS=32 CONFIG_IOB_THROTTLE=40 CONFIG_LINE_MAX=64 CONFIG_MM_REGIONS=3 diff --git a/boards/xtensa/esp32/esp32-wrover-kit/configs/wifi/defconfig b/boards/xtensa/esp32/esp32-wrover-kit/configs/wifi/defconfig index 5032c3ecc0c..e047b3ee632 100644 --- a/boards/xtensa/esp32/esp32-wrover-kit/configs/wifi/defconfig +++ b/boards/xtensa/esp32/esp32-wrover-kit/configs/wifi/defconfig @@ -39,7 +39,6 @@ CONFIG_INIT_STACKSIZE=3072 CONFIG_INTELHEX_BINARY=y CONFIG_IOB_BUFSIZE=400 CONFIG_IOB_NBUFFERS=100 -CONFIG_IOB_NCHAINS=32 CONFIG_IOB_THROTTLE=40 CONFIG_LINE_MAX=64 CONFIG_MM_REGIONS=3 diff --git a/boards/xtensa/esp32s2/esp32s2-saola-1/configs/mcuboot_update_agent/defconfig b/boards/xtensa/esp32s2/esp32s2-saola-1/configs/mcuboot_update_agent/defconfig index 78a4d9c44fc..cb257b6bd0a 100644 --- a/boards/xtensa/esp32s2/esp32s2-saola-1/configs/mcuboot_update_agent/defconfig +++ b/boards/xtensa/esp32s2/esp32s2-saola-1/configs/mcuboot_update_agent/defconfig @@ -42,7 +42,6 @@ CONFIG_INIT_STACKSIZE=3072 CONFIG_INTELHEX_BINARY=y CONFIG_IOB_BUFSIZE=128 CONFIG_IOB_NBUFFERS=160 -CONFIG_IOB_NCHAINS=36 CONFIG_IOB_THROTTLE=24 CONFIG_LINE_MAX=64 CONFIG_NAME_MAX=48 diff --git a/boards/xtensa/esp32s2/esp32s2-saola-1/configs/sta_softap/defconfig b/boards/xtensa/esp32s2/esp32s2-saola-1/configs/sta_softap/defconfig index 7dca8987bb0..32b93e155cd 100644 --- a/boards/xtensa/esp32s2/esp32s2-saola-1/configs/sta_softap/defconfig +++ b/boards/xtensa/esp32s2/esp32s2-saola-1/configs/sta_softap/defconfig @@ -39,7 +39,6 @@ CONFIG_INIT_STACKSIZE=3072 CONFIG_INTELHEX_BINARY=y CONFIG_IOB_BUFSIZE=400 CONFIG_IOB_NBUFFERS=100 -CONFIG_IOB_NCHAINS=32 CONFIG_IOB_THROTTLE=40 CONFIG_LINE_MAX=64 CONFIG_NETDB_DNSCLIENT=y diff --git a/boards/xtensa/esp32s2/esp32s2-saola-1/configs/wifi/defconfig b/boards/xtensa/esp32s2/esp32s2-saola-1/configs/wifi/defconfig index 8261d8ea2bf..3d17d73b396 100644 --- a/boards/xtensa/esp32s2/esp32s2-saola-1/configs/wifi/defconfig +++ b/boards/xtensa/esp32s2/esp32s2-saola-1/configs/wifi/defconfig @@ -37,7 +37,6 @@ CONFIG_INIT_STACKSIZE=3072 CONFIG_INTELHEX_BINARY=y CONFIG_IOB_BUFSIZE=400 CONFIG_IOB_NBUFFERS=100 -CONFIG_IOB_NCHAINS=32 CONFIG_IOB_THROTTLE=40 CONFIG_LINE_MAX=64 CONFIG_NETDB_DNSCLIENT=y diff --git a/boards/xtensa/esp32s3/esp32s3-devkit/configs/audio/defconfig b/boards/xtensa/esp32s3/esp32s3-devkit/configs/audio/defconfig index 5aa2ef4972f..53efb027539 100644 --- a/boards/xtensa/esp32s3/esp32s3-devkit/configs/audio/defconfig +++ b/boards/xtensa/esp32s3/esp32s3-devkit/configs/audio/defconfig @@ -62,7 +62,6 @@ CONFIG_INIT_STACKSIZE=8192 CONFIG_INTELHEX_BINARY=y CONFIG_IOB_BUFSIZE=400 CONFIG_IOB_NBUFFERS=100 -CONFIG_IOB_NCHAINS=32 CONFIG_IOB_THROTTLE=40 CONFIG_LIBC_EXECFUNCS=y CONFIG_LINE_MAX=64 diff --git a/boards/xtensa/esp32s3/esp32s3-devkit/configs/ble/defconfig b/boards/xtensa/esp32s3/esp32s3-devkit/configs/ble/defconfig index 5a964cad81c..72a41a1aa7a 100644 --- a/boards/xtensa/esp32s3/esp32s3-devkit/configs/ble/defconfig +++ b/boards/xtensa/esp32s3/esp32s3-devkit/configs/ble/defconfig @@ -44,7 +44,6 @@ CONFIG_INIT_STACKSIZE=8192 CONFIG_INTELHEX_BINARY=y CONFIG_IOB_BUFSIZE=128 CONFIG_IOB_NBUFFERS=160 -CONFIG_IOB_NCHAINS=36 CONFIG_IOB_THROTTLE=24 CONFIG_LIBC_EXECFUNCS=y CONFIG_LINE_MAX=64 diff --git a/boards/xtensa/esp32s3/esp32s3-devkit/configs/blewifi/defconfig b/boards/xtensa/esp32s3/esp32s3-devkit/configs/blewifi/defconfig index d85c7237813..dcfc8840ca4 100644 --- a/boards/xtensa/esp32s3/esp32s3-devkit/configs/blewifi/defconfig +++ b/boards/xtensa/esp32s3/esp32s3-devkit/configs/blewifi/defconfig @@ -51,7 +51,6 @@ CONFIG_INIT_STACKSIZE=8192 CONFIG_INTELHEX_BINARY=y CONFIG_IOB_BUFSIZE=400 CONFIG_IOB_NBUFFERS=100 -CONFIG_IOB_NCHAINS=32 CONFIG_IOB_THROTTLE=40 CONFIG_LIBC_EXECFUNCS=y CONFIG_LINE_MAX=64 diff --git a/boards/xtensa/esp32s3/esp32s3-devkit/configs/fastboot/defconfig b/boards/xtensa/esp32s3/esp32s3-devkit/configs/fastboot/defconfig index f265fb2bb5f..7cefa92ccc4 100644 --- a/boards/xtensa/esp32s3/esp32s3-devkit/configs/fastboot/defconfig +++ b/boards/xtensa/esp32s3/esp32s3-devkit/configs/fastboot/defconfig @@ -50,7 +50,6 @@ CONFIG_INIT_STACKSIZE=8192 CONFIG_INTELHEX_BINARY=y CONFIG_IOB_BUFSIZE=400 CONFIG_IOB_NBUFFERS=100 -CONFIG_IOB_NCHAINS=32 CONFIG_IOB_THROTTLE=40 CONFIG_LIBC_EXECFUNCS=y CONFIG_LINE_MAX=64 diff --git a/boards/xtensa/esp32s3/esp32s3-devkit/configs/fastboot_tcp/defconfig b/boards/xtensa/esp32s3/esp32s3-devkit/configs/fastboot_tcp/defconfig index b14e1de4911..e0b2beab98e 100644 --- a/boards/xtensa/esp32s3/esp32s3-devkit/configs/fastboot_tcp/defconfig +++ b/boards/xtensa/esp32s3/esp32s3-devkit/configs/fastboot_tcp/defconfig @@ -43,7 +43,6 @@ CONFIG_INIT_STACKSIZE=8192 CONFIG_INTELHEX_BINARY=y CONFIG_IOB_BUFSIZE=400 CONFIG_IOB_NBUFFERS=100 -CONFIG_IOB_NCHAINS=32 CONFIG_IOB_THROTTLE=40 CONFIG_LIBC_EXECFUNCS=y CONFIG_LINE_MAX=64 diff --git a/boards/xtensa/esp32s3/esp32s3-devkit/configs/ksta_softap/defconfig b/boards/xtensa/esp32s3/esp32s3-devkit/configs/ksta_softap/defconfig index 259f82d008b..70c433bfa3a 100644 --- a/boards/xtensa/esp32s3/esp32s3-devkit/configs/ksta_softap/defconfig +++ b/boards/xtensa/esp32s3/esp32s3-devkit/configs/ksta_softap/defconfig @@ -49,7 +49,6 @@ CONFIG_INIT_STACKSIZE=8192 CONFIG_INTELHEX_BINARY=y CONFIG_IOB_BUFSIZE=400 CONFIG_IOB_NBUFFERS=100 -CONFIG_IOB_NCHAINS=32 CONFIG_IOB_THROTTLE=40 CONFIG_LIBC_EXECFUNCS=y CONFIG_LIBC_PERROR_STDOUT=y diff --git a/boards/xtensa/esp32s3/esp32s3-devkit/configs/mbedtls/defconfig b/boards/xtensa/esp32s3/esp32s3-devkit/configs/mbedtls/defconfig index 2c7b1b4aea5..6755f5dd24f 100644 --- a/boards/xtensa/esp32s3/esp32s3-devkit/configs/mbedtls/defconfig +++ b/boards/xtensa/esp32s3/esp32s3-devkit/configs/mbedtls/defconfig @@ -53,7 +53,6 @@ CONFIG_INIT_STACKSIZE=8192 CONFIG_INTELHEX_BINARY=y CONFIG_IOB_BUFSIZE=400 CONFIG_IOB_NBUFFERS=100 -CONFIG_IOB_NCHAINS=32 CONFIG_IOB_THROTTLE=40 CONFIG_LIBC_EXECFUNCS=y CONFIG_LINE_MAX=255 diff --git a/boards/xtensa/esp32s3/esp32s3-devkit/configs/mcuboot_update_agent/defconfig b/boards/xtensa/esp32s3/esp32s3-devkit/configs/mcuboot_update_agent/defconfig index 4da4c212345..c63354eb373 100644 --- a/boards/xtensa/esp32s3/esp32s3-devkit/configs/mcuboot_update_agent/defconfig +++ b/boards/xtensa/esp32s3/esp32s3-devkit/configs/mcuboot_update_agent/defconfig @@ -50,7 +50,6 @@ CONFIG_INIT_STACKSIZE=8192 CONFIG_INTELHEX_BINARY=y CONFIG_IOB_BUFSIZE=400 CONFIG_IOB_NBUFFERS=100 -CONFIG_IOB_NCHAINS=32 CONFIG_IOB_THROTTLE=40 CONFIG_LIBC_EXECFUNCS=y CONFIG_LINE_MAX=64 diff --git a/boards/xtensa/esp32s3/esp32s3-devkit/configs/psram_usrheap/defconfig b/boards/xtensa/esp32s3/esp32s3-devkit/configs/psram_usrheap/defconfig index 65cc6213533..c9719724dac 100644 --- a/boards/xtensa/esp32s3/esp32s3-devkit/configs/psram_usrheap/defconfig +++ b/boards/xtensa/esp32s3/esp32s3-devkit/configs/psram_usrheap/defconfig @@ -38,7 +38,6 @@ CONFIG_INIT_ENTRYPOINT="init_main" CONFIG_INIT_STACKSIZE=8192 CONFIG_INTELHEX_BINARY=y CONFIG_IOB_NBUFFERS=36 -CONFIG_IOB_NCHAINS=36 CONFIG_IOB_THROTTLE=8 CONFIG_LIBC_EXECFUNCS=y CONFIG_LINE_MAX=64 diff --git a/boards/xtensa/esp32s3/esp32s3-devkit/configs/python/defconfig b/boards/xtensa/esp32s3/esp32s3-devkit/configs/python/defconfig index 792a0b095d3..ae5b8642b54 100644 --- a/boards/xtensa/esp32s3/esp32s3-devkit/configs/python/defconfig +++ b/boards/xtensa/esp32s3/esp32s3-devkit/configs/python/defconfig @@ -58,7 +58,6 @@ CONFIG_INTELHEX_BINARY=y CONFIG_INTERPRETERS_CPYTHON=y CONFIG_IOB_BUFSIZE=400 CONFIG_IOB_NBUFFERS=100 -CONFIG_IOB_NCHAINS=32 CONFIG_IOB_THROTTLE=40 CONFIG_LIBC_ELF_HAVE_SYMTAB=y CONFIG_LIBC_ELF_SYSTEM_SYMTAB=y diff --git a/boards/xtensa/esp32s3/esp32s3-devkit/configs/qemu_debug/defconfig b/boards/xtensa/esp32s3/esp32s3-devkit/configs/qemu_debug/defconfig index 76b57d5e070..15c280c0d9d 100644 --- a/boards/xtensa/esp32s3/esp32s3-devkit/configs/qemu_debug/defconfig +++ b/boards/xtensa/esp32s3/esp32s3-devkit/configs/qemu_debug/defconfig @@ -51,7 +51,6 @@ CONFIG_INIT_STACKSIZE=8192 CONFIG_INTELHEX_BINARY=y CONFIG_IOB_BUFSIZE=128 CONFIG_IOB_NBUFFERS=160 -CONFIG_IOB_NCHAINS=36 CONFIG_IOB_THROTTLE=24 CONFIG_LIBC_EXECFUNCS=y CONFIG_LINE_MAX=255 diff --git a/boards/xtensa/esp32s3/esp32s3-devkit/configs/qemu_toywasm/defconfig b/boards/xtensa/esp32s3/esp32s3-devkit/configs/qemu_toywasm/defconfig index 33acd0b08ad..326db75adc8 100644 --- a/boards/xtensa/esp32s3/esp32s3-devkit/configs/qemu_toywasm/defconfig +++ b/boards/xtensa/esp32s3/esp32s3-devkit/configs/qemu_toywasm/defconfig @@ -52,7 +52,6 @@ CONFIG_INTELHEX_BINARY=y CONFIG_INTERPRETERS_TOYWASM=y CONFIG_IOB_BUFSIZE=128 CONFIG_IOB_NBUFFERS=160 -CONFIG_IOB_NCHAINS=36 CONFIG_IOB_THROTTLE=24 CONFIG_LIBC_EXECFUNCS=y CONFIG_LINE_MAX=255 diff --git a/boards/xtensa/esp32s3/esp32s3-devkit/configs/sta_softap/defconfig b/boards/xtensa/esp32s3/esp32s3-devkit/configs/sta_softap/defconfig index 44de665dd7a..4ab12211c9d 100644 --- a/boards/xtensa/esp32s3/esp32s3-devkit/configs/sta_softap/defconfig +++ b/boards/xtensa/esp32s3/esp32s3-devkit/configs/sta_softap/defconfig @@ -44,7 +44,6 @@ CONFIG_INIT_STACKSIZE=8192 CONFIG_INTELHEX_BINARY=y CONFIG_IOB_BUFSIZE=400 CONFIG_IOB_NBUFFERS=100 -CONFIG_IOB_NCHAINS=32 CONFIG_IOB_THROTTLE=40 CONFIG_LIBC_EXECFUNCS=y CONFIG_LINE_MAX=64 diff --git a/boards/xtensa/esp32s3/esp32s3-devkit/configs/toywasm/defconfig b/boards/xtensa/esp32s3/esp32s3-devkit/configs/toywasm/defconfig index 9433a6b5141..131a03a8782 100644 --- a/boards/xtensa/esp32s3/esp32s3-devkit/configs/toywasm/defconfig +++ b/boards/xtensa/esp32s3/esp32s3-devkit/configs/toywasm/defconfig @@ -52,7 +52,6 @@ CONFIG_INTELHEX_BINARY=y CONFIG_INTERPRETERS_TOYWASM=y CONFIG_IOB_BUFSIZE=400 CONFIG_IOB_NBUFFERS=100 -CONFIG_IOB_NCHAINS=32 CONFIG_IOB_THROTTLE=40 CONFIG_LIBC_EXECFUNCS=y CONFIG_LINE_MAX=255 diff --git a/boards/xtensa/esp32s3/esp32s3-devkit/configs/wifi/defconfig b/boards/xtensa/esp32s3/esp32s3-devkit/configs/wifi/defconfig index 29d0e102fc3..6cf002cf6f7 100644 --- a/boards/xtensa/esp32s3/esp32s3-devkit/configs/wifi/defconfig +++ b/boards/xtensa/esp32s3/esp32s3-devkit/configs/wifi/defconfig @@ -42,7 +42,6 @@ CONFIG_INIT_STACKSIZE=8192 CONFIG_INTELHEX_BINARY=y CONFIG_IOB_BUFSIZE=400 CONFIG_IOB_NBUFFERS=100 -CONFIG_IOB_NCHAINS=32 CONFIG_IOB_THROTTLE=40 CONFIG_LIBC_EXECFUNCS=y CONFIG_LINE_MAX=64 diff --git a/boards/xtensa/esp32s3/esp32s3-eye/configs/wifi/defconfig b/boards/xtensa/esp32s3/esp32s3-eye/configs/wifi/defconfig index e5bfba5a7b2..69664a2c0c1 100644 --- a/boards/xtensa/esp32s3/esp32s3-eye/configs/wifi/defconfig +++ b/boards/xtensa/esp32s3/esp32s3-eye/configs/wifi/defconfig @@ -43,7 +43,6 @@ CONFIG_INIT_STACKSIZE=8192 CONFIG_INTELHEX_BINARY=y CONFIG_IOB_BUFSIZE=400 CONFIG_IOB_NBUFFERS=100 -CONFIG_IOB_NCHAINS=32 CONFIG_IOB_THROTTLE=40 CONFIG_LIBC_EXECFUNCS=y CONFIG_LINE_MAX=64 diff --git a/boards/xtensa/esp32s3/esp32s3-korvo-2/configs/audio/defconfig b/boards/xtensa/esp32s3/esp32s3-korvo-2/configs/audio/defconfig index 07d66c03ffd..9cc937bbc42 100644 --- a/boards/xtensa/esp32s3/esp32s3-korvo-2/configs/audio/defconfig +++ b/boards/xtensa/esp32s3/esp32s3-korvo-2/configs/audio/defconfig @@ -68,7 +68,6 @@ CONFIG_INIT_STACKSIZE=8192 CONFIG_INTELHEX_BINARY=y CONFIG_IOB_BUFSIZE=400 CONFIG_IOB_NBUFFERS=100 -CONFIG_IOB_NCHAINS=32 CONFIG_IOB_THROTTLE=40 CONFIG_LIBC_EXECFUNCS=y CONFIG_LINE_MAX=64 diff --git a/boards/xtensa/esp32s3/esp32s3-korvo-2/configs/rtptools/defconfig b/boards/xtensa/esp32s3/esp32s3-korvo-2/configs/rtptools/defconfig index 73a6c6f2949..89d0b3c79cc 100644 --- a/boards/xtensa/esp32s3/esp32s3-korvo-2/configs/rtptools/defconfig +++ b/boards/xtensa/esp32s3/esp32s3-korvo-2/configs/rtptools/defconfig @@ -69,7 +69,6 @@ CONFIG_INIT_STACKSIZE=8192 CONFIG_INTELHEX_BINARY=y CONFIG_IOB_BUFSIZE=400 CONFIG_IOB_NBUFFERS=100 -CONFIG_IOB_NCHAINS=32 CONFIG_IOB_THROTTLE=40 CONFIG_LIBC_EXECFUNCS=y CONFIG_LINE_MAX=64 diff --git a/boards/xtensa/esp32s3/esp32s3-lcd-ev/configs/audio/defconfig b/boards/xtensa/esp32s3/esp32s3-lcd-ev/configs/audio/defconfig index 9c0095b7db2..d5feec248b2 100644 --- a/boards/xtensa/esp32s3/esp32s3-lcd-ev/configs/audio/defconfig +++ b/boards/xtensa/esp32s3/esp32s3-lcd-ev/configs/audio/defconfig @@ -65,7 +65,6 @@ CONFIG_INIT_STACKSIZE=8192 CONFIG_INTELHEX_BINARY=y CONFIG_IOB_BUFSIZE=400 CONFIG_IOB_NBUFFERS=100 -CONFIG_IOB_NCHAINS=32 CONFIG_IOB_THROTTLE=40 CONFIG_LIBC_EXECFUNCS=y CONFIG_LINE_MAX=64 diff --git a/boards/xtensa/esp32s3/esp32s3-m5-cardputer/configs/lvglterm/defconfig b/boards/xtensa/esp32s3/esp32s3-m5-cardputer/configs/lvglterm/defconfig index 0aa711bbad9..c9655e6525d 100644 --- a/boards/xtensa/esp32s3/esp32s3-m5-cardputer/configs/lvglterm/defconfig +++ b/boards/xtensa/esp32s3/esp32s3-m5-cardputer/configs/lvglterm/defconfig @@ -62,7 +62,6 @@ CONFIG_INIT_STACKSIZE=8192 CONFIG_INTELHEX_BINARY=y CONFIG_IOB_BUFSIZE=400 CONFIG_IOB_NBUFFERS=100 -CONFIG_IOB_NCHAINS=32 CONFIG_IOB_THROTTLE=40 CONFIG_LCD=y CONFIG_LCD_DEV=y diff --git a/boards/xtensa/esp32s3/esp32s3-m5-cardputer/configs/softap/defconfig b/boards/xtensa/esp32s3/esp32s3-m5-cardputer/configs/softap/defconfig index aa4ac6ddcef..b21710d5190 100644 --- a/boards/xtensa/esp32s3/esp32s3-m5-cardputer/configs/softap/defconfig +++ b/boards/xtensa/esp32s3/esp32s3-m5-cardputer/configs/softap/defconfig @@ -41,7 +41,6 @@ CONFIG_INIT_STACKSIZE=8192 CONFIG_INTELHEX_BINARY=y CONFIG_IOB_BUFSIZE=400 CONFIG_IOB_NBUFFERS=100 -CONFIG_IOB_NCHAINS=32 CONFIG_IOB_THROTTLE=40 CONFIG_LIBC_EXECFUNCS=y CONFIG_LINE_MAX=64 diff --git a/boards/xtensa/esp32s3/esp32s3-m5-cardputer/configs/wifi/defconfig b/boards/xtensa/esp32s3/esp32s3-m5-cardputer/configs/wifi/defconfig index ee74e7febd4..73a7429e168 100644 --- a/boards/xtensa/esp32s3/esp32s3-m5-cardputer/configs/wifi/defconfig +++ b/boards/xtensa/esp32s3/esp32s3-m5-cardputer/configs/wifi/defconfig @@ -39,7 +39,6 @@ CONFIG_INIT_STACKSIZE=8192 CONFIG_INTELHEX_BINARY=y CONFIG_IOB_BUFSIZE=400 CONFIG_IOB_NBUFFERS=100 -CONFIG_IOB_NCHAINS=32 CONFIG_IOB_THROTTLE=40 CONFIG_LIBC_EXECFUNCS=y CONFIG_LINE_MAX=64 diff --git a/boards/xtensa/esp32s3/lckfb-szpi-esp32s3/configs/fastboot/defconfig b/boards/xtensa/esp32s3/lckfb-szpi-esp32s3/configs/fastboot/defconfig index 5e39d2cee99..86ae1e8896e 100644 --- a/boards/xtensa/esp32s3/lckfb-szpi-esp32s3/configs/fastboot/defconfig +++ b/boards/xtensa/esp32s3/lckfb-szpi-esp32s3/configs/fastboot/defconfig @@ -50,7 +50,6 @@ CONFIG_INIT_STACKSIZE=8192 CONFIG_INTELHEX_BINARY=y CONFIG_IOB_BUFSIZE=128 CONFIG_IOB_NBUFFERS=160 -CONFIG_IOB_NCHAINS=36 CONFIG_IOB_THROTTLE=24 CONFIG_LIBC_EXECFUNCS=y CONFIG_LINE_MAX=64 diff --git a/boards/xtensa/esp32s3/lckfb-szpi-esp32s3/configs/fastboot_tcp/defconfig b/boards/xtensa/esp32s3/lckfb-szpi-esp32s3/configs/fastboot_tcp/defconfig index 60fea770adf..872d6841828 100644 --- a/boards/xtensa/esp32s3/lckfb-szpi-esp32s3/configs/fastboot_tcp/defconfig +++ b/boards/xtensa/esp32s3/lckfb-szpi-esp32s3/configs/fastboot_tcp/defconfig @@ -43,7 +43,6 @@ CONFIG_INIT_STACKSIZE=8192 CONFIG_INTELHEX_BINARY=y CONFIG_IOB_BUFSIZE=128 CONFIG_IOB_NBUFFERS=160 -CONFIG_IOB_NCHAINS=36 CONFIG_IOB_THROTTLE=24 CONFIG_LIBC_EXECFUNCS=y CONFIG_LINE_MAX=64 diff --git a/boards/xtensa/esp32s3/lckfb-szpi-esp32s3/configs/vncviewer/defconfig b/boards/xtensa/esp32s3/lckfb-szpi-esp32s3/configs/vncviewer/defconfig index 25d95b8cf00..9ff9a2b2b17 100644 --- a/boards/xtensa/esp32s3/lckfb-szpi-esp32s3/configs/vncviewer/defconfig +++ b/boards/xtensa/esp32s3/lckfb-szpi-esp32s3/configs/vncviewer/defconfig @@ -60,7 +60,6 @@ CONFIG_INIT_STACKSIZE=8192 CONFIG_INTELHEX_BINARY=y CONFIG_IOB_BUFSIZE=400 CONFIG_IOB_NBUFFERS=100 -CONFIG_IOB_NCHAINS=32 CONFIG_IOB_THROTTLE=40 CONFIG_IOEXPANDER=y CONFIG_IOEXPANDER_NPINS=8 diff --git a/drivers/net/netdev_upperhalf.c b/drivers/net/netdev_upperhalf.c index 82fef7e1f87..cc4c7193e41 100644 --- a/drivers/net/netdev_upperhalf.c +++ b/drivers/net/netdev_upperhalf.c @@ -87,9 +87,7 @@ struct netdev_upperhalf_s /* TX queue for re-queueing replies */ -#if CONFIG_IOB_NCHAINS > 0 struct iob_queue_s txq; -#endif #ifdef CONFIG_NET_VLAN struct netdev_vlan_entry_s vlan[CONFIG_NET_VLAN_COUNT]; @@ -367,7 +365,6 @@ static int netdev_upper_txpoll(FAR struct net_driver_s *dev) static int netdev_upper_tx(FAR struct net_driver_s *dev) { -#if CONFIG_IOB_NCHAINS > 0 FAR struct netdev_upperhalf_s *upper = dev->d_private; if (!IOB_QEMPTY(&upper->txq)) @@ -377,7 +374,6 @@ static int netdev_upper_tx(FAR struct net_driver_s *dev) netdev_iob_replace_l2(dev, iob_remove_queue(&upper->txq)); return netdev_upper_txpoll(dev); } -#endif /* No more TX packets in queue, poll the net stack to get more packets */ @@ -435,7 +431,6 @@ static void netdev_upper_txavail_work(FAR struct netdev_upperhalf_s *upper) defined(CONFIG_DRIVERS_IEEE80211) || defined(CONFIG_NET_MBIM) static void netdev_upper_queue_tx(FAR struct net_driver_s *dev) { -#if CONFIG_IOB_NCHAINS > 0 FAR struct netdev_upperhalf_s *upper = dev->d_private; int ret; @@ -448,11 +443,6 @@ static void netdev_upper_queue_tx(FAR struct net_driver_s *dev) { nwarn("WARNING: Failed to queue TX packet, dropping: %d\n", ret); } -#else - /* Fall back to send the packet directly if we don't have IOB queue. */ - - netdev_upper_txpoll(dev); -#endif } #endif @@ -1746,9 +1736,7 @@ int netdev_lower_unregister(FAR struct netdev_lowerhalf_s *dev) break; } -#if CONFIG_IOB_NCHAINS > 0 iob_free_queue(&upper->txq); -#endif kmm_free(upper); dev->netdev.d_private = NULL; diff --git a/include/nuttx/mm/iob.h b/include/nuttx/mm/iob.h index 4ae84f308a6..5e395887751 100644 --- a/include/nuttx/mm/iob.h +++ b/include/nuttx/mm/iob.h @@ -88,12 +88,34 @@ struct iovec; /* Forward declaration for scatter-gather I/O */ #define IOB_DATA(p) (&(p)->io_data[(p)->io_offset]) #define IOB_FREESPACE(p) (CONFIG_IOB_BUFSIZE - (p)->io_len - (p)->io_offset) -#if CONFIG_IOB_NCHAINS > 0 /* Queue helpers */ -# define IOB_QINIT(q) do { (q)->qh_head = 0; (q)->qh_tail = 0; } while (0) -# define IOB_QEMPTY(q) ((q)->qh_head == NULL) -#endif +#define IOB_QINIT(q) do { (q)->qh_head = 0; (q)->qh_tail = 0; } while (0) +#define IOB_QEMPTY(q) ((q)->qh_head == NULL) + +/* IOB queue flags: Stored in the low bits of io_flink pointer. + * Since IOB structures are aligned to at least sizeof(uintptr_t), + * the low 2 bits (32-bit) or 3 bits (64-bit) are always zero and + * can be used to store flags. + * + * IOB_CHAIN_END: Marks the last IOB in a chain within a queue. + * When this flag is set, io_flink (after masking) points to the next + * chain head in the queue. + */ + +#define IOB_CHAIN_END (1 << 0) +#define IOB_FLAGS_MASK ((uintptr_t)0x3) /* Mask for flag bits */ +#define IOB_POINTER_MASK (~IOB_FLAGS_MASK) /* Mask for pointer */ + +/* Helper macros to manipulate io_flink with embedded flags */ + +#define IOB_LINK_GET(iob) ((FAR struct iob_s *)((uintptr_t)(iob)->io_flink & IOB_POINTER_MASK)) +#define IOB_FLAG_GET(iob) ((uintptr_t)(iob)->io_flink & IOB_FLAGS_MASK) +#define IOB_FLAG_SET(iob, ptr, flags) \ + do { \ + (iob)->io_flink = (FAR struct iob_s *)((uintptr_t)(ptr) | ((flags) & IOB_FLAGS_MASK)); \ + } while (0) +#define IOB_FLAG_TEST(iob, flag) (IOB_FLAG_GET(iob) & (flag)) #ifdef CONFIG_IOB_ALLOC # define IOB_BUFSIZE(p) ((p)->io_bufsize) @@ -152,32 +174,17 @@ struct iob_s #endif }; -#if CONFIG_IOB_NCHAINS > 0 -/* This container structure supports queuing of I/O buffer chains. This - * structure is intended only for internal use by the IOB module. +/* The I/O buffer queue head structure. + * Now directly links IOB chains without separate qentry allocation. */ -struct iob_qentry_s -{ - /* Singly-link list support */ - - FAR struct iob_qentry_s *qe_flink; - - /* Payload -- Head of the I/O buffer chain */ - - FAR struct iob_s *qe_head; -}; - -/* The I/O buffer queue head structure */ - struct iob_queue_s { /* Head of the I/O buffer chain list */ - FAR struct iob_qentry_s *qh_head; - FAR struct iob_qentry_s *qh_tail; + FAR struct iob_s *qh_head; + FAR struct iob_s *qh_tail; }; -#endif /* CONFIG_IOB_NCHAINS > 0 */ struct iob_stats_s { @@ -406,9 +413,7 @@ void iob_free_chain(FAR struct iob_s *iob); * ****************************************************************************/ -#if CONFIG_IOB_NCHAINS > 0 int iob_add_queue(FAR struct iob_s *iob, FAR struct iob_queue_s *iobq); -#endif /* CONFIG_IOB_NCHAINS > 0 */ /**************************************************************************** * Name: iob_tryadd_queue @@ -419,9 +424,7 @@ int iob_add_queue(FAR struct iob_s *iob, FAR struct iob_queue_s *iobq); * ****************************************************************************/ -#if CONFIG_IOB_NCHAINS > 0 int iob_tryadd_queue(FAR struct iob_s *iob, FAR struct iob_queue_s *iobq); -#endif /* CONFIG_IOB_NCHAINS > 0 */ /**************************************************************************** * Name: iob_concat_queue @@ -431,10 +434,8 @@ int iob_tryadd_queue(FAR struct iob_s *iob, FAR struct iob_queue_s *iobq); * ****************************************************************************/ -#if CONFIG_IOB_NCHAINS > 0 int iob_concat_queue(FAR struct iob_queue_s *dest, FAR struct iob_queue_s *src); -#endif /* CONFIG_IOB_NCHAINS > 0 */ /**************************************************************************** * Name: iob_remove_queue @@ -447,9 +448,7 @@ int iob_concat_queue(FAR struct iob_queue_s *dest, * ****************************************************************************/ -#if CONFIG_IOB_NCHAINS > 0 FAR struct iob_s *iob_remove_queue(FAR struct iob_queue_s *iobq); -#endif /* CONFIG_IOB_NCHAINS > 0 */ /**************************************************************************** * Name: iob_peek_queue @@ -466,9 +465,7 @@ FAR struct iob_s *iob_remove_queue(FAR struct iob_queue_s *iobq); * ****************************************************************************/ -#if CONFIG_IOB_NCHAINS > 0 FAR struct iob_s *iob_peek_queue(FAR struct iob_queue_s *iobq); -#endif /**************************************************************************** * Name: iob_free_queue @@ -478,9 +475,7 @@ FAR struct iob_s *iob_peek_queue(FAR struct iob_queue_s *iobq); * ****************************************************************************/ -#if CONFIG_IOB_NCHAINS > 0 void iob_free_queue(FAR struct iob_queue_s *qhead); -#endif /* CONFIG_IOB_NCHAINS > 0 */ /**************************************************************************** * Name: iob_free_queue_qentry @@ -490,10 +485,8 @@ void iob_free_queue(FAR struct iob_queue_s *qhead); * ****************************************************************************/ -#if CONFIG_IOB_NCHAINS > 0 void iob_free_queue_qentry(FAR struct iob_s *iob, FAR struct iob_queue_s *iobq); -#endif /* CONFIG_IOB_NCHAINS > 0 */ /**************************************************************************** * Name: iob_get_queue_size @@ -503,10 +496,8 @@ void iob_free_queue_qentry(FAR struct iob_s *iob, * ****************************************************************************/ -#if CONFIG_IOB_NCHAINS > 0 unsigned int iob_get_queue_size(FAR struct iob_queue_s *queue); unsigned int iob_get_queue_entry_count(FAR struct iob_queue_s *queue); -#endif /* CONFIG_IOB_NCHAINS > 0 */ /**************************************************************************** * Name: iob_copyin @@ -669,10 +660,8 @@ FAR struct iob_s *iob_trimhead(FAR struct iob_s *iob, unsigned int trimlen); * ****************************************************************************/ -#if CONFIG_IOB_NCHAINS > 0 FAR struct iob_s *iob_trimhead_queue(FAR struct iob_queue_s *qhead, unsigned int trimlen); -#endif /**************************************************************************** * Name: iob_trimtail diff --git a/mm/iob/CMakeLists.txt b/mm/iob/CMakeLists.txt index 618faf2f504..a743b150f82 100644 --- a/mm/iob/CMakeLists.txt +++ b/mm/iob/CMakeLists.txt @@ -25,7 +25,6 @@ if(CONFIG_MM_IOB) set(SRCS iob_add_queue.c iob_alloc.c - iob_alloc_qentry.c iob_clone.c iob_concat.c iob_copyin.c @@ -33,7 +32,6 @@ if(CONFIG_MM_IOB) iob_contig.c iob_free.c iob_free_chain.c - iob_free_qentry.c iob_free_queue.c iob_initialize.c iob_pack.c diff --git a/mm/iob/Kconfig b/mm/iob/Kconfig index 07b0164941c..9e260724ada 100644 --- a/mm/iob/Kconfig +++ b/mm/iob/Kconfig @@ -68,24 +68,6 @@ config IOB_SECTION The section where iob buffer is located. The section must be zero-initialized on system boot. -config IOB_NCHAINS - int "Number of pre-allocated I/O buffer chain heads" - default 0 if !NET_READAHEAD - default IOB_NBUFFERS if NET_READAHEAD - ---help--- - These tiny nodes are used as "containers" to support queueing of - I/O buffer chains. This will limit the number of I/O transactions - that can be "in-flight" at any give time. The default value of - zero disables this features. - - These generic I/O buffer chain containers are not currently used - by any logic in NuttX. That is because their other specialized - I/O buffer chain containers that also carry a payload of usage - specific information. - - Note: TCP and UDP don't use this. - Note: ICMP/ICMPv6 and CAN use this. - config IOB_THROTTLE int "I/O buffer throttle value" default 0 if !NET_WRITE_BUFFERS || !NET_READAHEAD diff --git a/mm/iob/Make.defs b/mm/iob/Make.defs index 48de566e43c..c02c9e9167b 100644 --- a/mm/iob/Make.defs +++ b/mm/iob/Make.defs @@ -24,14 +24,13 @@ ifeq ($(CONFIG_MM_IOB),y) # Include IOB source files -CSRCS += iob_add_queue.c iob_alloc.c iob_alloc_qentry.c iob_clone.c +CSRCS += iob_add_queue.c iob_alloc.c iob_clone.c CSRCS += iob_concat.c iob_copyin.c iob_copyout.c iob_contig.c iob_free.c -CSRCS += iob_free_chain.c iob_free_qentry.c iob_free_queue.c +CSRCS += iob_free_chain.c iob_free_queue.c iob_count.c CSRCS += iob_initialize.c iob_pack.c iob_peek_queue.c iob_remove_queue.c CSRCS += iob_statistics.c iob_trimhead.c iob_trimhead_queue.c iob_trimtail.c CSRCS += iob_navail.c iob_free_queue_qentry.c iob_tailroom.c CSRCS += iob_get_queue_info.c iob_reserve.c iob_update_pktlen.c -CSRCS += iob_count.c ifeq ($(CONFIG_IOB_NOTIFIER),y) CSRCS += iob_notifier.c diff --git a/mm/iob/iob.h b/mm/iob/iob.h index f2517d6490f..6c4a03deebf 100644 --- a/mm/iob/iob.h +++ b/mm/iob/iob.h @@ -63,16 +63,6 @@ extern FAR struct iob_s *g_iob_freelist; extern FAR struct iob_s *g_iob_committed; -#if CONFIG_IOB_NCHAINS > 0 -/* A list of all free, unallocated I/O buffer queue containers */ - -extern FAR struct iob_qentry_s *g_iob_freeqlist; - -/* A list of I/O buffer queue containers that are committed for allocation */ - -extern FAR struct iob_qentry_s *g_iob_qcommitted; -#endif - /* semaphores that IOBs need wait */ extern sem_t g_iob_sem; @@ -88,13 +78,6 @@ extern sem_t g_throttle_sem; extern int16_t g_throttle_wait; #endif -#if CONFIG_IOB_NCHAINS > 0 -extern sem_t g_qentry_sem; - -/* Wait Counts for qentry */ - -extern int16_t g_qentry_wait; -#endif extern volatile spinlock_t g_iob_lock; @@ -102,41 +85,6 @@ extern volatile spinlock_t g_iob_lock; * Public Function Prototypes ****************************************************************************/ -/**************************************************************************** - * Name: iob_alloc_qentry - * - * Description: - * Allocate an I/O buffer chain container by taking the buffer at the head - * of the free list. This function is intended only for internal use by - * the IOB module. - * - ****************************************************************************/ - -FAR struct iob_qentry_s *iob_alloc_qentry(void); - -/**************************************************************************** - * Name: iob_tryalloc_qentry - * - * Description: - * Try to allocate an I/O buffer chain container by taking the buffer at - * the head of the free list without waiting for the container to become - * free. This function is intended only for internal use by the IOB module. - * - ****************************************************************************/ - -FAR struct iob_qentry_s *iob_tryalloc_qentry(void); - -/**************************************************************************** - * Name: iob_free_qentry - * - * Description: - * Free the I/O buffer chain container by returning it to the free list. - * The link to the next I/O buffer in the chain is return. - * - ****************************************************************************/ - -FAR struct iob_qentry_s *iob_free_qentry(FAR struct iob_qentry_s *iobq); - /**************************************************************************** * Name: iob_notifier_signal * diff --git a/mm/iob/iob_add_queue.c b/mm/iob/iob_add_queue.c index e5f05c725c1..4b2231e1249 100644 --- a/mm/iob/iob_add_queue.c +++ b/mm/iob/iob_add_queue.c @@ -24,87 +24,63 @@ * Included Files ****************************************************************************/ -#include <nuttx/config.h> - #include <assert.h> -#include <errno.h> -#include <nuttx/debug.h> -#include <nuttx/irq.h> -#include <nuttx/arch.h> #include <nuttx/mm/iob.h> #include "iob.h" -#if CONFIG_IOB_NCHAINS > 0 - /**************************************************************************** - * Private Functions + * Public Functions ****************************************************************************/ /**************************************************************************** - * Name: iob_add_queue_internal + * Name: iob_add_queue * * Description: - * Add one I/O buffer chain to the end of a queue. May fail due to lack - * of resources. + * Add one I/O buffer chain to the end of a queue. * ****************************************************************************/ -static int iob_add_queue_internal(FAR struct iob_s *iob, - FAR struct iob_queue_s *iobq, - FAR struct iob_qentry_s *qentry) +int iob_add_queue(FAR struct iob_s *iob, FAR struct iob_queue_s *iobq) { - /* Add the I/O buffer chain to the container */ + FAR struct iob_s *last; - qentry->qe_head = iob; + DEBUGASSERT(iob != NULL && iobq != NULL); - /* Add the container to the end of the queue */ + /* Find the last IOB in this chain */ - qentry->qe_flink = NULL; - - if (!iobq->qh_head) - { - iobq->qh_head = qentry; - iobq->qh_tail = qentry; - } - else + last = iob; + while (IOB_LINK_GET(last) != NULL) { - DEBUGASSERT(iobq->qh_tail); - iobq->qh_tail->qe_flink = qentry; - iobq->qh_tail = qentry; + last = IOB_LINK_GET(last); } - return 0; -} - -/**************************************************************************** - * Public Functions - ****************************************************************************/ + /* Mark this IOB as the end of a chain in the queue using + * io_flink low bits + */ -/**************************************************************************** - * Name: iob_add_queue - * - * Description: - * Add one I/O buffer chain to the end of a queue. May fail due to lack - * of resources. - * - ****************************************************************************/ + IOB_FLAG_SET(last, NULL, IOB_CHAIN_END); -int iob_add_queue(FAR struct iob_s *iob, FAR struct iob_queue_s *iobq) -{ - FAR struct iob_qentry_s *qentry; + /* Add to the end of the queue */ - /* Allocate a container to hold the I/O buffer chain */ + if (iobq->qh_head == NULL) + { + /* Empty queue */ - qentry = iob_alloc_qentry(); - if (!qentry) + iobq->qh_head = iob; + iobq->qh_tail = last; + } + else { - ioberr("ERROR: Failed to allocate a container\n"); - return -ENOMEM; + /* Link after current tail, setting the chain end flag */ + + DEBUGASSERT(iobq->qh_tail != NULL); + IOB_FLAG_SET(iobq->qh_tail, iob, IOB_CHAIN_END); + iobq->qh_tail = last; } - return iob_add_queue_internal(iob, iobq, qentry); + return 0; } /**************************************************************************** @@ -118,18 +94,9 @@ int iob_add_queue(FAR struct iob_s *iob, FAR struct iob_queue_s *iobq) int iob_tryadd_queue(FAR struct iob_s *iob, FAR struct iob_queue_s *iobq) { - FAR struct iob_qentry_s *qentry; - - /* Allocate a container to hold the I/O buffer chain */ + /* No resource allocation needed, just call iob_add_queue */ - qentry = iob_tryalloc_qentry(); - if (!qentry) - { - ioberr("ERROR: Failed to allocate a container\n"); - return -ENOMEM; - } - - return iob_add_queue_internal(iob, iobq, qentry); + return iob_add_queue(iob, iobq); } /**************************************************************************** @@ -143,33 +110,34 @@ int iob_tryadd_queue(FAR struct iob_s *iob, FAR struct iob_queue_s *iobq) int iob_concat_queue(FAR struct iob_queue_s *dest, FAR struct iob_queue_s *src) { - FAR struct iob_qentry_s *qentry; - FAR struct iob_qentry_s *tailq; + FAR struct iob_s *iob; + FAR struct iob_s *tail; - /* Detach the list from the queue head so first for safety (should be safe - * anyway). - */ + /* Detach the list from the source queue */ - qentry = src->qh_head; - tailq = src->qh_tail; + iob = src->qh_head; + tail = src->qh_tail; src->qh_head = NULL; src->qh_tail = NULL; - if (qentry) + if (iob != NULL) { - if (!dest->qh_head) + if (dest->qh_head == NULL) { - dest->qh_head = qentry; - dest->qh_tail = tailq; + /* Destination queue is empty */ + + dest->qh_head = iob; + dest->qh_tail = tail; } else { - DEBUGASSERT(dest->qh_tail); - dest->qh_tail->qe_flink = qentry; - dest->qh_tail = tailq; + /* Link source to destination tail, preserving CHAIN_END flag */ + + DEBUGASSERT(dest->qh_tail != NULL); + IOB_FLAG_SET(dest->qh_tail, iob, IOB_CHAIN_END); + dest->qh_tail = tail; } } return 0; } -#endif /* CONFIG_IOB_NCHAINS > 0 */ diff --git a/mm/iob/iob_alloc_qentry.c b/mm/iob/iob_alloc_qentry.c deleted file mode 100644 index d4ae2fff137..00000000000 --- a/mm/iob/iob_alloc_qentry.c +++ /dev/null @@ -1,221 +0,0 @@ -/**************************************************************************** - * mm/iob/iob_alloc_qentry.c - * - * SPDX-License-Identifier: Apache-2.0 - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. The - * ASF licenses this file to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance with the - * License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the - * License for the specific language governing permissions and limitations - * under the License. - * - ****************************************************************************/ - -/**************************************************************************** - * Included Files - ****************************************************************************/ - -#include <nuttx/config.h> - -#include <assert.h> -#include <errno.h> - -#include <nuttx/irq.h> -#include <nuttx/arch.h> -#include <nuttx/mm/iob.h> - -#include "iob.h" - -#if CONFIG_IOB_NCHAINS > 0 - -/**************************************************************************** - * Private Functions - ****************************************************************************/ - -/**************************************************************************** - * Name: iob_alloc_qcommitted - * - * Description: - * Allocate an I/O buffer by taking the buffer at the head of the committed - * list. - * - ****************************************************************************/ - -static FAR struct iob_qentry_s *iob_alloc_qcommitted(void) -{ - FAR struct iob_qentry_s *iobq = NULL; - irqstate_t flags; - - /* We don't know what context we are called from so we use extreme measures - * to protect the committed list: We disable interrupts very briefly. - */ - - flags = spin_lock_irqsave(&g_iob_lock); - - /* Take the I/O buffer from the head of the committed list */ - - iobq = g_iob_qcommitted; - if (iobq != NULL) - { - /* Remove the I/O buffer from the committed list */ - - g_iob_qcommitted = iobq->qe_flink; - - /* Put the I/O buffer in a known state */ - - iobq->qe_head = NULL; /* Nothing is contained */ - } - - spin_unlock_irqrestore(&g_iob_lock, flags); - return iobq; -} - -static FAR struct iob_qentry_s *iob_tryalloc_qentry_internal(void) -{ - FAR struct iob_qentry_s *iobq; - - /* We don't know what context we are called from so we use extreme measures - * to protect the free list: We disable interrupts very briefly. - */ - - iobq = g_iob_freeqlist; - if (iobq) - { - /* Remove the I/O buffer chain container from the free list and - * decrement the counting semaphore that tracks the number of free - * containers. - */ - - g_iob_freeqlist = iobq->qe_flink; - - /* Put the I/O buffer in a known state */ - - iobq->qe_head = NULL; /* Nothing is contained */ - } - - return iobq; -} - -/**************************************************************************** - * Name: iob_allocwait_qentry - * - * Description: - * Allocate an I/O buffer chain container by taking the buffer at the head - * of the free list. This function is intended only for internal use by - * the IOB module. - * - ****************************************************************************/ - -static FAR struct iob_qentry_s *iob_allocwait_qentry(void) -{ - FAR struct iob_qentry_s *qentry; - irqstate_t flags; - int ret = OK; - - /* The following must be atomic; interrupt must be disabled so that there - * is no conflict with interrupt level I/O buffer chain container - * allocations. This is not as bad as it sounds because interrupts will be - * re-enabled while we are waiting for I/O buffers to become free. - */ - - flags = spin_lock_irqsave(&g_iob_lock); - - /* Try to get an I/O buffer chain container. */ - - qentry = iob_tryalloc_qentry_internal(); - if (qentry == NULL) - { - /* If not successful, We need to wait - * for an I/O buffer chain container to be released - */ - - g_qentry_wait++; - spin_unlock_irqrestore(&g_iob_lock, flags); - ret = nxsem_wait_uninterruptible(&g_qentry_sem); - if (ret >= 0) - { - /* When we wake up from wait successfully, an I/O buffer chain - * container was freed and we hold a count for one IOB. Unless - * something failed, we should have an IOB waiting for us in the - * committed list. - */ - - qentry = iob_alloc_qcommitted(); - DEBUGASSERT(qentry != NULL); - } - - return qentry; - } - - spin_unlock_irqrestore(&g_iob_lock, flags); - - return qentry; -} - -/**************************************************************************** - * Public Functions - ****************************************************************************/ - -/**************************************************************************** - * Name: iob_alloc_qentry - * - * Description: - * Allocate an I/O buffer chain container by taking the buffer at the head - * of the free list. This function is intended only for internal use by - * the IOB module. - * - ****************************************************************************/ - -FAR struct iob_qentry_s *iob_alloc_qentry(void) -{ - /* Were we called from the interrupt level? */ - - if (up_interrupt_context() || sched_idletask()) - { - /* Yes, then try to allocate an I/O buffer without waiting */ - - return iob_tryalloc_qentry(); - } - else - { - /* Then allocate an I/O buffer, waiting as necessary */ - - return iob_allocwait_qentry(); - } -} - -/**************************************************************************** - * Name: iob_tryalloc_qentry - * - * Description: - * Try to allocate an I/O buffer chain container by taking the buffer at - * the head of the free list without waiting for the container to become - * free. This function is intended only for internal use by the IOB module. - * - ****************************************************************************/ - -FAR struct iob_qentry_s *iob_tryalloc_qentry(void) -{ - FAR struct iob_qentry_s *iobq; - irqstate_t flags; - - /* We don't know what context we are called from so we use extreme measures - * to protect the free list: We disable interrupts very briefly. - */ - - flags = spin_lock_irqsave(&g_iob_lock); - iobq = iob_tryalloc_qentry_internal(); - spin_unlock_irqrestore(&g_iob_lock, flags); - return iobq; -} - -#endif /* CONFIG_IOB_NCHAINS > 0 */ diff --git a/mm/iob/iob_free_qentry.c b/mm/iob/iob_free_qentry.c deleted file mode 100644 index 489cb884492..00000000000 --- a/mm/iob/iob_free_qentry.c +++ /dev/null @@ -1,91 +0,0 @@ -/**************************************************************************** - * mm/iob/iob_free_qentry.c - * - * SPDX-License-Identifier: Apache-2.0 - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. The - * ASF licenses this file to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance with the - * License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the - * License for the specific language governing permissions and limitations - * under the License. - * - ****************************************************************************/ - -/**************************************************************************** - * Included Files - ****************************************************************************/ - -#include <nuttx/config.h> - -#include <assert.h> - -#include <nuttx/irq.h> -#include <nuttx/arch.h> -#include <nuttx/mm/iob.h> - -#include "iob.h" - -#if CONFIG_IOB_NCHAINS > 0 - -/**************************************************************************** - * Public Functions - ****************************************************************************/ - -/**************************************************************************** - * Name: iob_free_qentry - * - * Description: - * Free the I/O buffer chain container by returning it to the free list. - * The link to the next I/O buffer in the chain is return. - * - ****************************************************************************/ - -FAR struct iob_qentry_s *iob_free_qentry(FAR struct iob_qentry_s *iobq) -{ - FAR struct iob_qentry_s *nextq = iobq->qe_flink; - irqstate_t flags; - - /* Free the I/O buffer chain container by adding it to the head of the - * free or the committed list. We don't know what context we are called - * from so we use extreme measures to protect the free list: We disable - * interrupts very briefly. - */ - - flags = spin_lock_irqsave(&g_iob_lock); - - /* Which list? If there is a task waiting for an IOB chain, then put - * the IOB chain on either the free list or on the committed list where - * it is reserved for that allocation (and not available to - * iob_tryalloc_qentry()). - */ - - if (g_qentry_wait > 0) - { - iobq->qe_flink = g_iob_qcommitted; - g_iob_qcommitted = iobq; - g_qentry_wait--; - spin_unlock_irqrestore(&g_iob_lock, flags); - nxsem_post(&g_qentry_sem); - } - else - { - iobq->qe_flink = g_iob_freeqlist; - g_iob_freeqlist = iobq; - spin_unlock_irqrestore(&g_iob_lock, flags); - } - - /* And return the I/O buffer chain container after the one that was freed */ - - return nextq; -} - -#endif /* CONFIG_IOB_NCHAINS > 0 */ diff --git a/mm/iob/iob_free_queue.c b/mm/iob/iob_free_queue.c index ac320f22343..6318c3018c7 100644 --- a/mm/iob/iob_free_queue.c +++ b/mm/iob/iob_free_queue.c @@ -24,16 +24,10 @@ * Included Files ****************************************************************************/ -#include <nuttx/config.h> - -#include <assert.h> - #include <nuttx/mm/iob.h> #include "iob.h" -#if CONFIG_IOB_NCHAINS > 0 - /**************************************************************************** * Public Functions ****************************************************************************/ @@ -48,38 +42,43 @@ void iob_free_queue(FAR struct iob_queue_s *qhead) { - FAR struct iob_qentry_s *iobq; - FAR struct iob_qentry_s *nextq; FAR struct iob_s *iob; + FAR struct iob_s *next_chain; + FAR struct iob_s *last; - /* Detach the list from the queue head so first for safety (should be safe - * anyway). - */ + /* Detach the list from the queue head */ - iobq = qhead->qh_head; + iob = qhead->qh_head; qhead->qh_head = NULL; + qhead->qh_tail = NULL; - /* Remove each I/O buffer chain from the queue */ + /* Free each I/O buffer chain */ - while (iobq) + while (iob != NULL) { - /* Remove the I/O buffer chain from the head of the queue and - * discard the queue container. - */ + /* Find the last IOB in this chain */ + + last = iob; + while (!IOB_FLAG_TEST(last, IOB_CHAIN_END)) + { + last = IOB_LINK_GET(last); + } - iob = iobq->qe_head; - DEBUGASSERT(iob); + /* Save next chain head before freeing */ - /* Remove the queue container from the list and discard it */ + next_chain = IOB_LINK_GET(last); - nextq = iobq->qe_flink; - iob_free_qentry(iobq); - iobq = nextq; + /* Detach this chain */ - /* Free the I/O chain */ + last->io_flink = NULL; + + /* Free this chain */ iob_free_chain(iob); + + /* Move to next chain */ + + iob = next_chain; } } -#endif /* CONFIG_IOB_NCHAINS > 0 */ diff --git a/mm/iob/iob_free_queue_qentry.c b/mm/iob/iob_free_queue_qentry.c index 511355f048e..5212b73886d 100644 --- a/mm/iob/iob_free_queue_qentry.c +++ b/mm/iob/iob_free_queue_qentry.c @@ -24,17 +24,10 @@ * Included Files ****************************************************************************/ -#include <nuttx/config.h> -#include <assert.h> - -#include <nuttx/irq.h> -#include <nuttx/arch.h> #include <nuttx/mm/iob.h> #include "iob.h" -#if CONFIG_IOB_NCHAINS > 0 - /**************************************************************************** * Public Functions ****************************************************************************/ @@ -43,48 +36,80 @@ * Name: iob_free_queue_qentry * * Description: - * Free an iob entire queue of I/O buffer chains. + * Free an IOB chain and remove it from the queue. * ****************************************************************************/ void iob_free_queue_qentry(FAR struct iob_s *iob, FAR struct iob_queue_s *iobq) { - FAR struct iob_qentry_s *prev = NULL; - FAR struct iob_qentry_s *qentry; + FAR struct iob_s *prev = NULL; + FAR struct iob_s *cur; + FAR struct iob_s *last; + + /* Iterate through all chains in the queue */ - for (qentry = iobq->qh_head; qentry != NULL; - prev = qentry, qentry = qentry->qe_flink) + cur = iobq->qh_head; + while (cur != NULL) { - /* Find head of the I/O buffer chain */ + /* Check if this is the target chain */ - if (qentry->qe_head == iob) + if (cur == iob) { + /* Find the last IOB in this chain */ + + last = cur; + while (!IOB_FLAG_TEST(last, IOB_CHAIN_END)) + { + last = IOB_LINK_GET(last); + } + + /* Unlink this chain from the queue */ + if (prev == NULL) { - iobq->qh_head = qentry->qe_flink; + /* Removing from head */ + + iobq->qh_head = IOB_LINK_GET(last); } else { - prev->qe_flink = qentry->qe_flink; + /* Link previous chain to next chain */ + + IOB_FLAG_SET(prev, IOB_LINK_GET(last), IOB_CHAIN_END); } - if (iobq->qh_tail == qentry) + /* Update tail if necessary */ + + if (iobq->qh_tail == last) { iobq->qh_tail = prev; } - /* Remove the queue container */ + /* Detach this chain */ - iob_free_qentry(qentry); + last->io_flink = NULL; - /* Free the I/O chain */ + /* Free the I/O buffer chain */ iob_free_chain(iob); - break; + return; + } + + /* Skip to the end of this chain */ + + while (!IOB_FLAG_TEST(cur, IOB_CHAIN_END)) + { + cur = IOB_LINK_GET(cur); } + + /* Save as prev for next iteration */ + + prev = cur; + + /* Move to next chain */ + + cur = IOB_LINK_GET(cur); } } - -#endif /* CONFIG_IOB_NCHAINS > 0 */ diff --git a/mm/iob/iob_get_queue_info.c b/mm/iob/iob_get_queue_info.c index 38f49dbd0de..74b24d03ea7 100644 --- a/mm/iob/iob_get_queue_info.c +++ b/mm/iob/iob_get_queue_info.c @@ -24,11 +24,9 @@ * Included Files ****************************************************************************/ -#include <nuttx/config.h> #include <nuttx/mm/iob.h> -#include "iob.h" -#if CONFIG_IOB_NCHAINS > 0 +#include "iob.h" /**************************************************************************** * Public Functions @@ -44,14 +42,28 @@ unsigned int iob_get_queue_size(FAR struct iob_queue_s *queue) { - FAR struct iob_qentry_s *iobq; - unsigned int total = 0; FAR struct iob_s *iob; + unsigned int total = 0; + + /* Iterate through all chains in the queue */ - for (iobq = queue->qh_head; iobq != NULL; iobq = iobq->qe_flink) + iob = queue->qh_head; + while (iob != NULL) { - iob = iobq->qe_head; + /* Add this chain's packet length */ + total += iob->io_pktlen; + + /* Move to next chain (skip to chain boundary) */ + + while (!IOB_FLAG_TEST(iob, IOB_CHAIN_END)) + { + iob = IOB_LINK_GET(iob); + } + + /* Move to next chain head */ + + iob = IOB_LINK_GET(iob); } return total; @@ -67,13 +79,29 @@ unsigned int iob_get_queue_size(FAR struct iob_queue_s *queue) unsigned int iob_get_queue_entry_count(FAR struct iob_queue_s *queue) { - FAR struct iob_qentry_s *iobq; - unsigned int count; + FAR struct iob_s *iob; + unsigned int count = 0; + + /* Iterate through all chains in the queue */ + + iob = queue->qh_head; + while (iob != NULL) + { + /* Count this chain */ + + count++; - for (iobq = queue->qh_head, count = 0; iobq != NULL; - iobq = iobq->qe_flink, count++); + /* Skip to chain boundary */ + + while (!IOB_FLAG_TEST(iob, IOB_CHAIN_END)) + { + iob = IOB_LINK_GET(iob); + } + + /* Move to next chain head */ + + iob = IOB_LINK_GET(iob); + } return count; } - -#endif /* CONFIG_IOB_NCHAINS > 0 */ diff --git a/mm/iob/iob_initialize.c b/mm/iob/iob_initialize.c index 02aad9bbfe0..5cf146a7942 100644 --- a/mm/iob/iob_initialize.c +++ b/mm/iob/iob_initialize.c @@ -64,12 +64,6 @@ static uint8_t g_iob_buffer[IOB_BUFFER_SIZE] locate_data(IOB_SECTION); static uint8_t g_iob_buffer[IOB_BUFFER_SIZE]; #endif -#if CONFIG_IOB_NCHAINS > 0 -/* This is a pool of pre-allocated iob_qentry_s buffers */ - -static struct iob_qentry_s g_iob_qpool[CONFIG_IOB_NCHAINS]; -#endif - /**************************************************************************** * Public Data ****************************************************************************/ @@ -82,19 +76,9 @@ FAR struct iob_s *g_iob_freelist; FAR struct iob_s *g_iob_committed; -#if CONFIG_IOB_NCHAINS > 0 -/* A list of all free, unallocated I/O buffer queue containers */ - -FAR struct iob_qentry_s *g_iob_freeqlist; - -/* A list of I/O buffer queue containers that are committed for allocation */ - -FAR struct iob_qentry_s *g_iob_qcommitted; -#endif - sem_t g_iob_sem = SEM_INITIALIZER(0); -/* Counting that tracks the number of free IOBs/qentries */ +/* Counting that tracks the number of free IOBs */ int16_t g_iob_count = CONFIG_IOB_NBUFFERS; @@ -107,14 +91,6 @@ sem_t g_throttle_sem = SEM_INITIALIZER(0); int16_t g_throttle_wait = 0; #endif -#if CONFIG_IOB_NCHAINS > 0 -sem_t g_qentry_sem = SEM_INITIALIZER(0); - -/* Wait Counts for qentry */ - -int16_t g_qentry_wait = 0; -#endif - volatile spinlock_t g_iob_lock = SP_UNLOCKED; /**************************************************************************** @@ -149,6 +125,8 @@ void iob_initialize(void) { FAR struct iob_s *iob = (FAR struct iob_s *)(buf + i * IOB_ALIGN_SIZE); + DEBUGASSERT(((uintptr_t)iob & IOB_FLAGS_MASK) == 0); + /* Add the pre-allocate I/O buffer to the head of the free list */ iob->io_flink = g_iob_freelist; @@ -158,20 +136,4 @@ void iob_initialize(void) #endif g_iob_freelist = iob; } - -#if CONFIG_IOB_NCHAINS > 0 - /* Add each I/O buffer chain queue container to the free list */ - - for (i = 0; i < CONFIG_IOB_NCHAINS; i++) - { - FAR struct iob_qentry_s *iobq = &g_iob_qpool[i]; - - /* Add the pre-allocate buffer container to the head of the free - * list - */ - - iobq->qe_flink = g_iob_freeqlist; - g_iob_freeqlist = iobq; - } -#endif } diff --git a/mm/iob/iob_peek_queue.c b/mm/iob/iob_peek_queue.c index a072f59285d..0c1886d56ea 100644 --- a/mm/iob/iob_peek_queue.c +++ b/mm/iob/iob_peek_queue.c @@ -24,16 +24,10 @@ * Included Files ****************************************************************************/ -#include <nuttx/config.h> - -#include <nuttx/debug.h> - #include <nuttx/mm/iob.h> #include "iob.h" -#if CONFIG_IOB_NCHAINS > 0 - /**************************************************************************** * Public Functions ****************************************************************************/ @@ -55,20 +49,8 @@ FAR struct iob_s *iob_peek_queue(FAR struct iob_queue_s *iobq) { - FAR struct iob_qentry_s *qentry; - FAR struct iob_s *iob = NULL; - - /* Peek at the I/O buffer chain container at the head of the queue */ - - qentry = iobq->qh_head; - if (qentry) - { - /* Return the I/O buffer chain from the container */ - - iob = qentry->qe_head; - } + /* Return the I/O buffer chain at the head of the queue */ - return iob; + return iobq->qh_head; } -#endif /* CONFIG_IOB_NCHAINS > 0 */ diff --git a/mm/iob/iob_remove_queue.c b/mm/iob/iob_remove_queue.c index 5c2aabc0e34..bfda81739f7 100644 --- a/mm/iob/iob_remove_queue.c +++ b/mm/iob/iob_remove_queue.c @@ -24,18 +24,10 @@ * Included Files ****************************************************************************/ -#include <nuttx/config.h> - -#include <nuttx/debug.h> - -#include <nuttx/irq.h> -#include <nuttx/arch.h> #include <nuttx/mm/iob.h> #include "iob.h" -#if CONFIG_IOB_NCHAINS > 0 - /**************************************************************************** * Public Functions ****************************************************************************/ @@ -53,29 +45,34 @@ FAR struct iob_s *iob_remove_queue(FAR struct iob_queue_s *iobq) { - FAR struct iob_qentry_s *qentry; - FAR struct iob_s *iob = NULL; + FAR struct iob_s *iob; + FAR struct iob_s *last; - /* Remove the I/O buffer chain from the head of the queue */ + /* Get the I/O buffer chain from the head of the queue */ - qentry = iobq->qh_head; - if (qentry) + iob = iobq->qh_head; + if (iob != NULL) { - iobq->qh_head = qentry->qe_flink; - if (!iobq->qh_head) + /* Find the last IOB in this chain (marked with IOB_CHAIN_END) */ + + last = iob; + while (!IOB_FLAG_TEST(last, IOB_CHAIN_END)) + { + last = IOB_LINK_GET(last); + } + + /* Update queue head to next chain (or NULL) */ + + iobq->qh_head = IOB_LINK_GET(last); + if (iobq->qh_head == NULL) { iobq->qh_tail = NULL; } - /* Extract the I/O buffer chain from the container and free the - * container. - */ + /* Detach this chain - clear io_flink (flags are in low bits) */ - iob = qentry->qe_head; - iob_free_qentry(qentry); + last->io_flink = NULL; } return iob; } - -#endif /* CONFIG_IOB_NCHAINS > 0 */ diff --git a/mm/iob/iob_trimhead_queue.c b/mm/iob/iob_trimhead_queue.c index 45b6d28be34..d0024781ab7 100644 --- a/mm/iob/iob_trimhead_queue.c +++ b/mm/iob/iob_trimhead_queue.c @@ -24,17 +24,10 @@ * Included Files ****************************************************************************/ -#include <nuttx/config.h> - -#include <assert.h> -#include <nuttx/debug.h> - #include <nuttx/mm/iob.h> #include "iob.h" -#if CONFIG_IOB_NCHAINS > 0 - /**************************************************************************** * Public Functions ****************************************************************************/ @@ -59,29 +52,20 @@ FAR struct iob_s *iob_trimhead_queue(FAR struct iob_queue_s *qhead, unsigned int trimlen) { - FAR struct iob_qentry_s *qentry; - FAR struct iob_s *iob = NULL; + FAR struct iob_s *iob; - /* Peek at the I/O buffer chain container at the head of the queue */ + /* Get the I/O buffer chain at the head of the queue */ - qentry = qhead->qh_head; - if (qentry) + iob = qhead->qh_head; + if (iob) { - /* Verify that the queue entry contains an I/O buffer chain */ + /* Trim the I/O buffer chain and update the queue head */ - iob = qentry->qe_head; - if (iob) - { - /* Trim the I/Buffer chain and update the queue head */ - - iob = iob_trimhead(iob, trimlen); - qentry->qe_head = iob; - } + iob = iob_trimhead(iob, trimlen); + qhead->qh_head = iob; } /* Return the new I/O buffer chain at the head of the queue */ return iob; } - -#endif /* CONFIG_IOB_NCHAINS > 0 */ diff --git a/net/arp/Kconfig b/net/arp/Kconfig index 7fb6e3724da..17226d649cb 100644 --- a/net/arp/Kconfig +++ b/net/arp/Kconfig @@ -89,7 +89,6 @@ config NET_ARP_SEND config NET_ARP_SEND_QUEUE bool "Iob queue in arp entry support" default n - depends on IOB_NCHAINS > 0 ---help--- Enable queue iob to arp entry when arp_out failed to wait for arp finished, then resend queue iobs. diff --git a/net/ipfrag/Kconfig b/net/ipfrag/Kconfig index 7cd6ebccfda..43a7ff884fa 100644 --- a/net/ipfrag/Kconfig +++ b/net/ipfrag/Kconfig @@ -27,7 +27,7 @@ config NET_IPFRAG bool "IP fragmentation support" default n - depends on (NET_IPv4 || NET_IPv6) && IOB_NCHAINS > 0 + depends on NET_IPv4 || NET_IPv6 ---help--- Enable support IP packet fragmentation and IP packet reassembly of fragmented IP packets.
