nat: add prefetching to in2out_ed/out2in_ed 77/27877/3
authorKlement Sekera <ksekera@cisco.com>
Mon, 13 Jul 2020 13:59:33 +0000 (13:59 +0000)
committerMatthew Smith <mgsmith@netgate.com>
Wed, 15 Jul 2020 16:27:29 +0000 (16:27 +0000)
commit4d119a6f15333e107bd9766112410eaf4ce1a57f
treebc4d880bcbf4de552a694dc6673ec672f294d678
parenta7b963df2758d7c25de366db1999ca1024e12d30
nat: add prefetching to in2out_ed/out2in_ed

This saves about 20 clocks/packet in both code paths.

Type: improvement
Signed-off-by: Klement Sekera <ksekera@cisco.com>
Change-Id: Ib559c74bf8168e3ddd764d51b7e5bcd2a557f591
src/plugins/nat/in2out_ed.c
src/plugins/nat/out2in_ed.c