Skip to content

Commit

Permalink
Update default cable len to 0m for TD2 (sonic-net#8298)
Browse files Browse the repository at this point in the history
Signed-off-by: Neetha John <nejo@microsoft.com>

As part of the buffer reclamation efforts for TD2, setting the default cable len to 0m which means unused ports will have a cable len of 0m.

Why I did it
To align with the changes in sonic-net/sonic-swss#1830

How to verify it
With the default cable len set to 0m and the associated changes in swss, CABLE_LENGTH table had '0m' set for unused ports and accordingly more space was reserved for the shared pool
  • Loading branch information
neethajohn committed Aug 5, 2021
1 parent 1270da8 commit dbbb717
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{%- set default_cable = '300m' %}
{%- set default_cable = '0m' %}

{%- macro generate_port_lists(PORT_ALL) %}
{# Generate list of ports #}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{%- set default_cable = '300m' %}
{%- set default_cable = '0m' %}

{%- macro generate_port_lists(PORT_ALL) %}
{# Generate list of ports #}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{%- set default_cable = '300m' %}
{%- set default_cable = '0m' %}

{%- macro generate_port_lists(PORT_ALL) %}
{# Generate list of ports #}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{%- set default_cable = '300m' %}
{%- set default_cable = '0m' %}

{%- macro generate_port_lists(PORT_ALL) %}
{# Generate list of ports #}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{%- set default_cable = '300m' %}
{%- set default_cable = '0m' %}

{%- macro generate_port_lists(PORT_ALL) %}
{# Generate list of ports #}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{%- set default_cable = '300m' %}
{%- set default_cable = '0m' %}

{%- macro generate_port_lists(PORT_ALL) %}
{# Generate list of ports #}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{%- set default_cable = '300m' %}
{%- set default_cable = '0m' %}

{%- macro generate_port_lists(PORT_ALL) %}
{# Generate list of ports #}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{%- set default_cable = '300m' %}
{%- set default_cable = '0m' %}

{%- macro generate_port_lists(PORT_ALL) %}
{# Generate list of ports #}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{%- set default_cable = '300m' %}
{%- set default_cable = '0m' %}

{%- macro generate_port_lists(PORT_ALL) %}
{# Generate list of ports #}
Expand Down

0 comments on commit dbbb717

Please sign in to comment.