sonic-buildimage/device/mellanox/x86_64-mlnx_msn2700-r0/Mellanox-SN2700
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
..
buffers_defaults_objects.j2 [Reclaim buffer] Reclaim unused buffers by applying zero buffer profiles (#8768) 2021-11-29 08:04:01 -08:00
buffers_defaults_t0.j2 [Mellanox] Support DSCP remapping in dual ToR topo on T0 switch (#12605) 2023-02-07 16:21:59 +02:00
buffers_defaults_t1.j2 [Reclaim buffer] Reclaim unused buffers by applying zero buffer profiles (#8768) 2021-11-29 08:04:01 -08:00
buffers_dynamic.json.j2 [Dynamic buffer calc] Support dynamic buffer calculation (#6194) 2020-12-13 11:35:39 -08:00
buffers.json.j2 Support single ingress pool for MSFT SKUs and optimize headroom calculation (#4686) 2020-08-13 13:12:09 +03:00
hwsku.json [DPB] [Mellanox] added capability files for SN2700 platform (#6003) 2021-01-17 10:42:42 +02:00
pg_profile_lookup.ini Support single ingress pool for MSFT SKUs and optimize headroom calculation (#4686) 2020-08-13 13:12:09 +03:00
port_config.ini Support single ingress pool for MSFT SKUs and optimize headroom calculation (#4686) 2020-08-13 13:12:09 +03:00
qos.json.j2 [Mellanox] Support DSCP remapping in dual ToR topo on T0 switch (#12605) 2023-02-07 16:21:59 +02:00
sai_2700.xml Support single ingress pool for MSFT SKUs and optimize headroom calculation (#4686) 2020-08-13 13:12:09 +03:00
sai.profile Support single ingress pool for MSFT SKUs and optimize headroom calculation (#4686) 2020-08-13 13:12:09 +03:00