From b23c6f4f29b53afa6be2735b30b08fcb115f20cc Mon Sep 17 00:00:00 2001 From: Takeru Hayasaka Date: Tue, 17 Jan 2023 04:45:58 +0900 Subject: 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 --- src/vnet/ip/lookup.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/vnet/ip/lookup.c') diff --git a/src/vnet/ip/lookup.c b/src/vnet/ip/lookup.c index 26bdaa635aa..5ac2a9c17e2 100644 --- a/src/vnet/ip/lookup.c +++ b/src/vnet/ip/lookup.c @@ -145,13 +145,13 @@ unformat_ip_flow_hash_config (unformat_input_t *input, va_list *args) { if (unformat (input, "%_,")) ; -#define _(a, b) \ +#define _(a, b, c) \ else if (unformat (input, "%_" #a)) \ { \ - *flow_hash_config |= b; \ + *flow_hash_config |= c; \ matched_once = 1; \ } - foreach_flow_hash_bit_v1 + foreach_flow_hash_bit #undef _ else { -- cgit 1.2.3-korg