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>
This commit is contained in:
Eyal Bari
2018-01-17 12:06:32 +02:00
committed by John Lo
parent 5957a14329
commit 3ce0b089a1

File diff suppressed because it is too large Load Diff