diff options
author | Andrew Yourtchenko <ayourtch@gmail.com> | 2018-05-27 17:41:27 +0200 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2018-06-17 12:05:55 +0000 |
commit | e0b6c8a96d6d3fce583d0ef4b851a50a74afba5d (patch) | |
tree | bc338e43ed637e64ed4f8ebdfada376057eef357 /src/vcl/ldp_socket_wrapper.h | |
parent | c1c5baa1a99c5754cfa73c679ed4fe664ef3f881 (diff) |
acl-plugin: split (L3) and (L4/pkt) logic of creation of 5tuple structure, optimize stores in the (l4/pkt)
Having two pieces of code - one for now much simpler to recreate L3 info,
one for a more difficult do build L4/pkt metadata allows more
degrees of freedom for optimizations.
Also, construct the metadata in local variables first before
saving it into the memory structure, this fewer memory stores
and they are better aligned, allowing to coalesce with
subsequent reads if needed.
Change-Id: Icb35d933834b14294f875362c9b58db3feb38d99
Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
Diffstat (limited to 'src/vcl/ldp_socket_wrapper.h')
0 files changed, 0 insertions, 0 deletions