diff options
author | 2018-02-06 13:17:02 +0100 | |
---|---|---|
committer | 2018-02-06 14:48:23 +0100 | |
commit | 9775521a9ca1466e9a02fe4d69afafc55dcbc09c (patch) | |
tree | 413da43a7186818d6345d4b9a482f04c58089e85 | |
parent | 156b75b98035f90630abaf4a2450563364ecc011 (diff) |
Add a member to vnet_buffer union for odp based crypto
Change-Id: Ib865a59c1124a50f0bd7c6e597f45190c26fa5f9
Signed-off-by: Szymon Sliwa <szs@semihalf.com>
-rw-r--r-- | src/vnet/buffer.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/vnet/buffer.h b/src/vnet/buffer.h index ec5e2f75..a0a848c8 100644 --- a/src/vnet/buffer.h +++ b/src/vnet/buffer.h @@ -84,7 +84,8 @@ _(ipsec) \ _(map) \ _(map_t) \ _(ip_frag) \ -_(tcp) +_(tcp) \ +_(post_crypto) /* * vnet stack buffer opaque array overlay structure. @@ -285,6 +286,15 @@ typedef struct u8 flags; } tcp; + /* For ODP based ipsec nodes */ + struct + { + u8 dst_mac[6]; + u8 src_mac[6]; + u8 ether_type[2]; + u32 next_index; + } post_crypto; + u32 unused[6]; }; } vnet_buffer_opaque_t; |