diff options
author | Zhiyong Yang <zhiyong.yang@intel.com> | 2019-05-16 04:03:18 -0400 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2019-05-24 14:49:01 +0000 |
commit | 359776abfb807cb62affc90e89ecc074c7b7beb4 (patch) | |
tree | e87a1dc984e539b3f80e12adec621b15738e45cc /src/vnet/llc | |
parent | 32eaeaafa1b106e0fa3092832699128f817da07d (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/llc')
0 files changed, 0 insertions, 0 deletions