diff options
author | 2017-08-03 20:34:45 +0800 | |
---|---|---|
committer | 2017-08-04 09:07:34 +0000 | |
commit | e1bf572999362b7a0f485613d70736c95e47a2ae (patch) | |
tree | 0d79bb5b1b7fdfa383f76a944df1e6988aa64108 /src/vnet | |
parent | 7801ca29b8f1b3a7b2ff68f3f84a0ae02a58b563 (diff) |
Initialize vxlan-gpe bypass mode
Change-Id: I2a75357d49a971818c8d96d56d184c5d01fbc775
Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
Diffstat (limited to 'src/vnet')
-rw-r--r-- | src/vnet/vxlan-gpe/vxlan_gpe.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/vnet/vxlan-gpe/vxlan_gpe.c b/src/vnet/vxlan-gpe/vxlan_gpe.c index fab887ad..97bb1b15 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 * |