.int_alg = AUTH_UNDEFINED,
.tfc = data->tfc,
.ipcomp = data->ipcomp,
+ .cpu = data->cpu,
.initiator = data->initiator,
.inbound = data->inbound,
.update = data->update,
goto failed;
}
+ if (data->cpu != CPU_ID_MAX)
+ {
+ if (!add_uint32(hdr, sizeof(request), XFRMA_SA_PCPU, data->cpu))
+ {
+ goto failed;
+ }
+ DBG2(DBG_KNL, " using CPU ID: %u", data->cpu);
+ }
+
if (id->proto != IPPROTO_COMP)
{
/* we don't need a replay window for outbound SAs, however, older
.ipcomp = this->ipcomp,
.cpi = cpi,
.encap = this->encap,
+ .cpu = CPU_ID_MAX,
.hw_offload = this->config->get_hw_offload(this->config),
.mark = this->config->get_set_mark(this->config, inbound),
.esn = esn,