Skip to content

Commit a8eb41a

Browse files
Re-sync with internal repository
The internal and external repositories are out of sync. This Pull Request attempts to brings them back in sync by patching the GitHub repository. Please carefully review this patch. You must disable ShipIt for your project in order to merge this pull request. DO NOT IMPORT this pull request. Instead, merge it directly on GitHub using the MERGE BUTTON. Re-enable ShipIt after merging. fbshipit-source-id: a074d19ac964f7ff087f23aa8e22d346387be367
1 parent cf62b92 commit a8eb41a

2 files changed

Lines changed: 768 additions & 0 deletions

File tree

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
package "meta.com/neteng/test_infra/dne/utils/qos_config"
2+
3+
namespace py neteng.test_infra.dne.utils.qos_config
4+
namespace cpp2 neteng.test_infra.dne.utils.qos_config
5+
namespace py3 neteng.test_infra.dne.utils
6+
7+
# Olympic QoS Queues
8+
enum ClassOfService {
9+
# TODO: find ODS key for NCNF queue
10+
// NCNF = 0
11+
BRONZE = 1,
12+
SILVER = 2,
13+
GOLD = 3,
14+
ICP = 4,
15+
NC = 5,
16+
}
17+
18+
# Src : https://fburl.com/diffusion/e5lt4c25
19+
# Maps Olympic QoS Queues to specific DSCP values for testing
20+
const map<ClassOfService, i32> QUEUE_DSCP_BIT_MAP = {
21+
BRONZE: 10,
22+
SILVER: 0,
23+
GOLD: 18,
24+
ICP: 35,
25+
NC: 48,
26+
// NCNF: 51,
27+
};

0 commit comments

Comments
 (0)