From: Damjan Marion Date: Thu, 13 Feb 2025 22:52:27 +0000 (+0100) Subject: ipsec: better pack outbound SA runtime data X-Git-Tag: v25.10-rc0~206 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F67%2F42367%2F2;p=vpp.git ipsec: better pack outbound SA runtime data Type: improvement Change-Id: I9a0437dcfaf5e6930bb7fa057866ea36e7ca328f Signed-off-by: Damjan Marion --- diff --git a/src/vnet/ipsec/ipsec_sa.h b/src/vnet/ipsec/ipsec_sa.h index 5ce63a5fe20..9d8c90bab41 100644 --- a/src/vnet/ipsec/ipsec_sa.h +++ b/src/vnet/ipsec/ipsec_sa.h @@ -180,20 +180,20 @@ typedef struct u16 use_anti_replay : 1; u16 drop_no_crypto : 1; u16 is_async : 1; - clib_pcg64i_random_t iv_prng; u16 cipher_op_id; u16 integ_op_id; u8 cipher_iv_size; u8 esp_block_align; u8 integ_icv_size; + ip_dscp_t t_dscp; + tunnel_encap_decap_flags_t tunnel_flags; u16 thread_index; + u16 async_op_id; u32 salt; - u64 seq64; u32 spi_be; - ip_dscp_t t_dscp; + u64 seq64; dpo_id_t dpo; - tunnel_encap_decap_flags_t tunnel_flags; - u16 async_op_id; + clib_pcg64i_random_t iv_prng; vnet_crypto_key_index_t cipher_key_index; vnet_crypto_key_index_t integ_key_index; union