Skip to content

Commit

Permalink
Revert "[QoS] Add tunnel pipe mode support for IPIP Decap mode to use…
Browse files Browse the repository at this point in the history
… SAI_TUNNEL_ATTR_DECAP_QOS_DSCP_TO_TC_MAP (sonic-net#20650)"

This reverts commit da30d12.
  • Loading branch information
bradh352 committed Dec 24, 2024
1 parent b2589bc commit 81391ef
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 30 deletions.
8 changes: 2 additions & 6 deletions dockers/docker-orchagent/ipinip.json.j2
Original file line number Diff line number Diff line change
Expand Up @@ -83,12 +83,10 @@
{
"TUNNEL_DECAP_TABLE:IPINIP_TUNNEL" : {
"tunnel_type":"IPINIP",
{% if "mlnx" in DEVICE_METADATA.localhost.platform %}
"dscp_mode":"uniform",
{% if "mlnx" in DEVICE_METADATA.localhost.platform %}
"ecn_mode":"standard",
{% else %}
"dscp_mode":"pipe",
"decap_dscp_to_tc_map":"AZURE",
"ecn_mode":"copy_from_outer",
{% endif %}
"ttl_mode":"pipe"
Expand Down Expand Up @@ -138,12 +136,10 @@
{
"TUNNEL_DECAP_TABLE:IPINIP_V6_TUNNEL" : {
"tunnel_type":"IPINIP",
{% if "mlnx" in DEVICE_METADATA.localhost.platform %}
"dscp_mode":"uniform",
{% if "mlnx" in DEVICE_METADATA.localhost.platform %}
"ecn_mode":"standard",
{% else %}
"dscp_mode":"pipe",
"decap_dscp_to_tc_map":"AZURE",
"ecn_mode":"copy_from_outer",
{% endif %}
"ttl_mode":"pipe"
Expand Down
6 changes: 2 additions & 4 deletions src/sonic-config-engine/tests/multi_npu_data/py2/ipinip.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
{
"TUNNEL_DECAP_TABLE:IPINIP_TUNNEL" : {
"tunnel_type":"IPINIP",
"dscp_mode":"pipe",
"decap_dscp_to_tc_map":"AZURE",
"dscp_mode":"uniform",
"ecn_mode":"copy_from_outer",
"ttl_mode":"pipe"
},
Expand Down Expand Up @@ -42,8 +41,7 @@
{
"TUNNEL_DECAP_TABLE:IPINIP_V6_TUNNEL" : {
"tunnel_type":"IPINIP",
"dscp_mode":"pipe",
"decap_dscp_to_tc_map":"AZURE",
"dscp_mode":"uniform",
"ecn_mode":"copy_from_outer",
"ttl_mode":"pipe"
},
Expand Down
6 changes: 2 additions & 4 deletions src/sonic-config-engine/tests/multi_npu_data/py3/ipinip.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
{
"TUNNEL_DECAP_TABLE:IPINIP_TUNNEL" : {
"tunnel_type":"IPINIP",
"dscp_mode":"pipe",
"decap_dscp_to_tc_map":"AZURE",
"dscp_mode":"uniform",
"ecn_mode":"copy_from_outer",
"ttl_mode":"pipe"
},
Expand Down Expand Up @@ -42,8 +41,7 @@
{
"TUNNEL_DECAP_TABLE:IPINIP_V6_TUNNEL" : {
"tunnel_type":"IPINIP",
"dscp_mode":"pipe",
"decap_dscp_to_tc_map":"AZURE",
"dscp_mode":"uniform",
"ecn_mode":"copy_from_outer",
"ttl_mode":"pipe"
},
Expand Down
6 changes: 2 additions & 4 deletions src/sonic-config-engine/tests/sample_output/py2/ipinip.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
{
"TUNNEL_DECAP_TABLE:IPINIP_TUNNEL" : {
"tunnel_type":"IPINIP",
"dscp_mode":"pipe",
"decap_dscp_to_tc_map":"AZURE",
"dscp_mode":"uniform",
"ecn_mode":"copy_from_outer",
"ttl_mode":"pipe"
},
Expand Down Expand Up @@ -66,8 +65,7 @@
{
"TUNNEL_DECAP_TABLE:IPINIP_V6_TUNNEL" : {
"tunnel_type":"IPINIP",
"dscp_mode":"pipe",
"decap_dscp_to_tc_map":"AZURE",
"dscp_mode":"uniform",
"ecn_mode":"copy_from_outer",
"ttl_mode":"pipe"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@
{
"TUNNEL_DECAP_TABLE:IPINIP_TUNNEL" : {
"tunnel_type":"IPINIP",
"dscp_mode":"pipe",
"decap_dscp_to_tc_map":"AZURE",
"dscp_mode":"uniform",
"ecn_mode":"copy_from_outer",
"ttl_mode":"pipe"
},
Expand Down Expand Up @@ -98,8 +97,7 @@
{
"TUNNEL_DECAP_TABLE:IPINIP_V6_TUNNEL" : {
"tunnel_type":"IPINIP",
"dscp_mode":"pipe",
"decap_dscp_to_tc_map":"AZURE",
"dscp_mode":"uniform",
"ecn_mode":"copy_from_outer",
"ttl_mode":"pipe"
},
Expand Down
6 changes: 2 additions & 4 deletions src/sonic-config-engine/tests/sample_output/py3/ipinip.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
{
"TUNNEL_DECAP_TABLE:IPINIP_TUNNEL" : {
"tunnel_type":"IPINIP",
"dscp_mode":"pipe",
"decap_dscp_to_tc_map":"AZURE",
"dscp_mode":"uniform",
"ecn_mode":"copy_from_outer",
"ttl_mode":"pipe"
},
Expand Down Expand Up @@ -66,8 +65,7 @@
{
"TUNNEL_DECAP_TABLE:IPINIP_V6_TUNNEL" : {
"tunnel_type":"IPINIP",
"dscp_mode":"pipe",
"decap_dscp_to_tc_map":"AZURE",
"dscp_mode":"uniform",
"ecn_mode":"copy_from_outer",
"ttl_mode":"pipe"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@
{
"TUNNEL_DECAP_TABLE:IPINIP_TUNNEL" : {
"tunnel_type":"IPINIP",
"dscp_mode":"pipe",
"decap_dscp_to_tc_map":"AZURE",
"dscp_mode":"uniform",
"ecn_mode":"copy_from_outer",
"ttl_mode":"pipe"
},
Expand Down Expand Up @@ -98,8 +97,7 @@
{
"TUNNEL_DECAP_TABLE:IPINIP_V6_TUNNEL" : {
"tunnel_type":"IPINIP",
"dscp_mode":"pipe",
"decap_dscp_to_tc_map":"AZURE",
"dscp_mode":"uniform",
"ecn_mode":"copy_from_outer",
"ttl_mode":"pipe"
},
Expand Down

0 comments on commit 81391ef

Please sign in to comment.