vxlan:restructure encap loop 38/10138/3
authorEyal Bari <ebari@cisco.com>
Wed, 17 Jan 2018 10:06:32 +0000 (12:06 +0200)
committerJohn Lo <loj@cisco.com>
Fri, 19 Jan 2018 19:54:09 +0000 (19:54 +0000)
commit3ce0b089a1564e42729f8174cf4fa0447b8fbbc1
tree10efbbd5beb820b0155bf7b1c4b5c67c394c51c2
parent5957a14329ab174e1215a914296cade8de8865e9
vxlan:restructure encap loop

unified some code from IPv4/6 pathes
replaced unrolled rewrite copy with simple assignment
refactored stats handling
was not tested for performance

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