Conversation
Signed-off-by: Nazarii Hnydyn <nazariig@nvidia.com>
|
/azp run |
|
No pipelines are associated with this pull request. |
Signed-off-by: Nazarii Hnydyn <nazariig@nvidia.com>
|
/azp run |
|
No pipelines are associated with this pull request. |
|
@kperumalbfn to review and signoff |
sridhartalari
left a comment
There was a problem hiding this comment.
(UEC) Ultra EThernet consortium specification on packet trimming specifies that we should check if packet is greater than certain size to be eligible for trimming. Can we add this also as a configurable parameter.
UEC also mentions that the decision to trim the packet should be based on incoming DSCP along with queue . since current proposal is based on queue alone r we imposing the limit of 1:1 mapping between DSCP and queue?
UEC also recommends 1 DSCP for trimmed and other DSCP for last hop trimmed. Please let us know if we plan to accomdate this
@sridhartalari going thru your questions one-by-one: -> Can we add this also as a configurable parameter. -> since current proposal is based on queue alone r we imposing the limit of 1:1 mapping between DSCP and queue? -> Please let us know if we plan to accomdate this |
|
Thank you for the explanation. |
Signed-off-by: Nazarii Hnydyn <nazariig@nvidia.com>
|
/azp run |
|
No pipelines are associated with this pull request. |
This concept is out of scope of current design proposal. The existing HLD is based on SAI API proposal discussed in SAI Community. I would suggest you to discuss it with the relevant forum first. Once the new SAI API is ready, we can continue discussion here |
|
@qiluo-msft can you please help to merge? All approvals are present |
DEPENDS: [trim]: Add Packet Trimming DB schema sonic-swss-common#1001 HLD: sonic-net/SONiC#1898 What I did Implemented CLI for Packet Trimming feature How I did it Integrated Packet Trimming interface into config and show CLI root How to verify it Run Packet Trimming CLI UTs
Signed-off-by: Nazarii Hnydyn <nazariig@nvidia.com> **HLD:** sonic-net/SONiC#1898 #### A picture of a cute animal (not mandatory but encouraged) ``` .---. .----------- / \ __ / ------ / / \( )/ ----- ////// ' \/ ` --- //// / // : : --- // / / /` '-- // //..\\ ====UU====UU==== '//||\\` ''`` ```
Signed-off-by: Nazarii Hnydyn <nazariig@nvidia.com> **HLD:** sonic-net/SONiC#1898 Requires SAI API v1.15.7 #### A picture of a cute animal (not mandatory but encouraged) ``` .---. .----------- / \ __ / ------ / / \( )/ ----- ////// ' \/ ` --- //// / // : : --- // / / /` '-- // //..\\ ====UU====UU==== '//||\\` ''`` ```
Signed-off-by: Nazarii Hnydyn <nazariig@nvidia.com>
<!--
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:
-->
**DEPENDS:**
1. sonic-net/sonic-swss-common#1001
**HLD:** sonic-net/SONiC#1898
#### What I did
* Implemented CLI for Packet Trimming feature
#### How I did it
* Integrated Packet Trimming 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)
* N/A
#### New command output (if the output of a command-line utility has changed)
* N/A
#### A picture of a cute animal (not mandatory but encouraged)
```
.---. .-----------
/ \ __ / ------
/ / \( )/ -----
////// ' \/ ` ---
//// / // : : ---
// / / /` '--
// //..\\
====UU====UU====
'//||\\`
''``
```
Signed-off-by: Nazarii Hnydyn <nazariig@nvidia.com> **HLD:** sonic-net/SONiC#1898 Requires SAI API v1.15.7 #### A picture of a cute animal (not mandatory but encouraged) ``` .---. .----------- / \ __ / ------ / / \( )/ ----- ////// ' \/ ` --- //// / // : : --- // / / /` '-- // //..\\ ====UU====UU==== '//||\\` ''`` ```
Signed-off-by: Nazarii Hnydyn <nazariig@nvidia.com> <!-- 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: --> **DEPENDS:** 1. sonic-net/sonic-swss-common#1001 **HLD:** sonic-net/SONiC#1898 #### What I did * Implemented CLI for Packet Trimming feature #### How I did it * Integrated Packet Trimming 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) * N/A #### New command output (if the output of a command-line utility has changed) * N/A #### A picture of a cute animal (not mandatory but encouraged) ``` .---. .----------- / \ __ / ------ / / \( )/ ----- ////// ' \/ ` --- //// / // : : --- // / / /` '-- // //..\\ ====UU====UU==== '//||\\` ''`` ```
Signed-off-by: Nazarii Hnydyn <nazariig@nvidia.com> **HLD:** sonic-net/SONiC#1898 #### A picture of a cute animal (not mandatory but encouraged) ``` .---. .----------- / \ __ / ------ / / \( )/ ----- ////// ' \/ ` --- //// / // : : --- // / / /` '-- // //..\\ ====UU====UU==== '//||\\` ''`` ```
* Updated SAI version to 1.16.1. Signed-off-by: Mahdi Ramezani <mramezani@microsoft.com> * [trim]: Add Packet Trimming to VS lib (#55) Signed-off-by: Nazarii Hnydyn <nazariig@nvidia.com> **HLD:** sonic-net/SONiC#1898 Requires SAI API v1.15.7 #### A picture of a cute animal (not mandatory but encouraged) ``` .---. .----------- / \ __ / ------ / / \( )/ ----- ////// ' \/ ` --- //// / // : : --- // / / /` '-- // //..\\ ====UU====UU==== '//||\\` ''`` ``` * Update codeql runs-on ubuntu version to 22.04 (#56) Update the CodeQL runner Ubuntu version. This is to address the following: ``` This is a scheduled Ubuntu 20.04 retirement. Ubuntu 20.04 LTS runner will be removed on 2025-04-15. For more details, see actions/runner-images#11101 ``` * Updated SAI version to 1.16.1. Signed-off-by: Mahdi Ramezani <mramezani@microsoft.com> --------- Signed-off-by: Mahdi Ramezani <mramezani@microsoft.com> Co-authored-by: mssonicbld <79238446+mssonicbld@users.noreply.github.com>
Signed-off-by: Nazarii Hnydyn <nazariig@nvidia.com> **DEPENDS:** 1. sonic-net#1575 **HLD:** sonic-net/SONiC#1898 #### A picture of a cute animal (not mandatory but encouraged) ``` .---. .----------- / \ __ / ------ / / \( )/ ----- ////// ' \/ ` --- //// / // : : --- // / / /` '-- // //..\\ ====UU====UU==== '//||\\` ''`` ```
Signed-off-by: Nazarii Hnydyn <nazariig@nvidia.com> **DEPENDS:** 1. #1575 **HLD:** sonic-net/SONiC#1898 #### A picture of a cute animal (not mandatory but encouraged) ``` .---. .----------- / \ __ / ------ / / \( )/ ----- ////// ' \/ ` --- //// / // : : --- // / / /` '-- // //..\\ ====UU====UU==== '//||\\` ''`` ```
DEPENDS: [trim]: Add Packet Trimming DB schema sonic-swss-common#1001 HLD: sonic-net/SONiC#1898 What I did Implemented CLI for Packet Trimming feature How I did it Integrated Packet Trimming interface into config and show CLI root How to verify it Run Packet Trimming CLI UTs
* [trim]: Add Packet Trimming to OA DEPENDS: [trim]: Add Packet Trimming DB schema sonic-swss-common#1001 [trim]: Add Packet Trimming to VS lib sonic-sairedis#1575 [trim]: Add Packet Trimming Port/Queue stats to VS lib sonic-sairedis#1598 HLD: sonic-net/SONiC#1898 What I did Implemented Packet Trimming feature Why I did it Implementation is done according to the Packet Trimming HLD
Signed-off-by: Nazarii Hnydyn <nazariig@nvidia.com> <!-- 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-swss-common#1001 2. sonic-net/sonic-sairedis#1575 3. sonic-net/sonic-sairedis#1598 **HLD:** sonic-net/SONiC#1898 **What I did** * Implemented Packet Trimming feature **Why I did it** * Implementation is done according to the Packet Trimming 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==== '//||\\` ''`` ```
Signed-off-by: Nazarii Hnydyn <nazariig@nvidia.com> <!-- 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-swss-common#1001 2. sonic-net/sonic-sairedis#1575 3. sonic-net/sonic-sairedis#1598 **HLD:** sonic-net/SONiC#1898 **What I did** * Implemented Packet Trimming feature **Why I did it** * Implementation is done according to the Packet Trimming 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==== '//||\\` ''`` ```
* [trim]: Add Packet Trimming to OA DEPENDS: [trim]: Add Packet Trimming DB schema sonic-swss-common#1001 [trim]: Add Packet Trimming to VS lib sonic-sairedis#1575 [trim]: Add Packet Trimming Port/Queue stats to VS lib sonic-sairedis#1598 HLD: sonic-net/SONiC#1898 What I did Implemented Packet Trimming feature Why I did it Implementation is done according to the Packet Trimming HLD
* [trim]: Add Packet Trimming to OA DEPENDS: [trim]: Add Packet Trimming DB schema sonic-swss-common#1001 [trim]: Add Packet Trimming to VS lib sonic-sairedis#1575 [trim]: Add Packet Trimming Port/Queue stats to VS lib sonic-sairedis#1598 HLD: sonic-net/SONiC#1898 What I did Implemented Packet Trimming feature Why I did it Implementation is done according to the Packet Trimming HLD
* [trim]: Add Packet Trimming to OA DEPENDS: [trim]: Add Packet Trimming DB schema sonic-swss-common#1001 [trim]: Add Packet Trimming to VS lib sonic-sairedis#1575 [trim]: Add Packet Trimming Port/Queue stats to VS lib sonic-sairedis#1598 HLD: sonic-net/SONiC#1898 What I did Implemented Packet Trimming feature Why I did it Implementation is done according to the Packet Trimming HLD Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
* [trim]: Add Packet Trimming to OA DEPENDS: [trim]: Add Packet Trimming DB schema sonic-swss-common#1001 [trim]: Add Packet Trimming to VS lib sonic-sairedis#1575 [trim]: Add Packet Trimming Port/Queue stats to VS lib sonic-sairedis#1598 HLD: sonic-net/SONiC#1898 What I did Implemented Packet Trimming feature Why I did it Implementation is done according to the Packet Trimming HLD Signed-off-by: Baorong Liu <96146196+baorliu@users.noreply.github.com>
Signed-off-by: Nazarii Hnydyn nazariig@nvidia.com
This document provides general information about Packet Trimming implementation in SONiC
In scope: