Optimize ip6-local 23/17623/2
authorBenoît Ganne <bganne@cisco.com>
Thu, 14 Feb 2019 14:32:45 +0000 (15:32 +0100)
committerFlorin Coras <florin.coras@gmail.com>
Fri, 15 Feb 2019 20:22:13 +0000 (20:22 +0000)
commit26a101976d6213a01417aa99b35180a79100028b
treec366653d6da5080612e943dc7b2cf945c95934a2
parentbb65ba10fd32dbd22d7681a6573292a9afe491a3
Optimize ip6-local

Optimize IPv6 ip6-local node by rewriting the dual/single loop with
prefetch and simpler unrolling.
My local, unrepresentative tests for GRE4 termination over IPv6 show a
performance improvement of ~40% for ip6-local node alone and ~5%
globally.

Change-Id: I11e1e86d3838dd3c081aa6be5e25dae16ed6e2d8
Signed-off-by: Benoît Ganne <bganne@cisco.com>
src/vnet/ip/ip6_forward.c