vxlan_gpe: optimize encap performance 44/14644/4
authorZhiyong Yang <zhiyong.yang@intel.com>
Tue, 4 Sep 2018 10:33:18 +0000 (06:33 -0400)
committerNeale Ranns <nranns@cisco.com>
Thu, 6 Sep 2018 15:50:44 +0000 (15:50 +0000)
commit6011b5e63b6fd51b8eb19b5c999fb1e18e95f157
tree9ce67188366c761ca8968f0afb472ec57a8a94a6
parentecbe6f5eb971e57df108f86d52cd005a07e18712
vxlan_gpe: optimize encap performance

The patch can reduce 13 cycles per packet for the graph node
vxlan-gpe-encap and increases 5% or so vxlan_gpe encap throughput
on Haswell platform for the best case (All pkts have the same
sw_if_index).

Change-Id: I9c70fd3e0f2f0a9d922cf64970d0b0d51b772024
Signed-off-by: Zhiyong Yang <zhiyong.yang@intel.com>
src/vnet/vxlan-gpe/encap.c