nuttx/net/devif
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
..
devif_callback.c net: cleanup pvconn reference to avoid confuse 2022-08-26 20:58:11 +08:00
devif_forward.c net/ipfwd: fix devif_forward after IOB offload. 2022-12-06 17:03:47 +08:00
devif_initialize.c
devif_iobsend.c net/devif: replace redundant code to iob_clone_partial() 2022-12-14 21:37:20 +08:00
devif_loopback.c net/devif_loopback: Add robustness to avoid infinite loop 2022-12-24 16:20:17 +08:00
devif_poll.c net/devif_poll: optimize device buffer alloc in txpoll 2023-01-13 16:41:10 +08:00
devif_send.c net/devif_poll: optimize device buffer alloc in txpoll 2023-01-13 16:41:10 +08:00
devif.h net/devif: reuse devif_send() for can/pkt/icmp stack 2023-01-13 16:41:10 +08:00
ipv4_input.c net/ip: return success if the packet was forwarded. 2022-12-04 15:59:43 -03:00
ipv6_input.c net/ip: return success if the packet was forwarded. 2022-12-04 15:59:43 -03:00
Make.defs net/devif: reuse devif_send() for can/pkt/icmp stack 2023-01-13 16:41:10 +08:00