Skip to content

[action] [PR:12605] [Mellanox] Support DSCP remapping in dual ToR topo on T0 switch#13745

Merged
yxieca merged 1 commit intosonic-net:202205from
mssonicbld:cherry/202205/12605
Feb 10, 2023
Merged

[action] [PR:12605] [Mellanox] Support DSCP remapping in dual ToR topo on T0 switch#13745
yxieca merged 1 commit intosonic-net:202205from
mssonicbld:cherry/202205/12605

Conversation

@mssonicbld
Copy link
Collaborator

No description provided.

…c-net#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 <[email protected]>
@mssonicbld
Copy link
Collaborator Author

Original PR: #12605

@yxieca yxieca merged commit 06aa8aa into sonic-net:202205 Feb 10, 2023
@mssonicbld mssonicbld deleted the cherry/202205/12605 branch March 6, 2026 01:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants