From 3864ff5adc9efa712376311123d526e9374b6893 Mon Sep 17 00:00:00 2001 From: Zhixiong Niu Date: Mon, 13 Nov 2023 17:15:08 +0800 Subject: [PATCH] Add vni in the flow key and metering class 2 --- documentation/dash-flow/DASH_FLOW_SAI.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/documentation/dash-flow/DASH_FLOW_SAI.md b/documentation/dash-flow/DASH_FLOW_SAI.md index d7717f4e6..0da7e7758 100644 --- a/documentation/dash-flow/DASH_FLOW_SAI.md +++ b/documentation/dash-flow/DASH_FLOW_SAI.md @@ -120,6 +120,10 @@ typedef struct _sai_dash_flow_key_t { /* @brief Transport Layer Information (TCP/UDP/ICMP) */ sai_dash_ha_flow_l4_info_t l4_info; + + /* @brief VNI */ + sai_uint32_t vni; + } sai_dash_flow_key_t; /** @@ -223,9 +227,10 @@ message SaiDashFlowMetadata { /* Destination PA IP address */ string dest_pa = 3; uint64 metering_class = 4; - SaiDashHaRewriteInfo rewrite_info = 5; + uint64 metering_class2 = 5; + SaiDashHaRewriteInfo rewrite_info = 6; /* Vendor specific metadata */ - bytes vendor_metadata = 6; + bytes vendor_metadata = 7; } enum SaiDashPolicyResult {