forked from sonic-net/sonic-buildimage
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upsteam/master' into chassis-packet
- Loading branch information
Showing
636 changed files
with
49,214 additions
and
4,006 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
...anetworks/x86_64-alphanetworks_snj60d0_320f-r0/Alphanetworks-SNJ60D0-320F/buffers.json.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
{%- set default_topo = 't0' %} | ||
{%- include 'buffers_config.j2' %} |
47 changes: 47 additions & 0 deletions
47
...ks/x86_64-alphanetworks_snj60d0_320f-r0/Alphanetworks-SNJ60D0-320F/buffers_defaults_t0.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
|
||
{%- set default_cable = '40m' %} | ||
|
||
{%- macro generate_buffer_pool_and_profiles() %} | ||
"BUFFER_POOL": { | ||
"egress_lossy_pool": { | ||
"size": "67108864", | ||
"type": "egress", | ||
"mode": "dynamic" | ||
}, | ||
"ingress_lossless_pool": { | ||
"mode": "dynamic", | ||
"size": "59001152", | ||
"xoff": "7428992", | ||
"type": "ingress" | ||
} | ||
}, | ||
"BUFFER_PROFILE": { | ||
"ingress_lossy_profile": { | ||
"pool":"[BUFFER_POOL|ingress_lossless_pool]", | ||
"size":"0", | ||
"static_th":"67108864" | ||
}, | ||
"egress_lossy_profile": { | ||
"pool":"[BUFFER_POOL|egress_lossy_pool]", | ||
"size":"0", | ||
"dynamic_th":"3" | ||
} | ||
}, | ||
{%- endmacro %} | ||
|
||
{%- macro generate_pg_profils(port_names_active) %} | ||
"BUFFER_PG": { | ||
"{{ port_names_active }}|0": { | ||
"profile" : "[BUFFER_PROFILE|ingress_lossy_profile]" | ||
} | ||
}, | ||
{%- endmacro %} | ||
|
||
{% macro generate_queue_buffers(port_names_active) %} | ||
"BUFFER_QUEUE": { | ||
"{{ port_names_active }}|0-6": { | ||
"profile" : "[BUFFER_PROFILE|egress_lossy_profile]" | ||
} | ||
} | ||
{% endmacro %} | ||
|
47 changes: 47 additions & 0 deletions
47
...ks/x86_64-alphanetworks_snj60d0_320f-r0/Alphanetworks-SNJ60D0-320F/buffers_defaults_t1.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
|
||
{%- set default_cable = '40m' %} | ||
|
||
{%- macro generate_buffer_pool_and_profiles() %} | ||
"BUFFER_POOL": { | ||
"egress_lossy_pool": { | ||
"size": "67108864", | ||
"type": "egress", | ||
"mode": "dynamic" | ||
}, | ||
"ingress_lossless_pool": { | ||
"mode": "dynamic", | ||
"size": "59001152", | ||
"xoff": "7428992", | ||
"type": "ingress" | ||
} | ||
}, | ||
"BUFFER_PROFILE": { | ||
"ingress_lossy_profile": { | ||
"pool":"[BUFFER_POOL|ingress_lossless_pool]", | ||
"size":"0", | ||
"static_th":"67108864" | ||
}, | ||
"egress_lossy_profile": { | ||
"pool":"[BUFFER_POOL|egress_lossy_pool]", | ||
"size":"0", | ||
"dynamic_th":"3" | ||
} | ||
}, | ||
{%- endmacro %} | ||
|
||
{%- macro generate_pg_profils(port_names_active) %} | ||
"BUFFER_PG": { | ||
"{{ port_names_active }}|0": { | ||
"profile" : "[BUFFER_PROFILE|ingress_lossy_profile]" | ||
} | ||
}, | ||
{%- endmacro %} | ||
|
||
{% macro generate_queue_buffers(port_names_active) %} | ||
"BUFFER_QUEUE": { | ||
"{{ port_names_active }}|0-6": { | ||
"profile" : "[BUFFER_PROFILE|egress_lossy_profile]" | ||
} | ||
} | ||
{% endmacro %} | ||
|
106 changes: 106 additions & 0 deletions
106
.../alphanetworks/x86_64-alphanetworks_snj60d0_320f-r0/Alphanetworks-SNJ60D0-320F/hwsku.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,106 @@ | ||
{ | ||
"interfaces": { | ||
"Ethernet0": { | ||
"default_brkout_mode": "1x400G" | ||
}, | ||
"Ethernet8": { | ||
"default_brkout_mode": "1x400G" | ||
}, | ||
"Ethernet16": { | ||
"default_brkout_mode": "1x400G" | ||
}, | ||
"Ethernet24": { | ||
"default_brkout_mode": "1x400G" | ||
}, | ||
"Ethernet32": { | ||
"default_brkout_mode": "1x400G" | ||
}, | ||
"Ethernet40": { | ||
"default_brkout_mode": "1x400G" | ||
}, | ||
"Ethernet48": { | ||
"default_brkout_mode": "1x400G" | ||
}, | ||
"Ethernet56": { | ||
"default_brkout_mode": "1x400G" | ||
}, | ||
"Ethernet64": { | ||
"default_brkout_mode": "1x400G" | ||
}, | ||
"Ethernet72": { | ||
"default_brkout_mode": "1x400G" | ||
}, | ||
"Ethernet80": { | ||
"default_brkout_mode": "1x400G" | ||
}, | ||
"Ethernet88": { | ||
"default_brkout_mode": "1x400G" | ||
}, | ||
"Ethernet96": { | ||
"default_brkout_mode": "1x400G" | ||
}, | ||
"Ethernet104": { | ||
"default_brkout_mode": "1x400G" | ||
}, | ||
"Ethernet112": { | ||
"default_brkout_mode": "1x400G" | ||
}, | ||
"Ethernet120": { | ||
"default_brkout_mode": "1x400G" | ||
}, | ||
"Ethernet128": { | ||
"default_brkout_mode": "1x400G" | ||
}, | ||
"Ethernet136": { | ||
"default_brkout_mode": "1x400G" | ||
}, | ||
"Ethernet144": { | ||
"default_brkout_mode": "1x400G" | ||
}, | ||
"Ethernet152": { | ||
"default_brkout_mode": "1x400G" | ||
}, | ||
"Ethernet160": { | ||
"default_brkout_mode": "1x400G" | ||
}, | ||
"Ethernet168": { | ||
"default_brkout_mode": "1x400G" | ||
}, | ||
"Ethernet176": { | ||
"default_brkout_mode": "1x400G" | ||
}, | ||
"Ethernet184": { | ||
"default_brkout_mode": "1x400G" | ||
}, | ||
"Ethernet192": { | ||
"default_brkout_mode": "1x400G" | ||
}, | ||
"Ethernet200": { | ||
"default_brkout_mode": "1x400G" | ||
}, | ||
"Ethernet208": { | ||
"default_brkout_mode": "1x400G" | ||
}, | ||
"Ethernet216": { | ||
"default_brkout_mode": "1x400G" | ||
}, | ||
"Ethernet224": { | ||
"default_brkout_mode": "1x400G" | ||
}, | ||
"Ethernet232": { | ||
"default_brkout_mode": "1x400G" | ||
}, | ||
"Ethernet240": { | ||
"default_brkout_mode": "1x400G" | ||
}, | ||
"Ethernet248": { | ||
"default_brkout_mode": "1x400G" | ||
}, | ||
"Ethernet256": { | ||
"default_brkout_mode": "1x10G" | ||
}, | ||
"Ethernet257": { | ||
"default_brkout_mode": "1x10G" | ||
} | ||
} | ||
} |
23 changes: 23 additions & 0 deletions
23
...rks/x86_64-alphanetworks_snj60d0_320f-r0/Alphanetworks-SNJ60D0-320F/pg_profile_lookup.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# PG lossless profiles. | ||
# speed cable size xon xoff threshold xon_offset | ||
10000 5m 1270 0 190500 -2 2540 | ||
25000 5m 1270 0 190500 -2 2540 | ||
40000 5m 1270 0 190500 -2 2540 | ||
50000 5m 1270 0 190500 -2 2540 | ||
100000 5m 1270 0 190500 -2 2540 | ||
200000 5m 1270 0 190500 -2 2540 | ||
400000 5m 1270 0 190500 -2 2540 | ||
10000 40m 1270 0 190500 -2 2540 | ||
25000 40m 1270 0 190500 -2 2540 | ||
40000 40m 1270 0 190500 -2 2540 | ||
50000 40m 1270 0 190500 -2 2540 | ||
100000 40m 1270 0 190500 -2 2540 | ||
200000 40m 1270 0 190500 -2 2540 | ||
400000 40m 1270 0 190500 -2 2540 | ||
10000 300m 1270 0 190500 -2 2540 | ||
25000 300m 1270 0 190500 -2 2540 | ||
40000 300m 1270 0 190500 -2 2540 | ||
50000 300m 1270 0 190500 -2 2540 | ||
100000 300m 1270 0 190500 -2 2540 | ||
200000 300m 1270 0 190500 -2 2540 | ||
400000 300m 1270 0 190500 -2 2540 |
Oops, something went wrong.