File tree 9 files changed +1135
-2
lines changed
device/arista/x86_64-arista_7260cx3_64/Arista-7260CX3-C64
9 files changed +1135
-2
lines changed Original file line number Diff line number Diff line change
1
+ {% - set default_topo = 't1' %}
2
+ {% - include 'buffers_config.j2' %}
3
+
Original file line number Diff line number Diff line change
1
+ {% - set default_cable = '5m' %}
2
+
3
+ {% - macro generate_port_lists (PORT_ALL ) %}
4
+ {# Generate list of ports #}
5
+ {% - for port_idx in range (0,64) %}
6
+ {% - if PORT_ALL .append ("Ethernet%d" % (port_idx * 4)) %}{% - endif %}
7
+ {% - endfor %}
8
+ {% - endmacro %}
9
+
10
+ {% - macro generate_buffer_pool_and_profiles () %}
11
+ "BUFFER_POOL": {
12
+ "ingress_lossless_pool": {
13
+ "size": "33329088",
14
+ "type": "ingress",
15
+ "mode": "dynamic",
16
+ "xoff": "7827456"
17
+ },
18
+ "egress_lossy_pool": {
19
+ "size": "26663272",
20
+ "type": "egress",
21
+ "mode": "dynamic"
22
+ },
23
+ "egress_lossless_pool": {
24
+ "size": "42349632",
25
+ "type": "egress",
26
+ "mode": "static"
27
+ }
28
+ },
29
+ "BUFFER_PROFILE": {
30
+ "ingress_lossy_profile": {
31
+ "pool":"[BUFFER_POOL|ingress_lossless_pool]",
32
+ "size":"0",
33
+ "static_th":"44302336"
34
+ },
35
+ "egress_lossless_profile": {
36
+ "pool":"[BUFFER_POOL|egress_lossless_pool]",
37
+ "size":"0",
38
+ "static_th":"42349632"
39
+ },
40
+ "egress_lossy_profile": {
41
+ "pool":"[BUFFER_POOL|egress_lossy_pool]",
42
+ "size":"1664",
43
+ "dynamic_th":"-1"
44
+ }
45
+ },
46
+ {% - endmacro %}
Original file line number Diff line number Diff line change
1
+ {% - set default_cable = '300m' %}
2
+
3
+ {% - macro generate_port_lists (PORT_ALL ) %}
4
+ {# Generate list of ports #}
5
+ {% - for port_idx in range (0,64) %}
6
+ {% - if PORT_ALL .append ("Ethernet%d" % (port_idx * 4)) %}{% - endif %}
7
+ {% - endfor %}
8
+ {% - endmacro %}
9
+
10
+ {% - macro generate_buffer_pool_and_profiles () %}
11
+ "BUFFER_POOL": {
12
+ "ingress_lossless_pool": {
13
+ "size": "33329088",
14
+ "type": "ingress",
15
+ "mode": "dynamic",
16
+ "xoff": "7827456"
17
+ },
18
+ "egress_lossy_pool": {
19
+ "size": "26663272",
20
+ "type": "egress",
21
+ "mode": "dynamic"
22
+ },
23
+ "egress_lossless_pool": {
24
+ "size": "42349632",
25
+ "type": "egress",
26
+ "mode": "static"
27
+ }
28
+ },
29
+ "BUFFER_PROFILE": {
30
+ "ingress_lossy_profile": {
31
+ "pool":"[BUFFER_POOL|ingress_lossless_pool]",
32
+ "size":"0",
33
+ "static_th":"44302336"
34
+ },
35
+ "egress_lossless_profile": {
36
+ "pool":"[BUFFER_POOL|egress_lossless_pool]",
37
+ "size":"0",
38
+ "static_th":"42349632"
39
+ },
40
+ "egress_lossy_profile": {
41
+ "pool":"[BUFFER_POOL|egress_lossy_pool]",
42
+ "size":"1664",
43
+ "dynamic_th":"-1"
44
+ }
45
+ },
46
+ {% - endmacro %}
Original file line number Diff line number Diff line change
1
+ # PG lossless profiles.
2
+ # speed cable size xon xoff threshold xon_offset
3
+ 50000 5m 1248 1248 56160 -3 2496
4
+ 100000 5m 1248 1248 96928 -3 2496
5
+ 50000 40m 1248 1248 96096 -3 2496
6
+ 100000 40m 1248 1248 177632 -3 2496
7
+ 50000 300m 1248 1248 141856 -3 2496
8
+ 100000 300m 1248 1248 268736 -3 2496
Original file line number Diff line number Diff line change
1
+ {% - include 'qos_config.j2' %}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ {# Get sai.profile based on switch_role #}
2
+ {% - if DEVICE_METADATA is defined -%}
3
+ {% - set switch_role = DEVICE_METADATA ['localhost' ]['type' ] -%}
4
+ {% - if 'torrouter' in switch_role .lower () or 'torswitch' in switch_role .lower () %}
5
+ {% set sai_profile_contents = 'SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/th2-a7260cx3-64-64x100G-t0.config.bcm' -%}
6
+ {% - else %}
7
+ {% set sai_profile_contents = 'SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/th2-a7260cx3-64-64x100G-t1.config.bcm' -%}
8
+ {% - endif %}
9
+ {% - else %}
10
+ {% set sai_profile_contents = 'SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/th2-a7260cx3-64-64x100G-t1.config.bcm' -%}
11
+ {% - endif %}
12
+ {# Write the contents of sai_ profile_filename to sai.profile file #}
13
+ {{ sai_profile_contents }}
14
+ SAI_NUM_ECMP_MEMBERS=64
Original file line number Diff line number Diff line change @@ -1011,3 +1011,5 @@ serdes_preemphasis_114=0x174507
1011
1011
serdes_preemphasis_115=0x184606
1012
1012
serdes_preemphasis_116=0x103706
1013
1013
serdes_preemphasis_117=0x133c06
1014
+
1015
+ mmu_init_config="MSFT-TH2-Tier0"
You can’t perform that action at this time.
0 commit comments