ipsec: one thread index per-SA 13/31113/1
authorNeale Ranns <neale@graphiant.com>
Thu, 4 Feb 2021 11:33:32 +0000 (11:33 +0000)
committerNeale Ranns <neale@graphiant.com>
Thu, 4 Feb 2021 11:33:32 +0000 (11:33 +0000)
commit1a52d37fc50acd479274c29c2e92b05cf32c3a6d
tree65552badb1eff7b5557e2e1a47f39553d42efada
parent38fae310843b7431136f40bfa8cf7c6bec59450f
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 <neale@graphiant.com>
Change-Id: I21cb7cff70a763cbe2bffead860b574bc80b3136
src/vnet/ipsec/ah_decrypt.c
src/vnet/ipsec/ah_encrypt.c
src/vnet/ipsec/esp_decrypt.c
src/vnet/ipsec/esp_encrypt.c
src/vnet/ipsec/ipsec_format.c
src/vnet/ipsec/ipsec_handoff.c
src/vnet/ipsec/ipsec_sa.c
src/vnet/ipsec/ipsec_sa.h