ipsec: Store thread-index in buffer meta-data during SA handoff 07/31207/5
authorNeale Ranns <neale@graphiant.com>
Wed, 10 Feb 2021 08:42:49 +0000 (08:42 +0000)
committerMatthew Smith <mgsmith@netgate.com>
Fri, 12 Feb 2021 20:09:28 +0000 (20:09 +0000)
commitaa7d7662f63bfe6643b193f74288aea67f883744
treebc69b3a3be3aed942548247a19735471a0b95db9
parent088bf1dcc32fcd26dac312a5561e0f263fa401d9
ipsec: Store thread-index in buffer meta-data during SA handoff

Type: improvement

negates the need to load the SA in the handoff node.
don't prefetch the packet data, it's not needed.

Signed-off-by: Neale Ranns <neale@graphiant.com>
Change-Id: I340472dc437f050cc1c3c11dfeb47ab09c609624
src/vnet/buffer.h
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_handoff.c
src/vnet/ipsec/ipsec_sa.h