sonic-buildimage/device/mellanox/x86_64-mlnx_msn4600c-r0/Mellanox-SN4600C-C64
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
..
buffers_defaults_objects.j2 [Reclaim buffer][202012] Reclaim unused buffers by applying zero buffer profiles (#9063) 2021-12-09 17:34:56 +02:00
buffers_defaults_t0.j2 Fix typo and missing files in SN3800 and SN4600C's buffer templates (#9537) 2021-12-23 03:28:43 +00:00
buffers_defaults_t1.j2 [Mellanox][202012] Support Mellanox-SN4600C-C64 as T1 switch in dual-ToR scenario (#11032) 2022-06-21 10:04:49 -07:00
buffers_dynamic.json.j2 Adding new SKU Mellanox-SN4600C-C4 (#7815) 2021-06-21 09:55:43 +00:00
buffers.json.j2 Adding new SKU Mellanox-SN4600C-C4 (#7815) 2021-06-21 09:55:43 +00:00
pg_profile_lookup.ini Adding new SKU Mellanox-SN4600C-C4 (#7815) 2021-06-21 09:55:43 +00:00
port_config.ini Adding new SKU Mellanox-SN4600C-C4 (#7815) 2021-06-21 09:55:43 +00:00
qos.json.j2 [Mellanox][202012] Support Mellanox-SN4600C-C64 as T1 switch in dual-ToR scenario (#11032) 2022-06-21 10:04:49 -07:00
sai_4600C.xml Adding new SKU Mellanox-SN4600C-C4 (#7815) 2021-06-21 09:55:43 +00:00
sai.profile [Mellanox] Update SKUs to enable SDK dumps (#7708) (#7978) 2021-06-27 10:05:14 +03:00