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.
Restructure Arista-7260CX3-D92C16 hwsku to use common Th2 profile (so…
…nic-net#18687) * Restructure Arista-7260CX3-D92C16 hwsku to use common Th2 profile Signed-off-by: Neetha John <[email protected]>
- Loading branch information
1 parent
a5281fb
commit 6ce4a69
Showing
20 changed files
with
5,476 additions
and
1 deletion.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
device/arista/x86_64-arista_7260cx3_64/Arista-7260CX3-D92C16/BALANCED
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 @@ | ||
../../../common/profiles/th2/7260/BALANCED |
1 change: 1 addition & 0 deletions
1
device/arista/x86_64-arista_7260cx3_64/Arista-7260CX3-D92C16/RDMA-CENTRIC
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 @@ | ||
../../../common/profiles/th2/7260/RDMA-CENTRIC |
1 change: 1 addition & 0 deletions
1
device/arista/x86_64-arista_7260cx3_64/Arista-7260CX3-D92C16/TCP-CENTRIC
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 @@ | ||
../../../common/profiles/th2/7260/TCP-CENTRIC |
21 changes: 21 additions & 0 deletions
21
device/arista/x86_64-arista_7260cx3_64/Arista-7260CX3-D92C16/buffer_ports_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,21 @@ | ||
{%- macro generate_port_lists(PORT_ALL) %} | ||
{# Generate list of ports #} | ||
{%- for port_idx in range(0,12) %} | ||
{%- if PORT_ALL.append("Ethernet%d" % (port_idx * 4)) %}{%- endif %} | ||
{%- if PORT_ALL.append("Ethernet%d" % (port_idx * 4 + 2)) %}{%- endif %} | ||
{%- endfor %} | ||
{%- for port_idx in range(12,20) %} | ||
{%- if PORT_ALL.append("Ethernet%d" % (port_idx * 4)) %}{%- endif %} | ||
{%- endfor %} | ||
{%- for port_idx in range(20,44) %} | ||
{%- if PORT_ALL.append("Ethernet%d" % (port_idx * 4)) %}{%- endif %} | ||
{%- if PORT_ALL.append("Ethernet%d" % (port_idx * 4 + 2)) %}{%- endif %} | ||
{%- endfor %} | ||
{%- for port_idx in range(44,52) %} | ||
{%- if PORT_ALL.append("Ethernet%d" % (port_idx * 4)) %}{%- endif %} | ||
{%- endfor %} | ||
{%- for port_idx in range(52,64) %} | ||
{%- if PORT_ALL.append("Ethernet%d" % (port_idx * 4)) %}{%- endif %} | ||
{%- if PORT_ALL.append("Ethernet%d" % (port_idx * 4 + 2)) %}{%- endif %} | ||
{%- endfor %} | ||
{%- endmacro %} |
3 changes: 3 additions & 0 deletions
3
device/arista/x86_64-arista_7260cx3_64/Arista-7260CX3-D92C16/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,3 @@ | ||
{%- set default_topo = 't0' %} | ||
{%- include 'buffers_config.j2' %} | ||
|
1 change: 1 addition & 0 deletions
1
device/arista/x86_64-arista_7260cx3_64/Arista-7260CX3-D92C16/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 @@ | ||
BALANCED/buffers_defaults_t0.j2 |
38 changes: 38 additions & 0 deletions
38
device/arista/x86_64-arista_7260cx3_64/Arista-7260CX3-D92C16/buffers_extra_queues.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,38 @@ | ||
{% if DEVICE_METADATA is defined and 'type' in DEVICE_METADATA['localhost'] and | ||
(DEVICE_METADATA['localhost']['type'] == 'LeafRouter' or DEVICE_METADATA['localhost']['subtype'] == 'DualToR') %} | ||
{%- macro generate_queue_buffers_with_extra_lossless_queues(port_names, port_names_require_extra_buffer) %} | ||
"BUFFER_QUEUE": { | ||
{% for port in port_names.split(',') %} | ||
{% if port in port_names_require_extra_buffer.split(',') %} | ||
"{{ port }}|0-1": { | ||
"profile" : "egress_lossy_profile" | ||
}, | ||
"{{ port }}|2-4": { | ||
"profile" : "egress_lossless_profile" | ||
}, | ||
"{{ port }}|5": { | ||
"profile" : "egress_lossy_profile" | ||
}, | ||
"{{ port }}|6": { | ||
"profile" : "egress_lossless_profile" | ||
}, | ||
"{{ port }}|7": { | ||
"profile" : "egress_lossy_profile" | ||
}{% if not loop.last %},{% endif %} | ||
|
||
{% else %} | ||
"{{ port }}|0-2": { | ||
"profile" : "egress_lossy_profile" | ||
}, | ||
"{{ port }}|3-4": { | ||
"profile" : "egress_lossless_profile" | ||
}, | ||
"{{ port }}|5-7": { | ||
"profile" : "egress_lossy_profile" | ||
}{% if not loop.last %},{% endif %} | ||
|
||
{% endif %} | ||
{% endfor %} | ||
} | ||
{% endmacro %} | ||
{% endif %} |
8 changes: 8 additions & 0 deletions
8
device/arista/x86_64-arista_7260cx3_64/Arista-7260CX3-D92C16/buffers_pool_sizes_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,8 @@ | ||
{%- set ingress_lossless_pool_size = '33329088' %} | ||
{%- set egress_lossy_pool_size = '26663272' %} | ||
|
||
{%- if ((SYSTEM_DEFAULTS is defined) and ('tunnel_qos_remap' in SYSTEM_DEFAULTS) and (SYSTEM_DEFAULTS['tunnel_qos_remap']['status'] == 'enabled')) and | ||
((DEVICE_METADATA is defined) and ('localhost' in DEVICE_METADATA) and ('subtype' in DEVICE_METADATA['localhost']) and (DEVICE_METADATA['localhost']['subtype'] == 'DualToR')) %} | ||
{%- set ingress_lossless_pool_size = '33169344' %} | ||
{%- set egress_lossy_pool_size = '26535808' %} | ||
{%- endif %} |
1 change: 1 addition & 0 deletions
1
device/arista/x86_64-arista_7260cx3_64/Arista-7260CX3-D92C16/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 @@ | ||
BALANCED/pg_profile_lookup.ini |
115 changes: 115 additions & 0 deletions
115
device/arista/x86_64-arista_7260cx3_64/Arista-7260CX3-D92C16/port_config.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,115 @@ | ||
# name lanes alias index speed | ||
Ethernet0 77,78 Ethernet1/1 1 50000 | ||
Ethernet2 79,80 Ethernet1/3 1 50000 | ||
Ethernet4 65,66 Ethernet2/1 2 50000 | ||
Ethernet6 67,68 Ethernet2/3 2 50000 | ||
Ethernet8 85,86 Ethernet3/1 3 50000 | ||
Ethernet10 87,88 Ethernet3/3 3 50000 | ||
Ethernet12 89,90 Ethernet4/1 4 50000 | ||
Ethernet14 91,92 Ethernet4/3 4 50000 | ||
Ethernet16 109,110 Ethernet5/1 5 50000 | ||
Ethernet18 111,112 Ethernet5/3 5 50000 | ||
Ethernet20 97,98 Ethernet6/1 6 50000 | ||
Ethernet22 99,100 Ethernet6/3 6 50000 | ||
Ethernet24 5,6 Ethernet7/1 7 50000 | ||
Ethernet26 7,8 Ethernet7/3 7 50000 | ||
Ethernet28 13,14 Ethernet8/1 8 50000 | ||
Ethernet30 15,16 Ethernet8/3 8 50000 | ||
Ethernet32 25,26 Ethernet9/1 9 50000 | ||
Ethernet34 27,28 Ethernet9/3 9 50000 | ||
Ethernet36 21,22 Ethernet10/1 10 50000 | ||
Ethernet38 23,24 Ethernet10/3 10 50000 | ||
Ethernet40 37,38 Ethernet11/1 11 50000 | ||
Ethernet42 39,40 Ethernet11/3 11 50000 | ||
Ethernet44 45,46 Ethernet12/1 12 50000 | ||
Ethernet46 47,48 Ethernet12/3 12 50000 | ||
Ethernet48 57,58,59,60 Ethernet13/1 13 100000 | ||
Ethernet52 53,54,55,56 Ethernet14/1 14 100000 | ||
Ethernet56 117,118,119,120 Ethernet15/1 15 100000 | ||
Ethernet60 121,122,123,124 Ethernet16/1 16 100000 | ||
Ethernet64 141,142,143,144 Ethernet17/1 17 100000 | ||
Ethernet68 133,134,135,136 Ethernet18/1 18 100000 | ||
Ethernet72 197,198,199,200 Ethernet19/1 19 100000 | ||
Ethernet76 205,206,207,208 Ethernet20/1 20 100000 | ||
Ethernet80 217,218 Ethernet21/1 21 50000 | ||
Ethernet82 219,220 Ethernet21/3 21 50000 | ||
Ethernet84 213,214 Ethernet22/1 22 50000 | ||
Ethernet86 215,216 Ethernet22/3 22 50000 | ||
Ethernet88 229,230 Ethernet23/1 23 50000 | ||
Ethernet90 231,232 Ethernet23/3 23 50000 | ||
Ethernet92 237,238 Ethernet24/1 24 50000 | ||
Ethernet94 239,240 Ethernet24/3 24 50000 | ||
Ethernet96 249,250 Ethernet25/1 25 50000 | ||
Ethernet98 251,252 Ethernet25/3 25 50000 | ||
Ethernet100 245,246 Ethernet26/1 26 50000 | ||
Ethernet102 247,248 Ethernet26/3 26 50000 | ||
Ethernet104 149,150 Ethernet27/1 27 50000 | ||
Ethernet106 151,152 Ethernet27/3 27 50000 | ||
Ethernet108 153,154 Ethernet28/1 28 50000 | ||
Ethernet110 155,156 Ethernet28/3 28 50000 | ||
Ethernet112 173,174 Ethernet29/1 29 50000 | ||
Ethernet114 175,176 Ethernet29/3 29 50000 | ||
Ethernet116 161,162 Ethernet30/1 30 50000 | ||
Ethernet118 163,164 Ethernet30/3 30 50000 | ||
Ethernet120 181,182 Ethernet31/1 31 50000 | ||
Ethernet122 183,184 Ethernet31/3 31 50000 | ||
Ethernet124 185,186 Ethernet32/1 32 50000 | ||
Ethernet126 187,188 Ethernet32/3 32 50000 | ||
Ethernet128 69,70 Ethernet33/1 33 50000 | ||
Ethernet130 71,72 Ethernet33/3 33 50000 | ||
Ethernet132 73,74 Ethernet34/1 34 50000 | ||
Ethernet134 75,76 Ethernet34/3 34 50000 | ||
Ethernet136 93,94 Ethernet35/1 35 50000 | ||
Ethernet138 95,96 Ethernet35/3 35 50000 | ||
Ethernet140 81,82 Ethernet36/1 36 50000 | ||
Ethernet142 83,84 Ethernet36/3 36 50000 | ||
Ethernet144 101,102 Ethernet37/1 37 50000 | ||
Ethernet146 103,104 Ethernet37/3 37 50000 | ||
Ethernet148 105,106 Ethernet38/1 38 50000 | ||
Ethernet150 107,108 Ethernet38/3 38 50000 | ||
Ethernet152 9,10 Ethernet39/1 39 50000 | ||
Ethernet154 11,12 Ethernet39/3 39 50000 | ||
Ethernet156 1,2 Ethernet40/1 40 50000 | ||
Ethernet158 3,4 Ethernet40/3 40 50000 | ||
Ethernet160 17,18 Ethernet41/1 41 50000 | ||
Ethernet162 19,20 Ethernet41/3 41 50000 | ||
Ethernet164 29,30 Ethernet42/1 42 50000 | ||
Ethernet166 31,32 Ethernet42/3 42 50000 | ||
Ethernet168 41,42 Ethernet43/1 43 50000 | ||
Ethernet170 43,44 Ethernet43/3 43 50000 | ||
Ethernet172 33,34 Ethernet44/1 44 50000 | ||
Ethernet174 35,36 Ethernet44/3 44 50000 | ||
Ethernet176 49,50,51,52 Ethernet45/1 45 100000 | ||
Ethernet180 61,62,63,64 Ethernet46/1 46 100000 | ||
Ethernet184 125,126,127,128 Ethernet47/1 47 100000 | ||
Ethernet188 113,114,115,116 Ethernet48/1 48 100000 | ||
Ethernet192 129,130,131,132 Ethernet49/1 49 100000 | ||
Ethernet196 137,138,139,140 Ethernet50/1 50 100000 | ||
Ethernet200 201,202,203,204 Ethernet51/1 51 100000 | ||
Ethernet204 193,194,195,196 Ethernet52/1 52 100000 | ||
Ethernet208 209,210 Ethernet53/1 53 50000 | ||
Ethernet210 211,212 Ethernet53/3 53 50000 | ||
Ethernet212 221,222 Ethernet54/1 54 50000 | ||
Ethernet214 223,224 Ethernet54/3 54 50000 | ||
Ethernet216 233,234 Ethernet55/1 55 50000 | ||
Ethernet218 235,236 Ethernet55/3 55 50000 | ||
Ethernet220 225,226 Ethernet56/1 56 50000 | ||
Ethernet222 227,228 Ethernet56/3 56 50000 | ||
Ethernet224 241,242 Ethernet57/1 57 50000 | ||
Ethernet226 243,244 Ethernet57/3 57 50000 | ||
Ethernet228 253,254 Ethernet58/1 58 50000 | ||
Ethernet230 255,256 Ethernet58/3 58 50000 | ||
Ethernet232 157,158 Ethernet59/1 59 50000 | ||
Ethernet234 159,160 Ethernet59/3 59 50000 | ||
Ethernet236 145,146 Ethernet60/1 60 50000 | ||
Ethernet238 147,148 Ethernet60/3 60 50000 | ||
Ethernet240 165,166 Ethernet61/1 61 50000 | ||
Ethernet242 167,168 Ethernet61/3 61 50000 | ||
Ethernet244 169,170 Ethernet62/1 62 50000 | ||
Ethernet246 171,172 Ethernet62/3 62 50000 | ||
Ethernet248 189,190 Ethernet63/1 63 50000 | ||
Ethernet250 191,192 Ethernet63/3 63 50000 | ||
Ethernet252 177,178 Ethernet64/1 64 50000 | ||
Ethernet254 179,180 Ethernet64/3 64 50000 | ||
Ethernet256 257 Ethernet65 65 10000 | ||
Ethernet260 259 Ethernet66 66 10000 |
1 change: 1 addition & 0 deletions
1
device/arista/x86_64-arista_7260cx3_64/Arista-7260CX3-D92C16/qos.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 @@ | ||
BALANCED/qos.json.j2 |
1 change: 1 addition & 0 deletions
1
device/arista/x86_64-arista_7260cx3_64/Arista-7260CX3-D92C16/sai.profile
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 @@ | ||
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/th2-a7260cx3-64-96x50G+16x100G.config.bcm |
Oops, something went wrong.