nuttx-update/net/netlink
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
Kconfig net/netlink: Add RTM preifx notify support 2024-05-14 10:05:37 -03:00
Make.defs net: migrate to SPDX identifier 2024-09-12 01:08:11 +08:00
netlink.h netlink:add tls cleanup protection to protect waitsem in netlink_get_response 2024-11-03 02:55:43 +08:00
netlink_attr.c net: migrate to SPDX identifier 2024-09-12 01:08:11 +08:00
netlink_conn.c net: Add buffer pool to replace connection allocation 2024-12-23 16:57:19 -03:00
netlink_netfilter.c net: migrate to SPDX identifier 2024-09-12 01:08:11 +08:00
netlink_notifier.c net/netlink: fix netlink poll return value on success 2024-11-04 18:18:28 +08:00
netlink_route.c net: migrate to SPDX identifier 2024-09-12 01:08:11 +08:00
netlink_sockif.c net/netlink: improve comments 2024-11-04 18:18:28 +08:00