sonic-buildimage/device/mellanox
Stephen Sun 307d0e2aca
[Mellanox][202012] Support Mellanox-SN4600C-C64 as T1 switch in dual-ToR scenario (#11032)
Why I did it
Support Mellanox-SN4600C-C64 as T1 switch in dual-ToR scenario

1. Support additional queue and PG in buffer templates, including both traditional and dynamic model
2. Support mapping DSCP 2/6 to lossless traffic in the QoS template.
3. Add macros to generate additional lossless PG in the dynamic model
4. Adjust the order in which the generic/dedicated (with additional lossless queues) macros are checked and called to generate buffer tables in common template buffers_config.j2
  - Buffer tables are rendered via using macros.
  - Both generic and dedicated macros are defined on our platform. Currently, the generic one is called as long as it is defined, which causes the generic one always being called on our platform. To avoid it, the dedicated macrio is checked and called first and then the generic ones.
5. Support MAP_PFC_PRIORITY_TO_PRIORITY_GROUP on ports with additional lossless queues.

On Mellanox-SN4600C-C64, buffer configuration for t1 is calculated as:
40 * 100G downlink ports with 4 lossless PGs/queues, 1 lossy PG, and 3 lossy queues
16 * 100G uplink ports with 2 lossless PGs/queues, 1 lossy PG, and 5 lossy queues

Signed-off-by: Stephen Sun stephens@nvidia.com

How to verify it
Run regression test.
2022-06-21 10:04:49 -07:00
..
x86_64-mlnx_lssn2700-r0 add pcied config files for mellanox platform (#5669) 2020-11-02 19:45:36 -08:00
x86_64-mlnx_msn2010-r0 [Reclaim buffer][202012] Reclaim unused buffers by applying zero buffer profiles (#9063) 2021-12-09 17:34:56 +02:00
x86_64-mlnx_msn2100-r0 [Reclaim buffer][202012] Reclaim unused buffers by applying zero buffer profiles (#9063) 2021-12-09 17:34:56 +02:00
x86_64-mlnx_msn2410-r0 [Reclaim buffer][202012] Reclaim unused buffers by applying zero buffer profiles (#9063) 2021-12-09 17:34:56 +02:00
x86_64-mlnx_msn2700_simx-r0 Removed platform specific reboot files for mellanox simx platforms (#10806) 2022-05-16 23:28:02 +00:00
x86_64-mlnx_msn2700-r0 [Mellanox][202012] Support Mellanox-SN4600C-C64 as T1 switch in dual-ToR scenario (#11032) 2022-06-21 10:04:49 -07:00
x86_64-mlnx_msn2740-r0 [Reclaim buffer][202012] Reclaim unused buffers by applying zero buffer profiles (#9063) 2021-12-09 17:34:56 +02:00
x86_64-mlnx_msn3420-r0 [Reclaim buffer][202012] Reclaim unused buffers by applying zero buffer profiles (#9063) 2021-12-09 17:34:56 +02:00
x86_64-mlnx_msn3700_simx-r0 Removed platform specific reboot files for mellanox simx platforms (#10806) 2022-05-16 23:28:02 +00:00
x86_64-mlnx_msn3700-r0 [Reclaim buffer][202012] Reclaim unused buffers by applying zero buffer profiles (#9063) 2021-12-09 17:34:56 +02:00
x86_64-mlnx_msn3700c-r0 [Reclaim buffer][202012] Reclaim unused buffers by applying zero buffer profiles (#9063) 2021-12-09 17:34:56 +02:00
x86_64-mlnx_msn3800-r0 Fix typo and missing files in SN3800 and SN4600C's buffer templates (#9537) 2021-12-23 03:28:43 +00:00
x86_64-mlnx_msn4410-r0 fix MSN4410 chassis name in platform_components.json (#9939) 2022-02-15 23:56:50 +00:00
x86_64-mlnx_msn4600-r0 [Reclaim buffer][202012] Reclaim unused buffers by applying zero buffer profiles (#9063) 2021-12-09 17:34:56 +02:00
x86_64-mlnx_msn4600c-r0 [Mellanox][202012] Support Mellanox-SN4600C-C64 as T1 switch in dual-ToR scenario (#11032) 2022-06-21 10:04:49 -07:00
x86_64-mlnx_msn4700_simx-r0 Removed platform specific reboot files for mellanox simx platforms (#10806) 2022-05-16 23:28:02 +00:00
x86_64-mlnx_msn4700-r0 [Reclaim buffer][202012] Reclaim unused buffers by applying zero buffer profiles (#9063) 2021-12-09 17:34:56 +02:00
x86_64-mlnx_msn4800-r0/ACS-MSN4800 [Reclaim buffer][202012] Reclaim unused buffers by applying zero buffer profiles (#9063) 2021-12-09 17:34:56 +02:00
x86_64-mlnx_x86-r5.0.1400 [updategraph] add support to use preset config instead of default minigraph (#2050) 2018-09-21 22:01:10 -07:00