diff options
author | Takeru Hayasaka <hayatake396@gmail.com> | 2023-01-17 04:45:58 +0900 |
---|---|---|
committer | Neale Ranns <neale@graphiant.com> | 2023-03-31 06:04:42 +0000 |
commit | b23c6f4f29b53afa6be2735b30b08fcb115f20cc (patch) | |
tree | 59cca6452dca4b17fbce112ca8f4e5b3004565b7 /src/vnet/ip/ip4_forward.c | |
parent | 55686e1c59f8bcf399f5ff58b3ca1030a415009c (diff) |
ip: support flow-hash gtpv1teid
support with GTPv1 TEID added to the flow hash.
This can able to ECMP to PGW and parallelization.
Type: feature
Change-Id: I6f758579027caf6123831ef2db7afe17e424a6eb
Signed-off-by: Takeru Hayasaka <hayatake396@gmail.com>
Diffstat (limited to 'src/vnet/ip/ip4_forward.c')
-rw-r--r-- | src/vnet/ip/ip4_forward.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/vnet/ip/ip4_forward.c b/src/vnet/ip/ip4_forward.c index 35ebaa436d1..b3c9ff7874c 100644 --- a/src/vnet/ip/ip4_forward.c +++ b/src/vnet/ip/ip4_forward.c @@ -2834,11 +2834,10 @@ set_ip_flow_hash_command_fn (vlib_main_t * vm, * @cliexend ?*/ /* *INDENT-OFF* */ -VLIB_CLI_COMMAND (set_ip_flow_hash_command, static) = -{ +VLIB_CLI_COMMAND (set_ip_flow_hash_command, static) = { .path = "set ip flow-hash", - .short_help = - "set ip flow-hash table <table-id> [src] [dst] [sport] [dport] [proto] [reverse]", + .short_help = "set ip flow-hash table <table-id> [src] [dst] [sport] " + "[dport] [proto] [reverse] [gtpv1teid]", .function = set_ip_flow_hash_command_fn, }; /* *INDENT-ON* */ |