Skip to content

Conversation

@rgarofano-arista
Copy link
Contributor

Description of PR

Summary:
Fixes # (issue)

Type of change

  • Bug fix
  • Testbed and Framework(new/improvement)
  • New Test case
    • Skipped for non-supported platforms
  • Test case improvement

Back port request

  • 202205
  • 202305
  • 202311
  • 202405
  • 202411
  • 202412
  • 202505

Approach

What is the motivation for this PR?

Verification for packet trimming tests was failing on th5. We found that trimming was not occurring because too many packets were leaking out of the egress queue despite the shaper being applied.

How did you do it?

By increasing the number of packets sent from 10 to 100 in the verification stage, we saw that trimming was occurring and the verification passed.

How did you verify/test it?

Verified that packet trimming tests were passing with the change.

Any platform specific information?

This issue was discovered when trying to support broadcom th5.

Supported testbed topology if it's a new test case?

Documentation

@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Contributor

@r12f r12f left a comment

Choose a reason for hiding this comment

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

The PR attached here slows down the draining time more, but it could be still not enough: https://github.com/Azure/sonic-mgmt.msft/pull/827/files.

bumping the packet count seems to be straightforward for the fix, hence approving.

@kperumalbfn @developfast , do you mind to also take a look at this PR?

DUMMY_IPV6 = "8000::2"
DUMMY_MAC = "00:11:22:33:44:55"
PACKET_COUNT = 10
PACKET_COUNT = 100
Copy link
Collaborator

Choose a reason for hiding this comment

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

LGTM

@r12f r12f added Request for msft-202412 Branch Request for 202511 branch Request to backport a change to 202511 branch labels Nov 25, 2025
@rgarofano-arista rgarofano-arista force-pushed the send-more-verify-packets-th5 branch from 699a78f to 3fd5bd6 Compare November 28, 2025 00:34
@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@sdszhang
Copy link
Contributor

sdszhang commented Nov 30, 2025

@rgarofano-arista can you fix the PR checker failure?

There is one commit incorrectly signed off. This means that the author of this commit failed to include a Signed-off-by line in the commit message.

@rgarofano-arista rgarofano-arista force-pushed the send-more-verify-packets-th5 branch from 3fd5bd6 to 0a58d9d Compare December 1, 2025 17:47
@github-actions github-actions bot requested a review from developfast December 1, 2025 17:47
@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@bingwang-ms bingwang-ms merged commit a1481ba into sonic-net:master Dec 1, 2025
16 checks passed
@mssonicbld
Copy link
Collaborator

Cherry-pick PR to msft-202412: Azure/sonic-mgmt.msft#897

@mssonicbld
Copy link
Collaborator

Cherry-pick PR to 202511: #21541

opcoder0 pushed a commit to opcoder0/sonic-mgmt that referenced this pull request Dec 8, 2025
dcaugher pushed a commit to dcaugher/sonic-mgmt that referenced this pull request Dec 8, 2025
mssonicbld pushed a commit that referenced this pull request Dec 9, 2025
nissampa pushed a commit to nissampa/sonic-mgmt_dpu_test that referenced this pull request Dec 9, 2025
)

Signed-off-by: Ryan Garofano <[email protected]>
Signed-off-by: Nishanth Sampath Kumar <[email protected]>
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