Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
7bae9b0
)
session: allow session input rpcs
74/41674/3
author
Florin Coras
<
[email protected]
>
Thu, 3 Oct 2024 08:19:24 +0000
(
01:19
-0700)
committer
Florin Coras
<
[email protected]
>
Thu, 3 Oct 2024 08:02:59 +0000
(08:02 +0000)
Type: improvement
Change-Id: Ib8e9f9fb6dfc553cc9e344544961832fecbea8c1
Signed-off-by: Florin Coras <
[email protected]
>
src/vnet/session/session_input.c
patch
|
blob
|
history
diff --git
a/src/vnet/session/session_input.c
b/src/vnet/session/session_input.c
index
73b7771
..
ab9e536
100644
(file)
--- a/
src/vnet/session/session_input.c
+++ b/
src/vnet/session/session_input.c
@@
-257,6
+257,9
@@
app_worker_flush_events_inline (app_worker_t *app_wrk, u32 thread_index,
app->cb_fns.del_segment_callback (app_wrk->wrk_index,
evt->as_u64[1]);
break;
+ case SESSION_CTRL_EVT_RPC:
+ ((void (*) (session_t * s)) (evt->rpc_args.fp)) (evt->rpc_args.arg);
+ break;
default:
clib_warning ("unexpected event: %u", evt->event_type);
ASSERT (0);