nuttx/drivers/rpmsg
yintao 3fb39c6fc9 drivers/rpmsg: Use optimal rx size and tx size
Use the minimal tx and rx size form two edge cpu to maintain
the transmit buffer size not exceed the edge cpus' buffer size.

[edg0] tx <---> rx0 [hub] rx1 <---> tx [edge1]
       rx <---> tx0       tx1 <---> rx

edge0_tx = min(rx0, tx1);
edge0_rx = min(tx0, rx1);

edge1_tx = min(rx1, tx0);
edge1_rx = min(tx1, rx0);

Signed-off-by: yintao <yintao@xiaomi.com>
2024-09-17 01:55:51 +08:00
..
CMakeLists.txt drivers/rpmsg: add rpmsg router support 2024-09-17 01:55:51 +08:00
Kconfig drivers/rpmsg: add rpmsg router support 2024-09-17 01:55:51 +08:00
Make.defs drivers/rpmsg: add rpmsg router support 2024-09-17 01:55:51 +08:00
rpmsg_ping.c rpmsg_ping:only sleep when ping->sleep is larger than 0 2024-09-14 17:34:52 +08:00
rpmsg_ping.h rptun_ping: Strip rptun_ping out of rptun and rename to rpmsg_ping 2024-01-30 04:08:59 -08:00
rpmsg_port_spi.c drivers/rpmsg: add get_local_cpuname to rpmsg ops 2024-09-17 01:55:51 +08:00
rpmsg_port.c drivers/rpmsg: add get_local_cpuname to rpmsg ops 2024-09-17 01:55:51 +08:00
rpmsg_port.h drivers/rpmsg: add get_local_cpuname to rpmsg ops 2024-09-17 01:55:51 +08:00
rpmsg_router_edge.c drivers/rpmsg: add get_local_cpuname to rpmsg ops 2024-09-17 01:55:51 +08:00
rpmsg_router_hub.c drivers/rpmsg: Use optimal rx size and tx size 2024-09-17 01:55:51 +08:00
rpmsg_router.h drivers/rpmsg: add rpmsg router support 2024-09-17 01:55:51 +08:00
rpmsg_virtio_ivshmem.c rpmsg_virtio_ivshmem: Replace work with wdog 2024-09-14 17:34:52 +08:00
rpmsg_virtio.c drivers/rpmsg: add get_local_cpuname to rpmsg ops 2024-09-17 01:55:51 +08:00
rpmsg.c drivers/rpmsg: add get_local_cpuname to rpmsg ops 2024-09-17 01:55:51 +08:00