acl-plugin: 5-tuple parse: get rid of memcpy and move to flags vs. bitfields 09/15709/2
authorAndrew Yourtchenko <ayourtch@gmail.com>
Thu, 25 Oct 2018 17:01:49 +0000 (19:01 +0200)
committerFlorin Coras <florin.coras@gmail.com>
Mon, 5 Nov 2018 21:53:43 +0000 (21:53 +0000)
Using bitfield struct for 5tuple proved to be fragile from
the performance standpoint - the zeroizing of the entire
structure and then setting the separate pieces of it
triggers increased memory latency. So, move to using
flags byte.

Also, use the direct object copies rather than memcpy.

Change-Id: Iad8faf9de050ff1256e40c950dee212cbd3e5267
Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>

No differences found