vxlan:remove counters writeback cache 06/11706/2
authorEyal Bari <ebari@cisco.com>
Thu, 12 Apr 2018 09:39:51 +0000 (12:39 +0300)
committerJohn Lo <loj@cisco.com>
Tue, 17 Apr 2018 13:24:30 +0000 (13:24 +0000)
commit0f4b184757557d2f1221c0df92413381ac4d7c08
tree15c77d1948c110f1b3a30f6538f96550e7087e6b
parent29fd0f9dddceb35640ef26217af087ee7155af83
vxlan:remove counters writeback cache

+refactor decap loop to remove repetitions and goto's

slightly improves performance in scale (3k-4k tunnels) tests (7-9 clocks)
slightly deteriorates performance in single tunnel tests (3-4 clocks)

Change-Id: I1a64ed0279c00481b61a162296c5a30f58bf29c4
Signed-off-by: Eyal Bari <ebari@cisco.com>
src/vnet/vxlan/decap.c
src/vnet/vxlan/encap.c