Skip to content

[trim]: Add Packet Trimming to VS lib#1575

Merged
kcudnik merged 1 commit intosonic-net:masterfrom
nazariig:master-trim
Apr 30, 2025
Merged

[trim]: Add Packet Trimming to VS lib#1575
kcudnik merged 1 commit intosonic-net:masterfrom
nazariig:master-trim

Conversation

@nazariig
Copy link
Collaborator

@nazariig nazariig commented Apr 6, 2025

Signed-off-by: Nazarii Hnydyn [email protected]

HLD: sonic-net/SONiC#1898

Requires SAI API v1.15.7

A picture of a cute animal (not mandatory but encouraged)

      .---.        .-----------
     /     \  __  /    ------
    / /     \(  )/    -----
   //////   ' \/ `   ---
  //// / // :    : ---
 // /   /  /`    '--
//          //..\\
       ====UU====UU====
           '//||\\`
             ''``

@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@nazariig nazariig marked this pull request as ready for review April 16, 2025 08:39
@kcudnik
Copy link
Collaborator

kcudnik commented Apr 16, 2025

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@kcudnik
Copy link
Collaborator

kcudnik commented Apr 30, 2025

let me know if this is ready to merge

@nazariig
Copy link
Collaborator Author

let me know if this is ready to merge

@kcudnik Packet Trimming API is already in SAI. Please help to merge this PR.

@kcudnik kcudnik merged commit 7bd5e47 into sonic-net:master Apr 30, 2025
15 checks passed
@mssonicbld
Copy link
Collaborator

Cherry-pick PR to msft-202412: Azure/sonic-sairedis.msft#55

mssonicbld added a commit to mssonicbld/sonic-sairedis that referenced this pull request Jun 4, 2025
Signed-off-by: Nazarii Hnydyn <[email protected]>

**DEPENDS:**
1. sonic-net#1575

**HLD:** sonic-net/SONiC#1898

#### A picture of a cute animal (not mandatory but encouraged)
```
      .---.        .-----------
     /     \  __  /    ------
    / /     \(  )/    -----
   //////   ' \/ `   ---
  //// / // :    : ---
 // /   /  /`    '--
//          //..\\
       ====UU====UU====
           '//||\\`
             ''``
```
mssonicbld added a commit that referenced this pull request Jun 5, 2025
Signed-off-by: Nazarii Hnydyn <[email protected]>

**DEPENDS:**
1. #1575

**HLD:** sonic-net/SONiC#1898

#### A picture of a cute animal (not mandatory but encouraged)
```
 .---. .-----------
 / \ __ / ------
 / / \( )/ -----
 ////// ' \/ ` ---
 //// / // : : ---
 // / / /` '--
// //..\\
 ====UU====UU====
 '//||\\`
 ''``
```
mssonicbld added a commit to mssonicbld/sonic-swss that referenced this pull request Jun 28, 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-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 added a commit to sonic-net/sonic-swss that referenced this pull request Jun 28, 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-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====
 '//||\\`
 ''``
```
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.

7 participants