Skip to content

[action] [PR:3594] [trim]: Add Packet Trimming to OA#3733

Merged
mssonicbld merged 1 commit intosonic-net:202505from
mssonicbld:cherry/202505/3594
Jun 28, 2025
Merged

[action] [PR:3594] [trim]: Add Packet Trimming to OA#3733
mssonicbld merged 1 commit intosonic-net:202505from
mssonicbld:cherry/202505/3594

Conversation

@mssonicbld
Copy link
Copy Markdown
Collaborator

Signed-off-by: Nazarii Hnydyn nazariig@nvidia.com

DEPENDS:

  1. [trim]: Add Packet Trimming DB schema sonic-swss-common#1001
  2. [trim]: Add Packet Trimming to VS lib sonic-sairedis#1575
  3. [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

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====
           '//||\\`
             ''``
```
@mssonicbld
Copy link
Copy Markdown
Collaborator Author

Original PR: #3594

@mssonicbld
Copy link
Copy Markdown
Collaborator Author

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld mssonicbld merged commit c2528f1 into sonic-net:202505 Jun 28, 2025
15 checks passed
);
if (status != SAI_STATUS_SUCCESS)
{
SWSS_LOG_ERROR(
Copy link
Copy Markdown
Contributor

@dhanasekar-arista dhanasekar-arista Jul 8, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nazariig why is this an error ? is this feature supposed to be enabled/supported by default?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dhanasekar-arista the original assumption was that capabilities query call itself is always supported. Then vendor can provide more details on what exactly is not supported: either GET or SET or even both

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants