Skip to content

Changed the trim queue index to 4 for some Broadcom TH5 switches#24199

Merged
kperumalbfn merged 1 commit intosonic-net:masterfrom
mramezani95:mramezani/broadcom_trim_queue_index_update
Oct 3, 2025
Merged

Changed the trim queue index to 4 for some Broadcom TH5 switches#24199
kperumalbfn merged 1 commit intosonic-net:masterfrom
mramezani95:mramezani/broadcom_trim_queue_index_update

Conversation

@mramezani95
Copy link
Contributor

@mramezani95 mramezani95 commented Oct 3, 2025

Why I did it

Currently, Broadcom TH5 switches (Arista 7060X6) use queue 9 to send trimmed packets. This PR changes the .bcm config file for two 7060X6 models to use queue 4 for sending trimmed packets.

Work item tracking
  • Microsoft ADO (number only): 35390583

How I did it

Updated the .bcm config files for the target models.

How to verify it

  1. Build an image with these changes (or directly update these files on a TH5 switch).
  2. Load the image to your switch (or run sudo config reload -y on the switch if you updated these files directly on the switch).
  3. Verify that trimmed packets are sent out from queue 4:
$ queuestat -p Ethernet64 --all
Last cached time was 2025-10-02T21:22:12.460993
Ethernet64 Last cached time was 2025-10-02T21:22:12.460993
      Port    TxQ    Counter/pkts    Counter/bytes    Drop/pkts    Drop/bytes    Trim/pkts    TrimSent/pkts    TrimDrop/pkts
----------  -----  --------------  ---------------  -----------  ------------  -----------  ---------------  ---------------
Ethernet64    UC0               0                0            0             0            0                0                0
Ethernet64    UC1               1            4,100          861     3,530,100          861              861                0
Ethernet64    UC2               0                0            0             0            0                0                0
Ethernet64    UC3               0                0            0             0            0                0                0
Ethernet64    UC4             861          177,366            0             0            0                0                0
Ethernet64    UC5               0                0            0             0            0                0                0
Ethernet64    UC6               0                0            0             0            0                0                0
Ethernet64    UC7               0                0            0             0            0                0                0
Ethernet64    UC8               0                0            0             0            0                0                0
Ethernet64    UC9               0                0            0             0            0                0                0
Ethernet64   MC10               0                0            0             0            0                0                0
Ethernet64   MC11               0                0            0             0            0              861                0

Which release branch to backport (provide reason below if selected)

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

Needed in 202412 to update packet trimming behavior.

Tested branch (Please provide the tested image version)

  • [ 20241211.39]

Description for the changelog

Changed the trim queue index to 4 for some Broadcom TH5 (Arista 7060X6) switches.

Link to config_db schema for YANG module changes

N/A

@mssonicbld
Copy link
Collaborator

/azp run Azure.sonic-buildimage

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Contributor

@kperumalbfn kperumalbfn left a comment

Choose a reason for hiding this comment

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

LGTM

@kperumalbfn kperumalbfn merged commit 2ae29e6 into sonic-net:master Oct 3, 2025
21 checks passed
@kperumalbfn
Copy link
Contributor

@r12f please add to 202412

@mssonicbld
Copy link
Collaborator

Cherry-pick PR to msft-202412: Azure/sonic-buildimage-msft#1693

FengPan-Frank pushed a commit to FengPan-Frank/sonic-buildimage that referenced this pull request Dec 4, 2025
…nic-net#24199)

Changed the trim queue index to 4 for some Broadcom TH5 switches.

Signed-off-by: Feng Pan <[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.

4 participants