nuttx-update/net/devif
Zhe Weng 1fe07d0838 net: Add buffer pool to replace connection allocation
Our net socket connection allocations are powerful but redundant
because they're implemented once in each protocol.  This is not good for
further optimizing and extending to other allocations, so maybe we can
add a common implementation for the usage.

Impact:
1. We add a `struct net_bufpool_s` as pool descriptor, which may use a
   little bit more memory than previous implementation (~28Bytes).
2. We share same functions between pools, so code size may shrink under
   some scenarios.

Signed-off-by: Zhe Weng <wengzhe@xiaomi.com>
2024-12-23 16:57:19 -03:00
..
CMakeLists.txt net: migrate to SPDX identifier 2024-09-12 01:08:11 +08:00
devif.h devif:fix issue about devif_callback being released wrongly,resulting in no access to it 2024-09-28 16:06:36 +08:00
devif_callback.c net: Add buffer pool to replace connection allocation 2024-12-23 16:57:19 -03:00
devif_filesend.c net: migrate to SPDX identifier 2024-09-12 01:08:11 +08:00
devif_forward.c net: migrate to SPDX identifier 2024-09-12 01:08:11 +08:00
devif_initialize.c net: migrate to SPDX identifier 2024-09-12 01:08:11 +08:00
devif_iobsend.c net: migrate to SPDX identifier 2024-09-12 01:08:11 +08:00
devif_loopback.c net: migrate to SPDX identifier 2024-09-12 01:08:11 +08:00
devif_poll.c net: Copy out also can cmsg data into the end of packet 2024-10-16 15:39:11 +08:00
devif_send.c net: migrate to SPDX identifier 2024-09-12 01:08:11 +08:00
ipv4_input.c net: migrate to SPDX identifier 2024-09-12 01:08:11 +08:00
ipv6_input.c net: migrate to SPDX identifier 2024-09-12 01:08:11 +08:00
Make.defs net: migrate to SPDX identifier 2024-09-12 01:08:11 +08:00