Commit 6f8ebed
authored
[QoS] Disable pfc and pfcwd on service ports (#24145)
<!--
Please make sure you've read and understood our contributing guidelines:
https://github.com/Azure/SONiC/blob/gh-pages/CONTRIBUTING.md
failure_prs.log Make sure all your commits include a signature generated with `git commit -s` **
If this is a bug fix, make sure your description includes "fixes #xxxx", or
"closes #xxxx" or "resolves #xxxx"
Please provide the following information:
-->
#### Why I did it
Disable pfc and pfcwd on service ports since they carry lossy traffic and do not require any pfc config
##### Work item tracking
- Microsoft ADO **(number only)**:
#### How I did it
Finetune buffer and qos configs
#### How to verify it
Copy templates onto switch, reload the config and see the new config db
<!--
If PR needs to be backported, then the PR must be tested against the base branch and the earliest backport release branch and provide tested image version on these two branches. For example, if the PR is requested for master, 202211 and 202012, then the requester needs to provide test results on master and 202012.
-->
#### Which release branch to backport (provide reason below if selected)
<!--
- Note we only backport fixes to a release branch, *not* features!
- Please also provide a reason for the backporting below.
- e.g.
- [x] 202006
-->
- [ ] 202205
- [ ] 202211
- [ ] 202305
- [ ] 202311
- [ ] 202405
- [ ] 202411
- [X] 202505
#### Tested branch (Please provide the tested image version)
<!--
- Please provide tested image version
- e.g.
- [x] 20201231.100
-->
- [ ] <!-- image version 1 -->
- [ ] <!-- image version 2 -->
#### Description for the changelog
<!--
Write a short (one line) summary that describes the changes in this
pull request for inclusion in the changelog:
-->
Disable PFC and PFCWD on service ports
<!--
Ensure to add label/tag for the feature raised. example - PR#2174 under sonic-utilities repo. where, Generic Config and Update feature has been labelled as GCU.
-->
#### Link to config_db schema for YANG module changes
<!--
Provide a link to config_db schema for the table for which YANG model
is defined
Link should point to correct section on https://github.com/Azure/sonic-buildimage/blob/master/src/sonic-yang-models/doc/Configuration.md
-->
All unit tests pass
```
collected 312 items
tests/test_cfggen.py .................................................................................... [ 26%]
tests/test_cfggen_from_yang.py .................. [ 32%]
tests/test_cfggen_pfx_filter.py . [ 33%]
tests/test_cfggen_platformJson.py ...... [ 34%]
tests/test_cfggen_t2_chassis_fe.py ...... [ 36%]
tests/test_chassis_cfggen.py ......................................................... [ 55%]
tests/test_frr.py ...... [ 57%]
tests/test_j2files.py ................................................ [ 72%]
tests/test_j2files_t2_chassis_fe.py ... [ 73%]
tests/test_minigraph_case.py ........................................... [ 87%]
tests/test_multinpu_cfggen.py ........................................ [100%]
===================================================================== 312 passed in 321.99s (0:05:21) ==================================
```
#### A picture of a cute animal (not mandatory but encouraged)1 parent 68ba50b commit 6f8ebed
File tree
7 files changed
+10133
-0
lines changed- device/arista/x86_64-arista_7060x6_16pe_384c_b/Arista-7060X6-16PE-384C-B-O128S2
- files/build_templates
- src/sonic-config-engine
- tests
- sample_output/py3
7 files changed
+10133
-0
lines changedLines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
8 | 24 | | |
9 | 25 | | |
10 | 26 | | |
| |||
37 | 53 | | |
38 | 54 | | |
39 | 55 | | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
40 | 59 | | |
41 | 60 | | |
42 | 61 | | |
| |||
426 | 445 | | |
427 | 446 | | |
428 | 447 | | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
429 | 452 | | |
430 | 453 | | |
431 | 454 | | |
432 | 455 | | |
433 | 456 | | |
434 | 457 | | |
435 | 458 | | |
| 459 | + | |
436 | 460 | | |
437 | 461 | | |
438 | 462 | | |
439 | 463 | | |
440 | 464 | | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
441 | 468 | | |
| 469 | + | |
442 | 470 | | |
443 | 471 | | |
444 | 472 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
301 | 301 | | |
302 | 302 | | |
303 | 303 | | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
304 | 315 | | |
305 | 316 | | |
306 | 317 | | |
| |||
0 commit comments