child-sa: Add support for per-CPU SAs

The CPU ID is also set on inbound SAs as it can be used to configure RSS
or some eBPF program.
This commit is contained in:
Tobias Brunner
2025-05-28 16:35:26 +02:00
parent bdfcfea1f2
commit a505f4b9b0
7 changed files with 94 additions and 11 deletions
+1
View File
@@ -349,6 +349,7 @@ METHOD(trap_manager_t, install, bool,
* pass them in a later initiate() call */
.if_id_in_def = peer->get_if_id(peer, TRUE),
.if_id_out_def = peer->get_if_id(peer, FALSE),
.cpu = CPU_ID_MAX,
};
child_sa = child_sa_create(me, other, child, &child_data);