walnux/net
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
..
arp net/arp: modify some flow of arp return failure. 2024-09-30 15:43:02 +08:00
bluetooth net: Add buffer pool to replace connection allocation 2024-12-23 16:57:19 -03:00
can net: Add buffer pool to replace connection allocation 2024-12-23 16:57:19 -03:00
devif net: Add buffer pool to replace connection allocation 2024-12-23 16:57:19 -03:00
icmp net: Add buffer pool to replace connection allocation 2024-12-23 16:57:19 -03:00
icmpv6 net: Add buffer pool to replace connection allocation 2024-12-23 16:57:19 -03:00
ieee802154 net: Add buffer pool to replace connection allocation 2024-12-23 16:57:19 -03:00
igmp net:when work_cancel_sync is excuted,it releases net_lock 2024-10-13 02:05:26 +08:00
inet net: fix inet #14634 regression 2024-11-05 18:36:02 +08:00
ipfilter fix compile warning with implicit declaration of function 'icmp_reply' 2024-10-08 22:30:11 +08:00
ipforward fix compile warning with implicit declaration of function 'icmp_reply' 2024-10-08 22:30:11 +08:00
ipfrag ipfrag:fix warnig 2024-09-12 17:15:13 +08:00
local userspace: Exclude nuttx/arch.h 2024-11-01 16:59:37 +08:00
mld net: migrate to SPDX identifier 2024-09-12 01:08:11 +08:00
nat net: migrate to SPDX identifier 2024-09-12 01:08:11 +08:00
neighbor net: migrate to SPDX identifier 2024-09-12 01:08:11 +08:00
netdev net/netdev/netdev_default.c: Exclude socket can from default devices 2024-10-16 15:39:11 +08:00
netfilter fix compile warning with ipt_sockopt.c and ip6t_sockopt.c: implicit declaration of function 'popcount' 2024-10-08 22:30:11 +08:00
netlink net: Add buffer pool to replace connection allocation 2024-12-23 16:57:19 -03:00
pkt net: Add buffer pool to replace connection allocation 2024-12-23 16:57:19 -03:00
procfs net: Move NET_TCP/UDP_HAVE_STACK to netconfig.h 2024-11-21 23:07:30 +08:00
route net: migrate to SPDX identifier 2024-09-12 01:08:11 +08:00
rpmsg net/rpmsg: Don't set POLLHUP if rpmsg channel has not been established 2024-10-31 15:35:03 +08:00
sixlowpan net: migrate to SPDX identifier 2024-09-12 01:08:11 +08:00
socket net: fix inet #14634 regression 2024-11-05 18:36:02 +08:00
tcp net: Add buffer pool to replace connection allocation 2024-12-23 16:57:19 -03:00
udp net: Add buffer pool to replace connection allocation 2024-12-23 16:57:19 -03:00
usrsock net: Add buffer pool to replace connection allocation 2024-12-23 16:57:19 -03:00
utils net: Add buffer pool to replace connection allocation 2024-12-23 16:57:19 -03:00
CMakeLists.txt net: migrate to SPDX identifier 2024-09-12 01:08:11 +08:00
Kconfig usb_cdcmbim: add mbim device driver 2024-08-22 01:56:26 +08:00
Makefile Revert "build depend:Revert Make.dep intermediate ddc file" 2024-09-15 19:29:47 +08:00
net_initialize.c net: migrate to SPDX identifier 2024-09-12 01:08:11 +08:00