From aa7d7662f63bfe6643b193f74288aea67f883744 Mon Sep 17 00:00:00 2001 From: Neale Ranns Date: Wed, 10 Feb 2021 08:42:49 +0000 Subject: 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 Change-Id: I340472dc437f050cc1c3c11dfeb47ab09c609624 --- src/vnet/buffer.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/vnet/buffer.h') diff --git a/src/vnet/buffer.h b/src/vnet/buffer.h index 88637e1d902..27aeb3b42ea 100644 --- a/src/vnet/buffer.h +++ b/src/vnet/buffer.h @@ -309,8 +309,11 @@ typedef struct /* interface output features */ struct { + /* don't overlap the adjcencies nor flow-hash */ + u32 __pad[3]; u32 sad_index; u32 protect_index; + u16 thread_index; } ipsec; /* MAP */ -- cgit 1.2.3-korg