This is an automated email from the ASF dual-hosted git repository.

xiaoxiang781216 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit b524ee71796ac9317067202c137b85c1b86b882a
Author: yintao <[email protected]>
AuthorDate: Wed Mar 4 17:17:00 2026 +0800

    drivers/rpmsg/rpmsg_router_edge: give the router endpoint its user's 
priority
    
    The edge creates its own endpoint for each user endpoint it relays, at
    the default priority, so a RPMSG_PRIO_RT user endpoint behind a router
    is not dispatched at RT priority. Copy the user endpoint's priority.
    
    Signed-off-by: yintao <[email protected]>
    Signed-off-by: Bowen Wang <[email protected]>
---
 drivers/rpmsg/rpmsg_router_edge.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/rpmsg/rpmsg_router_edge.c 
b/drivers/rpmsg/rpmsg_router_edge.c
index 8fd066dd482..a946524369f 100644
--- a/drivers/rpmsg/rpmsg_router_edge.c
+++ b/drivers/rpmsg/rpmsg_router_edge.c
@@ -432,6 +432,7 @@ rpmsg_router_edge_send_offchannel_raw(FAR struct 
rpmsg_device *rdev,
       ept->priv = usr_ept;
       ept->ns_bound_cb = rpmsg_router_edge_bound;
       ept->release_cb = rpmsg_router_edge_release;
+      rpmsg_set_priority(ept, usr_ept->priority);
 
       /* Create endpoint (r:cpu:name) for real communication */
 

Reply via email to