diff options
author | John Lo <loj@cisco.com> | 2018-01-23 19:21:34 -0500 |
---|---|---|
committer | John Lo <loj@cisco.com> | 2018-02-02 17:34:00 +0000 |
commit | 5e150a06a8b291edc9427e740d441ac652f6e705 (patch) | |
tree | 2a3810c32b444a00ba1eed20bb805ae731969c2d /src/vppinfra/lock.h | |
parent | cba3675fabe618194bf80a9de0e9c53b89a541ca (diff) |
Improve tunnel interface creation performance
Modify interface creation to allow creation of tunnel interfaces
without dedicated per tunnel output and tx nodes which are not
used for most tunnel types. Also changed interface-output node
function vnet_per_buffer_interface_output() so it does not rely
on hw_if_index as the next node index which is not flexible nor
efficient for large scale tunnel interfaces.
The improvenemts are done for VXLAN, VXLAN-GPE, GENEVE and GTPU
tunnels. GRE tunnel is still using per tunnel output nodes which
will be changed in a separate patch with other GRE enhencements.
Change-Id: I4123c01c0d2ead814417a867adb8c8a407e4df55
Signed-off-by: John Lo <loj@cisco.com>
(cherry picked from commit e5453d0fa29f39a7f78a7e22815566a7f4c9e5ef)
Diffstat (limited to 'src/vppinfra/lock.h')
0 files changed, 0 insertions, 0 deletions