aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/tunnel/tunnel_types.api
diff options
context:
space:
mode:
authorMohammed Hawari <mohammed@hawari.fr>2020-11-30 13:50:24 +0100
committerNeale Ranns <nranns@cisco.com>2020-12-09 08:40:50 +0000
commit33c45f56ab391ab13a42eb4ec2ac2b97b9fc546a (patch)
tree999c08ca61c4332e098db89d3bcab455a217ffa5 /src/vnet/tunnel/tunnel_types.api
parent027d813a509be0f30e05b48b888007b0094e4faf (diff)
fib: supporting inner flow hash on tunnels
Change-Id: I53011e089bfecb08483792029b534b09b9e33a10 Type: improvement Signed-off-by: Mohammed Hawari <mohammed@hawari.fr>
Diffstat (limited to 'src/vnet/tunnel/tunnel_types.api')
-rw-r--r--src/vnet/tunnel/tunnel_types.api2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vnet/tunnel/tunnel_types.api b/src/vnet/tunnel/tunnel_types.api
index 98354890016..d1934054d80 100644
--- a/src/vnet/tunnel/tunnel_types.api
+++ b/src/vnet/tunnel/tunnel_types.api
@@ -30,6 +30,8 @@ enum tunnel_encap_decap_flags : u8
TUNNEL_API_ENCAP_DECAP_FLAG_ENCAP_COPY_ECN = 0x8,
/** at decap, copy the ECN bit of the tunnel header into the payload */
TUNNEL_API_ENCAP_DECAP_FLAG_DECAP_COPY_ECN = 0x10,
+ /** at encap, compute flow hash on the inner packet for more entropy */
+ TUNNEL_API_ENCAP_DECAP_FLAG_ENCAP_INNER_HASH = 0x20 [backwards_compatible],
};
/**