Skip to content

Commit

Permalink
Revert "[arista]: Always set sai_tunnel_support on Arista-7260cx3 (so…
Browse files Browse the repository at this point in the history
…nic-net#16097)" (sonic-net#19889)

This reverts commit d50ae1f.
  • Loading branch information
bingwang-ms committed Aug 14, 2024
1 parent 42a4219 commit 797a76a
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
{%- set switch_subtype = DEVICE_METADATA['localhost']['subtype'] -%}
{%- if 'dualtor' in switch_subtype.lower() %}
{%- set IPinIP_sock =
'sai_tunnel_underlay_route_mode=1
'sai_tunnel_support=1
sai_tunnel_underlay_route_mode=1
host_as_route_disable=1
l3_ecmp_levels=2' -%}
{%- set map_prio = 'sai_remap_prio_on_tnl_egress=1' -%}
Expand Down Expand Up @@ -1048,6 +1049,5 @@ serdes_preemphasis_116=0x103706
serdes_preemphasis_117=0x133c06

{{ mmu_sock }}
sai_tunnel_support=1
{{ IPinIP_sock }}
phy_an_lt_msft=1
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
{%- set switch_subtype = DEVICE_METADATA['localhost']['subtype'] -%}
{%- if 'dualtor' in switch_subtype.lower() %}
{%- set IPinIP_sock =
'sai_tunnel_underlay_route_mode=1
'sai_tunnel_support=1
sai_tunnel_underlay_route_mode=1
host_as_route_disable=1
l3_ecmp_levels=2' -%}
{%- set map_prio = 'sai_remap_prio_on_tnl_egress=1' -%}
Expand Down Expand Up @@ -955,6 +956,5 @@ serdes_preemphasis_130=0x580c
serdes_preemphasis_131=0x580c

mmu_init_config="MSFT-TH2-Tier0"
sai_tunnel_support=1
{{ IPinIP_sock }}
phy_an_lt_msft=1
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
{%- set switch_subtype = DEVICE_METADATA['localhost']['subtype'] -%}
{%- if 'dualtor' in switch_subtype.lower() %}
{%- set IPinIP_sock =
'sai_tunnel_underlay_route_mode=1
'sai_tunnel_support=1
sai_tunnel_underlay_route_mode=1
host_as_route_disable=1
l3_ecmp_levels=2' -%}
{%- set map_prio = 'sai_remap_prio_on_tnl_egress=1' -%}
Expand Down Expand Up @@ -959,6 +960,5 @@ serdes_preemphasis_130=0x580c
serdes_preemphasis_131=0x580c

mmu_init_config="MSFT-TH2-Tier0"
sai_tunnel_support=1
{{ IPinIP_sock }}
phy_an_lt_msft=1
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
{%- set switch_subtype = DEVICE_METADATA['localhost']['subtype'] -%}
{%- if 'dualtor' in switch_subtype.lower() %}
{%- set IPinIP_sock =
'sai_tunnel_underlay_route_mode=1
'sai_tunnel_support=1
sai_tunnel_underlay_route_mode=1
host_as_route_disable=1
l3_ecmp_levels=2' -%}
{%- set map_prio = 'sai_remap_prio_on_tnl_egress=1' -%}
Expand Down Expand Up @@ -1047,6 +1048,5 @@ serdes_preemphasis_116=0x105004
serdes_preemphasis_117=0x105004

{{ mmu_sock }}
sai_tunnel_support=1
{{ IPinIP_sock }}
phy_an_lt_msft=1
4 changes: 2 additions & 2 deletions src/sonic-config-engine/tests/data/j2_template/config.bcm.j2
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
{%- set switch_subtype = DEVICE_METADATA['localhost']['subtype'] -%}
{%- if 'dualtor' in switch_subtype.lower() %}
{%- set IPinIP_sock =
'sai_tunnel_underlay_route_mode=1
'sai_tunnel_support=1
sai_tunnel_underlay_route_mode=1
host_as_route_disable=1
l3_ecmp_levels=2' -%}
{%- set map_prio = 'sai_remap_prio_on_tnl_egress=1' -%}
Expand All @@ -32,6 +33,5 @@ sai_pfc_dlr_init_capability=1' -%}
l3_alpm_hit_skip=1
{{ map_prio }}
{{ mmu_sock }}
sai_tunnel_support=1
{{ IPinIP_sock }}
{{ pfcwd_sock }}
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
l3_alpm_hit_skip=1

mmu_init_config="MSFT-TH2-Tier1"
sai_tunnel_support=1

hybrid_pfc_deadlock_enable=1
pfc_deadlock_seq_control=1
Expand Down

0 comments on commit 797a76a

Please sign in to comment.