nuttx/net/procfs
Zhe Weng 075eb6a6d2 net/udp: Change conn->readahead to I/O buffer chain
When using IOB queue to store readahead data, we use one IOB for each
UDP packet. Then if the packets are very small, like 10Bytes per packet,
we'll use ~1600 IOBs just for 16KB recv buffer size, which is wasteful
and dangerous. So change conn->readahead to a single IOB chain like TCP.

Benefits:
- Using memory and IOBs more efficiently (small packets are common in
  UDP)

Side effects:
- UDP recv buffer size may count the overhead
- A little bit drop in performance (<1%, more seek & copy)

Signed-off-by: Zhe Weng <wengzhe@xiaomi.com>
2023-07-18 10:51:45 +08:00
..
CMakeLists.txt build: add initial cmake build system 2023-07-08 13:50:48 +08:00
Kconfig
Make.defs net/procfs: add udp profs support 2022-09-09 19:33:46 +08:00
net_mld.c net: Author Gregory Nutt: update licenses to Apache 2021-02-20 00:38:18 -08:00
net_procfs_route.c procfs: remove procfs_ from procfs_operations variables 2023-04-22 03:33:50 -04:00
net_procfs.c procfs: remove procfs_ from procfs_operations variables 2023-04-22 03:33:50 -04:00
net_statistics.c net: Author Gregory Nutt: update licenses to Apache 2021-02-20 00:38:18 -08:00
net_tcp.c net: Simplify the tcp/udp existence check 2023-05-03 17:40:00 +03:00
net_udp.c net/udp: Change conn->readahead to I/O buffer chain 2023-07-18 10:51:45 +08:00
netdev_statistics.c net/procfs: Support to show MTU in netdev statistics 2023-04-28 09:45:21 +08:00
procfs.h net/procfs: disable tcp/udp proc node if no stack available 2022-09-19 15:45:19 +08:00