nuttx-update/net/can
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
..
can.h net/can: Save simple options to socket_conn_s 2024-10-13 11:24:31 +08:00
can_callback.c net/can: Save simple options to socket_conn_s 2024-10-13 11:24:31 +08:00
can_conn.c net: Add buffer pool to replace connection allocation 2024-12-23 16:57:19 -03:00
can_getsockopt.c net/can: Save simple options to socket_conn_s 2024-10-13 11:24:31 +08:00
can_input.c can: Add g_ prefix to can_dlc_to_len and len_to_can_dlc. 2024-09-18 23:50:11 +08:00
can_notifier.c net: migrate to SPDX identifier 2024-09-12 01:08:11 +08:00
can_poll.c net: migrate to SPDX identifier 2024-09-12 01:08:11 +08:00
can_recvmsg.c net/can: Save simple options to socket_conn_s 2024-10-13 11:24:31 +08:00
can_sendmsg.c net: Copy out also can cmsg data into the end of packet 2024-10-16 15:39:11 +08:00
can_setsockopt.c net/can: Save simple options to socket_conn_s 2024-10-13 11:24:31 +08:00
can_sockif.c net: migrate to SPDX identifier 2024-09-12 01:08:11 +08:00
CMakeLists.txt net: migrate to SPDX identifier 2024-09-12 01:08:11 +08:00
Kconfig Remove the tail spaces from all files except Documentation 2023-02-26 13:24:24 -08:00
Make.defs net: migrate to SPDX identifier 2024-09-12 01:08:11 +08:00