Skip to content

Commit cc31737

Browse files
authored
Revert "[Mellanox] remove mlnx specific condition for the ipinip tunnel ecn_mode (#22788)" (#24389)
Revert "[Mellanox] remove mlnx specific condition for the ipinip tunnel ecn_mode
1 parent 8f966ee commit cc31737

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

dockers/docker-orchagent/ipinip.json.j2

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,11 @@
8787
"decap_dscp_to_tc_map":"AZURE",
8888
{% endif %}
8989
{% endif %}
90+
{% if "mlnx" in DEVICE_METADATA.localhost.platform %}
91+
"ecn_mode":"standard",
92+
{% else %}
9093
"ecn_mode":"copy_from_outer",
94+
{% endif %}
9195
"ttl_mode":"pipe"
9296
},
9397
"OP": "SET"
@@ -113,7 +117,11 @@
113117
"decap_dscp_to_tc_map":"AZURE",
114118
{% endif %}
115119
{% endif %}
120+
{% if "mlnx" in DEVICE_METADATA.localhost.platform %}
121+
"ecn_mode":"standard",
122+
{% else %}
116123
"ecn_mode":"copy_from_outer",
124+
{% endif %}
117125
"ttl_mode":"pipe"
118126
},
119127
"OP": "SET"
@@ -146,7 +154,11 @@
146154
"decap_dscp_to_tc_map":"AZURE",
147155
{% endif %}
148156
{% endif %}
157+
{% if "mlnx" in DEVICE_METADATA.localhost.platform %}
158+
"ecn_mode":"standard",
159+
{% else %}
149160
"ecn_mode":"copy_from_outer",
161+
{% endif %}
150162
"ttl_mode":"pipe"
151163
},
152164
"OP": "SET"
@@ -172,7 +184,11 @@
172184
"decap_dscp_to_tc_map":"AZURE",
173185
{% endif %}
174186
{% endif %}
187+
{% if "mlnx" in DEVICE_METADATA.localhost.platform %}
188+
"ecn_mode":"standard",
189+
{% else %}
175190
"ecn_mode":"copy_from_outer",
191+
{% endif %}
176192
"ttl_mode":"pipe"
177193
},
178194
"OP": "SET"

0 commit comments

Comments
 (0)