aboutsummaryrefslogtreecommitdiffstats
path: root/src/scripts/vnet/l3fwd
AgeCommit message (Collapse)AuthorFilesLines
2019-03-26Simplify adjacency rewrite codeBenoît Ganne1-0/+67
Using memcpy instead of complex specific copy logic. This simplify the implementation and also improve perf slightly. Also move adjacency data from tail to head of buffer, which improves cache locality (header and data share the same cacheline) Finally, fix VxLAN which used to workaround vnet_rewrite logic. Change-Id: I770ddad9846f7ee505aa99ad417e6a61d5cbbefa Signed-off-by: Benoît Ganne <bganne@cisco.com>