-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[devices]: Add support of HwSKU Mellanox-SN2700-C28D8 (#2690)
* Add support of HwSKU Mellanox-SN2700-C28D8 Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>
- Loading branch information
1 parent
99ed954
commit cbca684
Showing
8 changed files
with
453 additions
and
0 deletions.
There are no files selected for viewing
1 change: 1 addition & 0 deletions
1
device/mellanox/x86_64-mlnx_msn2700-r0/Mellanox-SN2700-C28D8/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 @@ | ||
../ACS-MSN2700/buffers.json.j2 |
1 change: 1 addition & 0 deletions
1
device/mellanox/x86_64-mlnx_msn2700-r0/Mellanox-SN2700-C28D8/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 @@ | ||
../ACS-MSN2700/buffers_defaults_t0.j2 |
1 change: 1 addition & 0 deletions
1
device/mellanox/x86_64-mlnx_msn2700-r0/Mellanox-SN2700-C28D8/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 @@ | ||
../ACS-MSN2700/buffers_defaults_t1.j2 |
1 change: 1 addition & 0 deletions
1
device/mellanox/x86_64-mlnx_msn2700-r0/Mellanox-SN2700-C28D8/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 @@ | ||
../ACS-MSN2700/pg_profile_lookup.ini |
37 changes: 37 additions & 0 deletions
37
device/mellanox/x86_64-mlnx_msn2700-r0/Mellanox-SN2700-C28D8/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,37 @@ | ||
# name lanes speed alias index | ||
Ethernet0 0,1,2,3 100000 etp1 1 | ||
Ethernet4 4,5,6,7 100000 etp2 2 | ||
Ethernet8 8,9,10,11 100000 etp3 3 | ||
Ethernet12 12,13,14,15 100000 etp4 4 | ||
Ethernet16 16,17,18,19 100000 etp5 5 | ||
Ethernet20 20,21,22,23 100000 etp6 6 | ||
Ethernet24 24,25,26,27 100000 etp7 7 | ||
Ethernet28 28,29,30,31 100000 etp8 8 | ||
Ethernet32 32,33,34,35 100000 etp9 9 | ||
Ethernet36 36,37,38,39 100000 etp10 10 | ||
Ethernet40 40,41,42,43 100000 etp11 11 | ||
Ethernet44 44,45,46,47 100000 etp12 12 | ||
Ethernet48 48,49,50,51 100000 etp13 13 | ||
Ethernet52 52,53,54,55 100000 etp14 14 | ||
Ethernet56 56,57,58,59 100000 etp15 15 | ||
Ethernet60 60,61,62,63 100000 etp16 16 | ||
Ethernet64 64,65,66,67 100000 etp17 17 | ||
Ethernet68 68,69,70,71 100000 etp18 18 | ||
Ethernet72 72,73,74,75 100000 etp19 19 | ||
Ethernet76 76,77,78,79 100000 etp20 20 | ||
Ethernet80 80,81,82,83 100000 etp21 21 | ||
Ethernet84 84,85,86,87 100000 etp22 22 | ||
Ethernet88 88,89,90,91 100000 etp23 23 | ||
Ethernet92 92,93,94,95 100000 etp24 24 | ||
Ethernet96 96,97,98,99 100000 etp25 25 | ||
Ethernet100 100,101,102,103 100000 etp26 26 | ||
Ethernet104 104,105,106,107 100000 etp27 27 | ||
Ethernet108 108,109,110,111 100000 etp28 28 | ||
Ethernet112 112,113 50000 etp29a 29 | ||
Ethernet114 114,115 50000 etp29b 29 | ||
Ethernet116 116,117 50000 etp30a 30 | ||
Ethernet118 118,119 50000 etp30b 30 | ||
Ethernet120 120,121 50000 etp31a 31 | ||
Ethernet122 122,123 50000 etp31b 31 | ||
Ethernet124 124,125 50000 etp32a 32 | ||
Ethernet126 126,127 50000 etp32b 32 |
164 changes: 164 additions & 0 deletions
164
device/mellanox/x86_64-mlnx_msn2700-r0/Mellanox-SN2700-C28D8/qos.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,164 @@ | ||
{ | ||
"TC_TO_PRIORITY_GROUP_MAP": { | ||
"AZURE": { | ||
"0": "0", | ||
"1": "1", | ||
"3": "3", | ||
"4": "4" | ||
} | ||
}, | ||
"MAP_PFC_PRIORITY_TO_QUEUE": { | ||
"AZURE": { | ||
"0": "0", | ||
"1": "1", | ||
"3": "3", | ||
"4": "4" | ||
} | ||
}, | ||
"TC_TO_QUEUE_MAP": { | ||
"AZURE": { | ||
"0": "0", | ||
"1": "1", | ||
"3": "3", | ||
"4": "4" | ||
} | ||
}, | ||
"DSCP_TO_TC_MAP": { | ||
"AZURE": { | ||
"0":"0", | ||
"1":"0", | ||
"2":"0", | ||
"3":"3", | ||
"4":"4", | ||
"5":"0", | ||
"6":"0", | ||
"7":"0", | ||
"8":"1", | ||
"9":"0", | ||
"10":"0", | ||
"11":"0", | ||
"12":"0", | ||
"13":"0", | ||
"14":"0", | ||
"15":"0", | ||
"16":"0", | ||
"17":"0", | ||
"18":"0", | ||
"19":"0", | ||
"20":"0", | ||
"21":"0", | ||
"22":"0", | ||
"23":"0", | ||
"24":"0", | ||
"25":"0", | ||
"26":"0", | ||
"27":"0", | ||
"28":"0", | ||
"29":"0", | ||
"30":"0", | ||
"31":"0", | ||
"32":"0", | ||
"33":"0", | ||
"34":"0", | ||
"35":"0", | ||
"36":"0", | ||
"37":"0", | ||
"38":"0", | ||
"39":"0", | ||
"40":"0", | ||
"41":"0", | ||
"42":"0", | ||
"43":"0", | ||
"44":"0", | ||
"45":"0", | ||
"46":"0", | ||
"47":"0", | ||
"48":"0", | ||
"49":"0", | ||
"50":"0", | ||
"51":"0", | ||
"52":"0", | ||
"53":"0", | ||
"54":"0", | ||
"55":"0", | ||
"56":"0", | ||
"57":"0", | ||
"58":"0", | ||
"59":"0", | ||
"60":"0", | ||
"61":"0", | ||
"62":"0", | ||
"63":"0" | ||
} | ||
}, | ||
"SCHEDULER": { | ||
"scheduler.0": { | ||
"type":"DWRR", | ||
"weight": "25" | ||
}, | ||
"scheduler.1": { | ||
"type":"DWRR", | ||
"weight": "30" | ||
}, | ||
"scheduler.2": { | ||
"type":"DWRR", | ||
"weight": "20" | ||
} | ||
}, | ||
"PFC_PRIORITY_TO_PRIORITY_GROUP_MAP": { | ||
"AZURE": { | ||
"0": "0", | ||
"1": "1", | ||
"3": "3", | ||
"4": "4" | ||
} | ||
}, | ||
"PORT_QOS_MAP": { | ||
"Ethernet0,Ethernet4,Ethernet8,Ethernet12,Ethernet16,Ethernet20,Ethernet24,Ethernet28,Ethernet32,Ethernet36,Ethernet40,Ethernet44,Ethernet48,Ethernet52,Ethernet56,Ethernet60,Ethernet64,Ethernet68,Ethernet72,Ethernet76,Ethernet80,Ethernet84,Ethernet88,Ethernet92,Ethernet96,Ethernet100,Ethernet104,Ethernet108,Ethernet112,Ethernet114,Ethernet116,Ethernet118,Ethernet120,Ethernet122,Ethernet124,Ethernet126": { | ||
"dscp_to_tc_map" : "[DSCP_TO_TC_MAP|AZURE]", | ||
"tc_to_queue_map" : "[TC_TO_QUEUE_MAP|AZURE]", | ||
"tc_to_pg_map" : "[TC_TO_PRIORITY_GROUP_MAP|AZURE]", | ||
"pfc_to_queue_map": "[MAP_PFC_PRIORITY_TO_QUEUE|AZURE]", | ||
"pfc_to_pg_map" : "[PFC_PRIORITY_TO_PRIORITY_GROUP_MAP|AZURE]", | ||
"pfc_enable": "3,4" | ||
} | ||
}, | ||
"WRED_PROFILE": { | ||
"AZURE_LOSSY": { | ||
"wred_green_enable":"true", | ||
"wred_yellow_enable":"true", | ||
"wred_red_enable":"true", | ||
"ecn":"ecn_all", | ||
"red_max_threshold":"516096", | ||
"red_min_threshold":"516096", | ||
"yellow_max_threshold":"516096", | ||
"yellow_min_threshold":"516096", | ||
"green_max_threshold": "184320", | ||
"green_min_threshold": "184320" | ||
}, | ||
"AZURE_LOSSLESS": { | ||
"wred_green_enable":"true", | ||
"wred_yellow_enable":"true", | ||
"wred_red_enable":"true", | ||
"ecn":"ecn_all", | ||
"red_max_threshold":"516096", | ||
"red_min_threshold":"516096", | ||
"yellow_max_threshold":"516096", | ||
"yellow_min_threshold":"516096", | ||
"green_max_threshold": "184320", | ||
"green_min_threshold": "184320" | ||
} | ||
}, | ||
"QUEUE": { | ||
"Ethernet0,Ethernet4,Ethernet8,Ethernet12,Ethernet16,Ethernet20,Ethernet24,Ethernet28,Ethernet32,Ethernet36,Ethernet40,Ethernet44,Ethernet48,Ethernet52,Ethernet56,Ethernet60,Ethernet64,Ethernet68,Ethernet72,Ethernet76,Ethernet80,Ethernet84,Ethernet88,Ethernet92,Ethernet96,Ethernet100,Ethernet104,Ethernet108,Ethernet112,Ethernet114,Ethernet116,Ethernet118,Ethernet120,Ethernet122,Ethernet124,Ethernet126|0": { | ||
"scheduler" : "[SCHEDULER|scheduler.1]" | ||
}, | ||
"Ethernet0,Ethernet4,Ethernet8,Ethernet12,Ethernet16,Ethernet20,Ethernet24,Ethernet28,Ethernet32,Ethernet36,Ethernet40,Ethernet44,Ethernet48,Ethernet52,Ethernet56,Ethernet60,Ethernet64,Ethernet68,Ethernet72,Ethernet76,Ethernet80,Ethernet84,Ethernet88,Ethernet92,Ethernet96,Ethernet100,Ethernet104,Ethernet108,Ethernet112,Ethernet114,Ethernet116,Ethernet118,Ethernet120,Ethernet122,Ethernet124,Ethernet126|1": { | ||
"scheduler" : "[SCHEDULER|scheduler.2]" | ||
}, | ||
"Ethernet0,Ethernet4,Ethernet8,Ethernet12,Ethernet16,Ethernet20,Ethernet24,Ethernet28,Ethernet32,Ethernet36,Ethernet40,Ethernet44,Ethernet48,Ethernet52,Ethernet56,Ethernet60,Ethernet64,Ethernet68,Ethernet72,Ethernet76,Ethernet80,Ethernet84,Ethernet88,Ethernet92,Ethernet96,Ethernet100,Ethernet104,Ethernet108,Ethernet112,Ethernet114,Ethernet116,Ethernet118,Ethernet120,Ethernet122,Ethernet124,Ethernet126|3-4": { | ||
"scheduler" : "[SCHEDULER|scheduler.0]", | ||
"wred_profile" : "[WRED_PROFILE|AZURE_LOSSLESS]" | ||
} | ||
} | ||
} |
1 change: 1 addition & 0 deletions
1
device/mellanox/x86_64-mlnx_msn2700-r0/Mellanox-SN2700-C28D8/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/sai_2700_8x50g_28x100g.xml |
Oops, something went wrong.