nuttx/net/can
chao an 8a63d29c6e net/devif_poll: optimize device buffer alloc in txpoll
Allocate the device buffer only if the protocol really need to send data.
not all protocols require the driver to prepare additional iob before
sending, especially UDP, each iob reserves l2/l3 header in advance
after prepare write buffer, net device could reuse this entry to send directly

Signed-off-by: chao an <anchao@xiaomi.com>
2023-01-13 16:41:10 +08:00
..
can_callback.c net/can: device buffer must be clear after enqueue to readahead 2022-12-08 03:16:42 +08:00
can_conn.c Replace nxsem API when used as a lock with nxmutex API 2022-10-17 15:59:46 +09:00
can_getsockopt.c net/get/setsockopt: add si_get/setsockopt interface to simply get/setsockopt 2022-11-23 15:01:54 +08:00
can_input.c net/can: add support of iob input 2022-12-08 03:16:42 +08:00
can_notifier.c net: Author Gregory Nutt: update licenses to Apache 2021-02-20 00:38:18 -08:00
can_poll.c net/devif_poll: optimize device buffer alloc in txpoll 2023-01-13 16:41:10 +08:00
can_recvmsg.c net/l2/l3/l4: add support of iob offload 2022-12-03 11:47:04 +08:00
can_sendmsg.c net/devif: reuse devif_send() for can/pkt/icmp stack 2023-01-13 16:41:10 +08:00
can_setsockopt.c net/get/setsockopt: add si_get/setsockopt interface to simply get/setsockopt 2022-11-23 15:01:54 +08:00
can_sockif.c net/get/setsockopt: add si_get/setsockopt interface to simply get/setsockopt 2022-11-23 15:01:54 +08:00
can.h net/l2/l3/l4: add support of iob offload 2022-12-03 11:47:04 +08:00
Kconfig let NET_CAN_RAW_FILTER_MAX depends on NET_CANPROTO_OPTIONS to prevent compiler errors 2022-10-05 07:56:54 +08:00
Make.defs net/socket: move si_send/recv into sendmsg/recvmsg 2021-03-05 04:46:13 -08:00