From 147ab55cf23fdbbf8c488f5ead44a230642344c9 Mon Sep 17 00:00:00 2001 From: bingwang-ms <66248323+bingwang-ms@users.noreply.github.com> Date: Wed, 23 Nov 2022 09:08:38 +0800 Subject: [PATCH] Add missing flags in qos template file (#12793) --- device/common/profiles/th2/7260/RDMA-CENTRIC/qos.json.j2 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/device/common/profiles/th2/7260/RDMA-CENTRIC/qos.json.j2 b/device/common/profiles/th2/7260/RDMA-CENTRIC/qos.json.j2 index 260b3ec87fae..743002c4f022 100644 --- a/device/common/profiles/th2/7260/RDMA-CENTRIC/qos.json.j2 +++ b/device/common/profiles/th2/7260/RDMA-CENTRIC/qos.json.j2 @@ -1,4 +1,5 @@ {% if ('type' in DEVICE_METADATA['localhost'] and DEVICE_METADATA['localhost']['type'] == 'LeafRouter') %} +{% set different_dscp_to_tc_map = true %} {%- macro generate_dscp_to_tc_map() %} "DSCP_TO_TC_MAP": { "AZURE": { @@ -150,6 +151,8 @@ }, {%- endmacro %} {% elif ('subtype' in DEVICE_METADATA['localhost'] and DEVICE_METADATA['localhost']['subtype'] == 'DualToR') %} +{% set different_dscp_to_tc_map = true %} +{% set different_tc_to_queue_map = true %} {%- macro generate_dscp_to_tc_map() %} "DSCP_TO_TC_MAP": { "AZURE": {