summaryrefslogtreecommitdiffstats
path: root/src/vnet/lisp-gpe/lisp_gpe_sub_interface.c
diff options
context:
space:
mode:
authorZhiyong Yang <zhiyong.yang@intel.com>2019-05-16 04:03:18 -0400
committerDamjan Marion <dmarion@me.com>2019-05-24 14:49:01 +0000
commit359776abfb807cb62affc90e89ecc074c7b7beb4 (patch)
treee87a1dc984e539b3f80e12adec621b15738e45cc /src/vnet/lisp-gpe/lisp_gpe_sub_interface.c
parent32eaeaafa1b106e0fa3092832699128f817da07d (diff)
vxlan-gpe: improve encap performance
This patch improves performance by prefetching encap header area and taking full advantage of optimized function vlib_get_buffers. After applying the patch, the function vxlan_gpe_encap can save 4.1 clocks/pkt from 41.7 to 37.6 clocks/pkt on Skylake. Change-Id: I85d486b21a2524d64f2e246dfb4183539ec2532d Signed-off-by: Zhiyong Yang <zhiyong.yang@intel.com>
Diffstat (limited to 'src/vnet/lisp-gpe/lisp_gpe_sub_interface.c')
0 files changed, 0 insertions, 0 deletions