forked from sonic-net/sonic-mgmt
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Mellanox] Update dscp remapping cases for Nvidia platforms (sonic-ne…
…t#8317) This PR contains the fix for two test cases in DSCP remapping test: test_tunnel_decap_dscp_to_pg_mapping and test_xoff_for_pcbb. The reason that we need this fix: Nvidia's implementation for DSCP remapping is different from Community. We need some additional mapping and the tunnel mode is pipe. For details please check the PR: [Mellanox] Support DSCP remapping in dual ToR topo on T0 switch sonic-buildimage#12605. Nvidia's cell size is 144. Need to stop packet aging in buffer. Need to add qos parameters for pcbb xoff test case.
- Loading branch information
1 parent
a5c4a84
commit b52e3bf
Showing
6 changed files
with
382 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,263 @@ | ||
{ | ||
"DSCP_TO_TC_MAP": { | ||
"AZURE": { | ||
"0": "1", | ||
"1": "1", | ||
"10": "1", | ||
"11": "1", | ||
"12": "1", | ||
"13": "1", | ||
"14": "1", | ||
"15": "1", | ||
"16": "1", | ||
"17": "1", | ||
"18": "1", | ||
"19": "1", | ||
"2": "1", | ||
"20": "1", | ||
"21": "1", | ||
"22": "1", | ||
"23": "1", | ||
"24": "1", | ||
"25": "1", | ||
"26": "1", | ||
"27": "1", | ||
"28": "1", | ||
"29": "1", | ||
"3": "3", | ||
"30": "1", | ||
"31": "1", | ||
"32": "1", | ||
"33": "8", | ||
"34": "1", | ||
"35": "1", | ||
"36": "1", | ||
"37": "1", | ||
"38": "1", | ||
"39": "1", | ||
"4": "4", | ||
"40": "1", | ||
"41": "1", | ||
"42": "1", | ||
"43": "1", | ||
"44": "1", | ||
"45": "1", | ||
"46": "5", | ||
"47": "1", | ||
"48": "7", | ||
"49": "1", | ||
"5": "1", | ||
"50": "1", | ||
"51": "1", | ||
"52": "1", | ||
"53": "1", | ||
"54": "1", | ||
"55": "1", | ||
"56": "1", | ||
"57": "1", | ||
"58": "1", | ||
"59": "1", | ||
"6": "1", | ||
"60": "1", | ||
"61": "1", | ||
"62": "1", | ||
"63": "1", | ||
"7": "1", | ||
"8": "0", | ||
"9": "1" | ||
}, | ||
"AZURE_TUNNEL": { | ||
"0": "1", | ||
"1": "1", | ||
"10": "1", | ||
"11": "1", | ||
"12": "1", | ||
"13": "1", | ||
"14": "1", | ||
"15": "1", | ||
"16": "1", | ||
"17": "1", | ||
"18": "1", | ||
"19": "1", | ||
"2": "1", | ||
"20": "1", | ||
"21": "1", | ||
"22": "1", | ||
"23": "1", | ||
"24": "1", | ||
"25": "1", | ||
"26": "1", | ||
"27": "1", | ||
"28": "1", | ||
"29": "1", | ||
"3": "3", | ||
"30": "1", | ||
"31": "1", | ||
"32": "1", | ||
"33": "8", | ||
"34": "1", | ||
"35": "1", | ||
"36": "1", | ||
"37": "1", | ||
"38": "1", | ||
"39": "1", | ||
"4": "4", | ||
"40": "1", | ||
"41": "1", | ||
"42": "1", | ||
"43": "1", | ||
"44": "1", | ||
"45": "1", | ||
"46": "5", | ||
"47": "1", | ||
"48": "7", | ||
"49": "1", | ||
"5": "1", | ||
"50": "1", | ||
"51": "1", | ||
"52": "1", | ||
"53": "1", | ||
"54": "1", | ||
"55": "1", | ||
"56": "1", | ||
"57": "1", | ||
"58": "1", | ||
"59": "1", | ||
"6": "1", | ||
"60": "1", | ||
"61": "1", | ||
"62": "1", | ||
"63": "1", | ||
"7": "1", | ||
"8": "0", | ||
"9": "1" | ||
}, | ||
"AZURE_UPLINK": { | ||
"0": "1", | ||
"1": "1", | ||
"10": "1", | ||
"11": "1", | ||
"12": "1", | ||
"13": "1", | ||
"14": "1", | ||
"15": "1", | ||
"16": "1", | ||
"17": "1", | ||
"18": "1", | ||
"19": "1", | ||
"2": "2", | ||
"20": "1", | ||
"21": "1", | ||
"22": "1", | ||
"23": "1", | ||
"24": "1", | ||
"25": "1", | ||
"26": "1", | ||
"27": "1", | ||
"28": "1", | ||
"29": "1", | ||
"3": "3", | ||
"30": "1", | ||
"31": "1", | ||
"32": "1", | ||
"33": "8", | ||
"34": "1", | ||
"35": "1", | ||
"36": "1", | ||
"37": "1", | ||
"38": "1", | ||
"39": "1", | ||
"4": "4", | ||
"40": "1", | ||
"41": "1", | ||
"42": "1", | ||
"43": "1", | ||
"44": "1", | ||
"45": "1", | ||
"46": "5", | ||
"47": "1", | ||
"48": "7", | ||
"49": "1", | ||
"5": "1", | ||
"50": "1", | ||
"51": "1", | ||
"52": "1", | ||
"53": "1", | ||
"54": "1", | ||
"55": "1", | ||
"56": "1", | ||
"57": "1", | ||
"58": "1", | ||
"59": "1", | ||
"6": "6", | ||
"60": "1", | ||
"61": "1", | ||
"62": "1", | ||
"63": "1", | ||
"7": "1", | ||
"8": "0", | ||
"9": "1" | ||
} | ||
}, | ||
"TC_TO_PRIORITY_GROUP_MAP": { | ||
"AZURE": { | ||
"0": "0", | ||
"1": "0", | ||
"2": "2", | ||
"3": "3", | ||
"4": "4", | ||
"5": "0", | ||
"6": "6", | ||
"7": "0", | ||
"8": "0" | ||
}, | ||
"AZURE_TUNNEL": { | ||
"0": "0", | ||
"1": "0", | ||
"2": "0", | ||
"3": "2", | ||
"4": "6", | ||
"5": "0", | ||
"6": "0", | ||
"7": "0", | ||
"8": "0" | ||
} | ||
}, | ||
"TC_TO_DSCP_MAP": { | ||
"AZURE_TUNNEL": { | ||
"0": "8", | ||
"1": "0", | ||
"2": "2", | ||
"3": "2", | ||
"4": "6", | ||
"5": "46", | ||
"6": "6", | ||
"7": "48", | ||
"8": "33" | ||
} | ||
}, | ||
"TC_TO_QUEUE_MAP": { | ||
"AZURE": { | ||
"0": "0", | ||
"1": "1", | ||
"2": "2", | ||
"3": "3", | ||
"4": "4", | ||
"5": "5", | ||
"6": "6", | ||
"7": "7", | ||
"8": "1" | ||
}, | ||
"AZURE_TUNNEL": { | ||
"0": "0", | ||
"1": "1", | ||
"2": "2", | ||
"3": "2", | ||
"4": "6", | ||
"5": "5", | ||
"6": "6", | ||
"7": "7", | ||
"8": "1" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.