Packet Trimming: Asymmetric DSCP HLD#1988
Merged
r12f merged 2 commits intosonic-net:masterfrom Jul 7, 2025
Merged
Conversation
Signed-off-by: Nazarii Hnydyn <[email protected]>
Collaborator
|
/azp run |
|
No pipelines are associated with this pull request. |
Collaborator
Author
|
@sridhartalari you might be interested in this small extension |
Collaborator
Author
|
@adyeung / @pavannaregundi FYI |
kperumalbfn
reviewed
May 9, 2025
93ba77b to
db1cde2
Compare
Collaborator
|
/azp run |
|
No pipelines are associated with this pull request. |
Collaborator
|
@kperumalbfn can you please approve the HLD and merge it? |
kperumalbfn
reviewed
May 27, 2025
kperumalbfn
approved these changes
May 27, 2025
Signed-off-by: Nazarii Hnydyn <[email protected]>
db1cde2 to
d06bff7
Compare
Collaborator
|
/azp run |
|
No pipelines are associated with this pull request. |
volodymyrsamotiy
approved these changes
Jun 12, 2025
This was referenced Jun 12, 2025
Collaborator
Author
@liat-grozovik done. Links have been updated |
mssonicbld
added a commit
to mssonicbld/sonic-sairedis
that referenced
this pull request
Jul 4, 2025
Signed-off-by: Nazarii Hnydyn <[email protected]> **DEPENDS:** 1. sonic-net/sonic-swss#3712 **HLD:** sonic-net/SONiC#1988 Requires SAI API v1.16.1 #### A picture of a cute animal (not mandatory but encouraged) ``` .---. .----------- / \ __ / ------ / / \( )/ ----- ////// ' \/ ` --- //// / // : : --- // / / /` '-- // //..\\ ====UU====UU==== '//||\\` ''`` ```
Collaborator
Author
|
@prsunny / @qiluo-msft / @r12f / @kperumalbfn just a kind reminder - please help to merge the HLD |
mssonicbld
added a commit
to mssonicbld/sonic-buildimage
that referenced
this pull request
Jul 10, 2025
Signed-off-by: Nazarii Hnydyn <[email protected]> <!-- Please make sure you've read and understood our contributing guidelines: https://github.com/Azure/SONiC/blob/gh-pages/CONTRIBUTING.md ** 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: --> **HLD:** sonic-net/SONiC#1988 #### Why I did it * Added YANG model as part of Packet Trimming Asymmetric DSCP feature development #### Work item tracking * N/A #### How I did it * Added YANG model #### How to verify it <!-- 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. --> 1. Run Packet Trimming UTs #### 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 --> - [ ] 201811 - [ ] 201911 - [ ] 202006 - [ ] 202012 - [ ] 202106 - [ ] 202111 - [ ] 202205 - [ ] 202211 - [ ] 202305 #### Tested branch (Please provide the tested image version) <!-- - Please provide tested image version - e.g. - [x] 20201231.100 --> - [x] master <!-- image version 1 --> - [x] 202412 <!-- 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: --> * N/A #### 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 --> * [sonic-trimming.yang](https://github.com/sonic-net/sonic-buildimage/blob/master/src/sonic-yang-models/yang-models/sonic-trimming.yang) #### A picture of a cute animal (not mandatory but encouraged) ``` .---. .----------- / \ __ / ------ / / \( )/ ----- ////// ' \/ ` --- //// / // : : --- // / / /` '-- // //..\\ ====UU====UU==== '//||\\` ''`` ```
This was referenced Jul 10, 2025
mssonicbld
added a commit
to sonic-net/sonic-buildimage
that referenced
this pull request
Jul 10, 2025
Signed-off-by: Nazarii Hnydyn <[email protected]> <!-- Please make sure you've read and understood our contributing guidelines: https://github.com/Azure/SONiC/blob/gh-pages/CONTRIBUTING.md failure_prs.log skip_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: --> **HLD:** sonic-net/SONiC#1988 #### Why I did it * Added YANG model as part of Packet Trimming Asymmetric DSCP feature development #### Work item tracking * N/A #### How I did it * Added YANG model #### How to verify it <!-- 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. --> 1. Run Packet Trimming UTs #### 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 --> - [ ] 201811 - [ ] 201911 - [ ] 202006 - [ ] 202012 - [ ] 202106 - [ ] 202111 - [ ] 202205 - [ ] 202211 - [ ] 202305 #### Tested branch (Please provide the tested image version) <!-- - Please provide tested image version - e.g. - [x] 20201231.100 --> - [x] master <!-- image version 1 --> - [x] 202412 <!-- 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: --> * N/A #### 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 --> * [sonic-trimming.yang](https://github.com/sonic-net/sonic-buildimage/blob/master/src/sonic-yang-models/yang-models/sonic-trimming.yang) #### A picture of a cute animal (not mandatory but encouraged) ``` .---. .----------- / \ __ / ------ / / \( )/ ----- ////// ' \/ ` --- //// / // : : --- // / / /` '-- // //..\\ ====UU====UU==== '//||\\` ''`` ```
qiluo-msft
pushed a commit
to sonic-net/sonic-utilities
that referenced
this pull request
Jul 13, 2025
HLD: sonic-net/SONiC#1988 What I did Implemented CLI for Packet Trimming Asymmetric DSCP feature How I did it Integrated Packet Trimming Asymmetric DSCP interface into config and show CLI root How to verify it Run Packet Trimming CLI UTs Previous command output (if the output of a command-line utility has changed) admin@sonic:/home/admin# show switch-trimming global +-----------------------------+---------+ | Configuration | Value | +=============================+=========+ | Packet trimming size | 256 | +-----------------------------+---------+ | Packet trimming DSCP value | 25 | +-----------------------------+---------+ | Packet trimming queue index | 5 | +-----------------------------+---------+ New command output (if the output of a command-line utility has changed) admin@sonic:/home/admin# show switch-trimming global +-----------------------------+---------+ | Configuration | Value | +=============================+=========+ | Packet trimming size | 256 | +-----------------------------+---------+ | Packet trimming DSCP value | from-tc | +-----------------------------+---------+ | Packet trimming TC value | 10 | +-----------------------------+---------+ | Packet trimming queue index | 5 | +-----------------------------+---------+
mssonicbld
added a commit
to mssonicbld/sonic-utilities.msft
that referenced
this pull request
Jul 13, 2025
Signed-off-by: Nazarii Hnydyn <[email protected]> <!-- Please make sure you've read and understood our contributing guidelines: https://github.com/Azure/SONiC/blob/gh-pages/CONTRIBUTING.md ** Make sure all your commits include a signature generated with `git commit -s` ** If this is a bug fix, make sure your description includes "closes #xxxx", "fixes #xxxx" or "resolves #xxxx" so that GitHub automatically closes the related issue when the PR is merged. If you are adding/modifying/removing any command or utility script, please also make sure to add/modify/remove any unit tests from the tests directory as appropriate. If you are modifying or removing an existing 'show', 'config' or 'sonic-clear' subcommand, or you are adding a new subcommand, please make sure you also update the Command Line Reference Guide (doc/Command-Reference.md) to reflect your changes. Please provide the following information: --> **HLD:** sonic-net/SONiC#1988 #### What I did * Implemented CLI for Packet Trimming Asymmetric DSCP feature #### How I did it * Integrated Packet Trimming Asymmetric DSCP interface into `config` and `show` CLI root #### How to verify it 1. Run Packet Trimming CLI UTs #### Previous command output (if the output of a command-line utility has changed) ``` admin@sonic:/home/admin# show switch-trimming global +-----------------------------+---------+ | Configuration | Value | +=============================+=========+ | Packet trimming size | 256 | +-----------------------------+---------+ | Packet trimming DSCP value | 25 | +-----------------------------+---------+ | Packet trimming queue index | 5 | +-----------------------------+---------+ ``` #### New command output (if the output of a command-line utility has changed) ``` admin@sonic:/home/admin# show switch-trimming global +-----------------------------+---------+ | Configuration | Value | +=============================+=========+ | Packet trimming size | 256 | +-----------------------------+---------+ | Packet trimming DSCP value | from-tc | +-----------------------------+---------+ | Packet trimming TC value | 10 | +-----------------------------+---------+ | Packet trimming queue index | 5 | +-----------------------------+---------+ ``` #### A picture of a cute animal (not mandatory but encouraged) ``` .---. .----------- / \ __ / ------ / / \( )/ ----- ////// ' \/ ` --- //// / // : : --- // / / /` '-- // //..\\ ====UU====UU==== '//||\\` ''`` ```
mssonicbld
added a commit
to Azure/sonic-utilities.msft
that referenced
this pull request
Jul 13, 2025
Signed-off-by: Nazarii Hnydyn <[email protected]> <!-- 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 "closes #xxxx", "fixes #xxxx" or "resolves #xxxx" so that GitHub automatically closes the related issue when the PR is merged. If you are adding/modifying/removing any command or utility script, please also make sure to add/modify/remove any unit tests from the tests directory as appropriate. If you are modifying or removing an existing 'show', 'config' or 'sonic-clear' subcommand, or you are adding a new subcommand, please make sure you also update the Command Line Reference Guide (doc/Command-Reference.md) to reflect your changes. Please provide the following information: --> **HLD:** sonic-net/SONiC#1988 #### What I did * Implemented CLI for Packet Trimming Asymmetric DSCP feature #### How I did it * Integrated Packet Trimming Asymmetric DSCP interface into `config` and `show` CLI root #### How to verify it 1. Run Packet Trimming CLI UTs #### Previous command output (if the output of a command-line utility has changed) ``` admin@sonic:/home/admin# show switch-trimming global +-----------------------------+---------+ | Configuration | Value | +=============================+=========+ | Packet trimming size | 256 | +-----------------------------+---------+ | Packet trimming DSCP value | 25 | +-----------------------------+---------+ | Packet trimming queue index | 5 | +-----------------------------+---------+ ``` #### New command output (if the output of a command-line utility has changed) ``` admin@sonic:/home/admin# show switch-trimming global +-----------------------------+---------+ | Configuration | Value | +=============================+=========+ | Packet trimming size | 256 | +-----------------------------+---------+ | Packet trimming DSCP value | from-tc | +-----------------------------+---------+ | Packet trimming TC value | 10 | +-----------------------------+---------+ | Packet trimming queue index | 5 | +-----------------------------+---------+ ``` #### A picture of a cute animal (not mandatory but encouraged) ``` .---. .----------- / \ __ / ------ / / \( )/ ----- ////// ' \/ ` --- //// / // : : --- // / / /` '-- // //..\\ ====UU====UU==== '//||\\` ''`` ```
mssonicbld
added a commit
to mssonicbld/sonic-utilities
that referenced
this pull request
Jul 14, 2025
Signed-off-by: Nazarii Hnydyn <[email protected]> <!-- Please make sure you've read and understood our contributing guidelines: https://github.com/Azure/SONiC/blob/gh-pages/CONTRIBUTING.md ** Make sure all your commits include a signature generated with `git commit -s` ** If this is a bug fix, make sure your description includes "closes #xxxx", "fixes #xxxx" or "resolves #xxxx" so that GitHub automatically closes the related issue when the PR is merged. If you are adding/modifying/removing any command or utility script, please also make sure to add/modify/remove any unit tests from the tests directory as appropriate. If you are modifying or removing an existing 'show', 'config' or 'sonic-clear' subcommand, or you are adding a new subcommand, please make sure you also update the Command Line Reference Guide (doc/Command-Reference.md) to reflect your changes. Please provide the following information: --> **HLD:** sonic-net/SONiC#1988 #### What I did * Implemented CLI for Packet Trimming Asymmetric DSCP feature #### How I did it * Integrated Packet Trimming Asymmetric DSCP interface into `config` and `show` CLI root #### How to verify it 1. Run Packet Trimming CLI UTs #### Previous command output (if the output of a command-line utility has changed) ``` admin@sonic:/home/admin# show switch-trimming global +-----------------------------+---------+ | Configuration | Value | +=============================+=========+ | Packet trimming size | 256 | +-----------------------------+---------+ | Packet trimming DSCP value | 25 | +-----------------------------+---------+ | Packet trimming queue index | 5 | +-----------------------------+---------+ ``` #### New command output (if the output of a command-line utility has changed) ``` admin@sonic:/home/admin# show switch-trimming global +-----------------------------+---------+ | Configuration | Value | +=============================+=========+ | Packet trimming size | 256 | +-----------------------------+---------+ | Packet trimming DSCP value | from-tc | +-----------------------------+---------+ | Packet trimming TC value | 10 | +-----------------------------+---------+ | Packet trimming queue index | 5 | +-----------------------------+---------+ ``` #### A picture of a cute animal (not mandatory but encouraged) ``` .---. .----------- / \ __ / ------ / / \( )/ ----- ////// ' \/ ` --- //// / // : : --- // / / /` '-- // //..\\ ====UU====UU==== '//||\\` ''`` ```
mssonicbld
added a commit
to sonic-net/sonic-utilities
that referenced
this pull request
Jul 14, 2025
Signed-off-by: Nazarii Hnydyn <[email protected]> <!-- Please make sure you've read and understood our contributing guidelines: https://github.com/Azure/SONiC/blob/gh-pages/CONTRIBUTING.md failure_prs.log skip_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 "closes #xxxx", "fixes #xxxx" or "resolves #xxxx" so that GitHub automatically closes the related issue when the PR is merged. If you are adding/modifying/removing any command or utility script, please also make sure to add/modify/remove any unit tests from the tests directory as appropriate. If you are modifying or removing an existing 'show', 'config' or 'sonic-clear' subcommand, or you are adding a new subcommand, please make sure you also update the Command Line Reference Guide (doc/Command-Reference.md) to reflect your changes. Please provide the following information: --> **HLD:** sonic-net/SONiC#1988 #### What I did * Implemented CLI for Packet Trimming Asymmetric DSCP feature #### How I did it * Integrated Packet Trimming Asymmetric DSCP interface into `config` and `show` CLI root #### How to verify it 1. Run Packet Trimming CLI UTs #### Previous command output (if the output of a command-line utility has changed) ``` admin@sonic:/home/admin# show switch-trimming global +-----------------------------+---------+ | Configuration | Value | +=============================+=========+ | Packet trimming size | 256 | +-----------------------------+---------+ | Packet trimming DSCP value | 25 | +-----------------------------+---------+ | Packet trimming queue index | 5 | +-----------------------------+---------+ ``` #### New command output (if the output of a command-line utility has changed) ``` admin@sonic:/home/admin# show switch-trimming global +-----------------------------+---------+ | Configuration | Value | +=============================+=========+ | Packet trimming size | 256 | +-----------------------------+---------+ | Packet trimming DSCP value | from-tc | +-----------------------------+---------+ | Packet trimming TC value | 10 | +-----------------------------+---------+ | Packet trimming queue index | 5 | +-----------------------------+---------+ ``` #### A picture of a cute animal (not mandatory but encouraged) ``` .---. .----------- / \ __ / ------ / / \( )/ ----- ////// ' \/ ` --- //// / // : : --- // / / /` '-- // //..\\ ====UU====UU==== '//||\\` ''`` ```
prsunny
pushed a commit
to sonic-net/sonic-swss
that referenced
this pull request
Jul 14, 2025
DEPENDS: [trim]: Add Packet Trimming Asym DSCP to VS lib sonic-sairedis#1610 [trim]: Add Packet Trimming to OA #3594 HLD: sonic-net/SONiC#1988 What I did Implemented Packet Trimming Asymmetric DSCP feature Why I did it Implementation is done according to the Packet Trimming Asymmetric DSCP HLD
mssonicbld
added a commit
to mssonicbld/sonic-swss
that referenced
this pull request
Jul 15, 2025
Signed-off-by: Nazarii Hnydyn <[email protected]> <!-- Please make sure you have read and understood the contribution guildlines: https://github.com/Azure/SONiC/blob/gh-pages/CONTRIBUTING.md 1. Make sure your commit includes a signature generted with `git commit -s` 2. Make sure your commit title follows the correct format: [component]: description 3. Make sure your commit message contains enough details about the change and related tests 4. Make sure your pull request adds related reviewers, asignees, labels Please also provide the following information in this pull request: --> **DEPENDS:** 1. sonic-net/sonic-sairedis#1610 2. sonic-net#3594 **HLD:** sonic-net/SONiC#1988 **What I did** * Implemented Packet Trimming Asymmetric DSCP feature **Why I did it** * Implementation is done according to the Packet Trimming Asymmetric DSCP HLD **How I verified it** 1. Run Packet Trimming VS UTs **Details if related** * N/A #### A picture of a cute animal (not mandatory but encouraged) ``` .---. .----------- / \ __ / ------ / / \( )/ ----- ////// ' \/ ` --- //// / // : : --- // / / /` '-- // //..\\ ====UU====UU==== '//||\\` ''`` ```
mssonicbld
added a commit
to sonic-net/sonic-swss
that referenced
this pull request
Jul 15, 2025
Signed-off-by: Nazarii Hnydyn <[email protected]> <!-- Please make sure you have read and understood the contribution guildlines: https://github.com/Azure/SONiC/blob/gh-pages/CONTRIBUTING.md 1. Make sure your commit includes a signature generted with `git commit -s` 2. Make sure your commit title follows the correct format: [component]: description 3. Make sure your commit message contains enough details about the change and related tests 4. Make sure your pull request adds related reviewers, asignees, labels Please also provide the following information in this pull request: --> **DEPENDS:** 1. sonic-net/sonic-sairedis#1610 2. #3594 **HLD:** sonic-net/SONiC#1988 **What I did** * Implemented Packet Trimming Asymmetric DSCP feature **Why I did it** * Implementation is done according to the Packet Trimming Asymmetric DSCP HLD **How I verified it** 1. Run Packet Trimming VS UTs **Details if related** * N/A #### A picture of a cute animal (not mandatory but encouraged) ``` .---. .----------- / \ __ / ------ / / \( )/ ----- ////// ' \/ ` --- //// / // : : --- // / / /` '-- // //..\\ ====UU====UU==== '//||\\` ''`` ```
mssonicbld
added a commit
to sonic-net/sonic-sairedis
that referenced
this pull request
Jul 22, 2025
Signed-off-by: Nazarii Hnydyn <[email protected]> **DEPENDS:** 1. sonic-net/sonic-swss#3712 **HLD:** sonic-net/SONiC#1988 Requires SAI API v1.16.1 #### A picture of a cute animal (not mandatory but encouraged) ``` .---. .----------- / \ __ / ------ / / \( )/ ----- ////// ' \/ ` --- //// / // : : --- // / / /` '-- // //..\\ ====UU====UU==== '//||\\` ''`` ```
bobby-nexthop
pushed a commit
to bobby-nexthop/sonic-swss
that referenced
this pull request
Jul 24, 2025
DEPENDS: [trim]: Add Packet Trimming Asym DSCP to VS lib sonic-sairedis#1610 [trim]: Add Packet Trimming to OA sonic-net#3594 HLD: sonic-net/SONiC#1988 What I did Implemented Packet Trimming Asymmetric DSCP feature Why I did it Implementation is done according to the Packet Trimming Asymmetric DSCP HLD
mssonicbld
added a commit
to mssonicbld/sonic-swss.msft
that referenced
this pull request
Aug 3, 2025
Signed-off-by: Nazarii Hnydyn <[email protected]> <!-- Please make sure you have read and understood the contribution guildlines: https://github.com/Azure/SONiC/blob/gh-pages/CONTRIBUTING.md 1. Make sure your commit includes a signature generted with `git commit -s` 2. Make sure your commit title follows the correct format: [component]: description 3. Make sure your commit message contains enough details about the change and related tests 4. Make sure your pull request adds related reviewers, asignees, labels Please also provide the following information in this pull request: --> **DEPENDS:** 1. sonic-net/sonic-sairedis#1610 2. sonic-net/sonic-swss#3594 **HLD:** sonic-net/SONiC#1988 **What I did** * Implemented Packet Trimming Asymmetric DSCP feature **Why I did it** * Implementation is done according to the Packet Trimming Asymmetric DSCP HLD **How I verified it** 1. Run Packet Trimming VS UTs **Details if related** * N/A #### A picture of a cute animal (not mandatory but encouraged) ``` .---. .----------- / \ __ / ------ / / \( )/ ----- ////// ' \/ ` --- //// / // : : --- // / / /` '-- // //..\\ ====UU====UU==== '//||\\` ''`` ```
prabhataravind
pushed a commit
to Azure/sonic-swss.msft
that referenced
this pull request
Aug 4, 2025
Signed-off-by: Nazarii Hnydyn <[email protected]> <!-- Please make sure you have read and understood the contribution guildlines: https://github.com/Azure/SONiC/blob/gh-pages/CONTRIBUTING.md 1. Make sure your commit includes a signature generted with `git commit -s` 2. Make sure your commit title follows the correct format: [component]: description 3. Make sure your commit message contains enough details about the change and related tests 4. Make sure your pull request adds related reviewers, asignees, labels Please also provide the following information in this pull request: --> **DEPENDS:** 1. sonic-net/sonic-sairedis#1610 2. sonic-net/sonic-swss#3594 **HLD:** sonic-net/SONiC#1988 **What I did** * Implemented Packet Trimming Asymmetric DSCP feature **Why I did it** * Implementation is done according to the Packet Trimming Asymmetric DSCP HLD **How I verified it** 1. Run Packet Trimming VS UTs **Details if related** * N/A #### A picture of a cute animal (not mandatory but encouraged) ``` .---. .----------- / \ __ / ------ / / \( )/ ----- ////// ' \/ ` --- //// / // : : --- // / / /` '-- // //..\\ ====UU====UU==== '//||\\` ''`` ```
Janetxxx
pushed a commit
to Janetxxx/sonic-swss
that referenced
this pull request
Nov 10, 2025
DEPENDS: [trim]: Add Packet Trimming Asym DSCP to VS lib sonic-sairedis#1610 [trim]: Add Packet Trimming to OA sonic-net#3594 HLD: sonic-net/SONiC#1988 What I did Implemented Packet Trimming Asymmetric DSCP feature Why I did it Implementation is done according to the Packet Trimming Asymmetric DSCP HLD
balanokia
pushed a commit
to balanokia/sonic-swss
that referenced
this pull request
Nov 17, 2025
DEPENDS: [trim]: Add Packet Trimming Asym DSCP to VS lib sonic-sairedis#1610 [trim]: Add Packet Trimming to OA sonic-net#3594 HLD: sonic-net/SONiC#1988 What I did Implemented Packet Trimming Asymmetric DSCP feature Why I did it Implementation is done according to the Packet Trimming Asymmetric DSCP HLD
YairRaviv
pushed a commit
to YairRaviv/sonic-utilities
that referenced
this pull request
Jan 12, 2026
HLD: sonic-net/SONiC#1988 What I did Implemented CLI for Packet Trimming Asymmetric DSCP feature How I did it Integrated Packet Trimming Asymmetric DSCP interface into config and show CLI root How to verify it Run Packet Trimming CLI UTs Previous command output (if the output of a command-line utility has changed) admin@sonic:/home/admin# show switch-trimming global +-----------------------------+---------+ | Configuration | Value | +=============================+=========+ | Packet trimming size | 256 | +-----------------------------+---------+ | Packet trimming DSCP value | 25 | +-----------------------------+---------+ | Packet trimming queue index | 5 | +-----------------------------+---------+ New command output (if the output of a command-line utility has changed) admin@sonic:/home/admin# show switch-trimming global +-----------------------------+---------+ | Configuration | Value | +=============================+=========+ | Packet trimming size | 256 | +-----------------------------+---------+ | Packet trimming DSCP value | from-tc | +-----------------------------+---------+ | Packet trimming TC value | 10 | +-----------------------------+---------+ | Packet trimming queue index | 5 | +-----------------------------+---------+
theasianpianist
pushed a commit
to theasianpianist/sonic-swss
that referenced
this pull request
Feb 4, 2026
DEPENDS: [trim]: Add Packet Trimming Asym DSCP to VS lib sonic-sairedis#1610 [trim]: Add Packet Trimming to OA sonic-net#3594 HLD: sonic-net/SONiC#1988 What I did Implemented Packet Trimming Asymmetric DSCP feature Why I did it Implementation is done according to the Packet Trimming Asymmetric DSCP HLD Signed-off-by: Lawrence Lee <[email protected]>
baorliu
pushed a commit
to baorliu/sonic-swss
that referenced
this pull request
Feb 23, 2026
DEPENDS: [trim]: Add Packet Trimming Asym DSCP to VS lib sonic-sairedis#1610 [trim]: Add Packet Trimming to OA sonic-net#3594 HLD: sonic-net/SONiC#1988 What I did Implemented Packet Trimming Asymmetric DSCP feature Why I did it Implementation is done according to the Packet Trimming Asymmetric DSCP HLD Signed-off-by: Baorong Liu <[email protected]>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Signed-off-by: Nazarii Hnydyn [email protected]
This document provides general information about Packet Trimming implementation in SONiC
In scope: