[202012] [cherry-pick] Add extra lossy PG profile for ports between T1 and T2 #11160
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Why I did it
This PR is to cherry-pick #11157 to
202012
branch after resolving conflicts.This PR brings two changes
PG2
andPG6
on T1 for ports between T1 and T2.After PR Update qos config to clear queues for bounced back traffic #10176 , the
DSCP_TO_TC_MAP
andTC_TO_PG_MAP
is updated when remapping is enableSo, we have two new lossy PGs (2 and 6) for the T2 facing ports on T1, and two new lossless PGs (2 and 6) for the T0 facing port on T1.
However, there is no lossy PG profile for the T2 facing ports on T1. The lossless PGs for ports between T1 and T0 have been handled by
buffermgrd
.Therefore, We need to add lossy PG profiles for T2 facing ports on T1.We don't have this issue on T0 because
PG 2
andPG 6
are lossless PGs, and there is no lossy traffic mapped toPG 2
andPG 6
TC7
toPG0
Before the PCBB change,
DSCP48 -> TC 6 -> PG 0
.After the PCBB change,
DSCP48 -> TC 7 -> PG 7
Actually, we can map
TC7
toPG0
to save a lossy PG.How I did it
Update the qos and buffer template.
How to verify it
Verified by UT.
Which release branch to backport (provide reason below if selected)
Description for the changelog
Link to config_db schema for YANG module changes
A picture of a cute animal (not mandatory but encouraged)