From: Hongjun Ni Date: Thu, 3 Aug 2017 12:34:45 +0000 (+0800) Subject: Initialize vxlan-gpe bypass mode X-Git-Tag: v17.10-rc1~283 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F87%2F7887%2F4;p=vpp.git Initialize vxlan-gpe bypass mode Change-Id: I2a75357d49a971818c8d96d56d184c5d01fbc775 Signed-off-by: Hongjun Ni --- diff --git a/src/vnet/vxlan-gpe/vxlan_gpe.c b/src/vnet/vxlan-gpe/vxlan_gpe.c index fab887addff..97bb1b158e6 100644 --- a/src/vnet/vxlan-gpe/vxlan_gpe.c +++ b/src/vnet/vxlan-gpe/vxlan_gpe.c @@ -1200,6 +1200,22 @@ VLIB_CLI_COMMAND (set_interface_ip6_vxlan_gpe_bypass_command, static) = { }; /* *INDENT-ON* */ +/* *INDENT-OFF* */ +VNET_FEATURE_INIT (ip4_vxlan_gpe_bypass, static) = +{ + .arc_name = "ip4-unicast", + .node_name = "ip4-vxlan-gpe-bypass", + .runs_before = VNET_FEATURES ("ip4-lookup"), +}; + +VNET_FEATURE_INIT (ip6_vxlan_gpe_bypass, static) = +{ + .arc_name = "ip6-unicast", + .node_name = "ip6-vxlan-gpe-bypass", + .runs_before = VNET_FEATURES ("ip6-lookup"), +}; +/* *INDENT-ON* */ + /** * @brief Feature init function for VXLAN GPE *