Skip to content

[trim]: Add Packet Trimming Port/Queue stats to VS lib#1598

Merged
kcudnik merged 1 commit intosonic-net:masterfrom
nazariig:master-trim-stats
Jun 3, 2025
Merged

[trim]: Add Packet Trimming Port/Queue stats to VS lib#1598
kcudnik merged 1 commit intosonic-net:masterfrom
nazariig:master-trim-stats

Conversation

@nazariig
Copy link
Collaborator

@nazariig nazariig commented May 12, 2025

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

DEPENDS:

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

HLD: sonic-net/SONiC#1898

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).

@kcudnik
Copy link
Collaborator

kcudnik commented May 12, 2025

can you fix build errors?

@kperumalbfn
Copy link

@nazariig Could you also fix the sairedis UT failures?

@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@nazariig nazariig force-pushed the master-trim-stats branch from 385935c to 3455377 Compare May 12, 2025 19:04
@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@nazariig
Copy link
Collaborator Author

/azpw run

@mssonicbld
Copy link
Collaborator

/AzurePipelines run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@nazariig
Copy link
Collaborator Author

@kcudnik looks like VS tests are unstable. Failures are not related to this change

@nazariig
Copy link
Collaborator Author

Flaky tests:

2025-05-13T09:37:35.3141479Z Running the py test for tests: test_mirror.py, 3/3...
2025-05-13T09:57:33.8853379Z Running the py test for tests: test_srv6.py, 3/3...

@nazariig nazariig requested a review from qiluo-msft May 13, 2025 10:45
@nazariig nazariig force-pushed the master-trim-stats branch from 43a08b9 to 6dc07ff Compare May 30, 2025 18:02
@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@nazariig
Copy link
Collaborator Author

/azpw run

@mssonicbld
Copy link
Collaborator

/AzurePipelines run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@nazariig
Copy link
Collaborator Author

@kcudnik all is green. Ready to merge.

@nazariig
Copy link
Collaborator Author

nazariig commented Jun 2, 2025

@kcudnik can you please help to merge?

@kcudnik kcudnik merged commit 205e560 into sonic-net:master Jun 3, 2025
15 checks passed
@mssonicbld
Copy link
Collaborator

Cherry-pick PR to 202505: #1608

@r12f
Copy link
Contributor

r12f commented Jun 11, 2025

hi @nazariig , do you mind to help picking this PR to 202412?

@dgsudharsan
Copy link
Collaborator

hi @nazariig , do you mind to help picking this PR to 202412?

@r12f This is the 202412 PR Azure/sonic-sairedis.msft#60

@r12f
Copy link
Contributor

r12f commented Jun 11, 2025

thanks Sud! updated tag for tracking

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.

8 participants