From 1a52d37fc50acd479274c29c2e92b05cf32c3a6d Mon Sep 17 00:00:00 2001 From: Neale Ranns Date: Thu, 4 Feb 2021 11:33:32 +0000 Subject: ipsec: one thread index per-SA Type: improvement AN SA is uni-drectional therefore it can be used only for encrypt or decrypt, not both. So it only needs one thread ID. free up some space on the 1st cacheline. Signed-off-by: Neale Ranns Change-Id: I21cb7cff70a763cbe2bffead860b574bc80b3136 --- src/vnet/ipsec/ipsec_sa.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/vnet/ipsec/ipsec_sa.h') diff --git a/src/vnet/ipsec/ipsec_sa.h b/src/vnet/ipsec/ipsec_sa.h index 6ed71325f69..28ac93185ec 100644 --- a/src/vnet/ipsec/ipsec_sa.h +++ b/src/vnet/ipsec/ipsec_sa.h @@ -116,8 +116,8 @@ typedef struct u8 crypto_iv_size; u8 esp_block_align; u8 integ_icv_size; - u32 encrypt_thread_index; - u32 decrypt_thread_index; + u32 thread_index; + u32 __pad_u32; u32 spi; u32 seq; u32 seq_hi; -- cgit 1.2.3-korg