sonic-buildimage/device/mellanox
Stephen Sun e3ff08833e
[Mellanox] Support DSCP remapping in dual ToR topo on T0 switch (#12605)
- Why I did it
Support DSCP remapping in dual ToR topo on T0 switch for SKU Mellanox-SN4600c-C64, Mellanox-SN4600c-D48C40, Mellanox-SN2700, Mellanox-SN2700-D48C8.

- How I did it
Regarding buffer settings, originally, there are two lossless PGs and queues 3, 4. In dual ToR scenario, the lossless traffic from the leaf switch to the uplink of the ToR switch can be bounced back.
To avoid PFC deadlock, we need to map the bounce-back lossless traffic to different PGs and queues. Therefore, 2 additional lossless PGs and queues are allocated on uplink ports on ToR switches.

On uplink ports, map DSCP 2/6 to TC 2/6 respectively
On downlink ports, both DSCP 2/6 are still mapped to TC 1
Buffer adjusted according to the ports information:
Mellanox-SN4600c-C64:
56 downlinks 50G + 8 uplinks 100G
Mellanox-SN4600c-D48C40, Mellanox-SN2700, Mellanox-SN2700-D48C8:
24 downlinks 50G + 8 uplinks 100G

- How to verify it
Unit test.

Signed-off-by: Stephen Sun <stephens@nvidia.com>
2023-02-07 16:21:59 +02:00
..
x86_64-mlnx_lssn2700-r0 Add platform_asic file to each platform folder in sonic-device-data based package (#8542) 2021-10-08 19:27:48 -07:00
x86_64-mlnx_msn2010-r0 [Reclaim buffer] Reclaim unused buffers by applying zero buffer profiles (#8768) 2021-11-29 08:04:01 -08:00
x86_64-mlnx_msn2100-r0 [Reclaim buffer] Reclaim unused buffers by applying zero buffer profiles (#8768) 2021-11-29 08:04:01 -08:00
x86_64-mlnx_msn2410-r0 [Reclaim buffer] Reclaim unused buffers by applying zero buffer profiles (#8768) 2021-11-29 08:04:01 -08:00
x86_64-mlnx_msn2700_simx-r0 Removed platform specific reboot files for mellanox simx platforms (#10806) 2022-05-14 15:20:57 +03:00
x86_64-mlnx_msn2700-r0 [Mellanox] Support DSCP remapping in dual ToR topo on T0 switch (#12605) 2023-02-07 16:21:59 +02:00
x86_64-mlnx_msn2740-r0 [Reclaim buffer] Reclaim unused buffers by applying zero buffer profiles (#8768) 2021-11-29 08:04:01 -08:00
x86_64-mlnx_msn3420-r0 [Reclaim buffer] Reclaim unused buffers by applying zero buffer profiles (#8768) 2021-11-29 08:04:01 -08:00
x86_64-mlnx_msn3700_simx-r0 Removed platform specific reboot files for mellanox simx platforms (#10806) 2022-05-14 15:20:57 +03:00
x86_64-mlnx_msn3700-r0 [Mellanox] Add Sensor conf to support respined platforms(SN3700/SN3700C/SN4600C) (#11553) 2022-08-10 18:09:10 +03:00
x86_64-mlnx_msn3700c-r0 [Mellanox] Add Sensor conf to support respined platforms(SN3700/SN3700C/SN4600C) (#11553) 2022-08-10 18:09:10 +03:00
x86_64-mlnx_msn3800-r0 [Mellanox] Auto correct PSU voltage threshold (WA) (#10394) 2022-04-14 08:14:40 +03:00
x86_64-mlnx_msn4410-r0 fix MSN4410 chassis name in platform_components.json (#9939) 2022-02-13 15:01:09 +02:00
x86_64-mlnx_msn4600-r0 [mellanox] Fix DPB supported breakout modes (#10072) 2022-02-25 18:33:35 +05:30
x86_64-mlnx_msn4600c-r0 [Mellanox] Support DSCP remapping in dual ToR topo on T0 switch (#12605) 2023-02-07 16:21:59 +02:00
x86_64-mlnx_msn4700_simx-r0 Removed platform specific reboot files for mellanox simx platforms (#10806) 2022-05-14 15:20:57 +03:00
x86_64-mlnx_msn4700-r0 [Mellanox] [SKU] Added Mellanox-SN4700-A96C8V8 SKU (#12347) 2022-10-20 09:50:07 +03:00
x86_64-mlnx_x86-r5.0.1400 Add platform_asic file to each platform folder in sonic-device-data based package (#8542) 2021-10-08 19:27:48 -07:00
x86_64-nvidia_sn2201-r0 [SN2201] remove extra empty lines in the pg_profile_lookup.ini (#11923) 2022-09-04 10:53:07 +03:00
x86_64-nvidia_sn4800_simx-r0 Removed platform specific reboot files for mellanox simx platforms (#10806) 2022-05-14 15:20:57 +03:00
x86_64-nvidia_sn4800-r0 [Mellanox] Fix platform name for SN4800 (#9635) 2021-12-28 14:58:28 +02:00
x86_64-nvidia_sn5600_simx-r0 [Mellanox] Add support for Service Port in SN5600 (#11609) 2022-08-15 11:47:56 +03:00
x86_64-nvidia_sn5600-r0 [Mellanox] Add device files for SN5600 (#12831) 2022-11-30 19:47:50 +02:00