Skip to content

[broadcom] Bump legacy-th SAI to 13.2.1.120 (OCP 1.18.1 compat)#27875

Open
lipxu wants to merge 1 commit into
sonic-net:masterfrom
lipxu:20260612_publicMaster_legacy_th_ocp1181
Open

[broadcom] Bump legacy-th SAI to 13.2.1.120 (OCP 1.18.1 compat)#27875
lipxu wants to merge 1 commit into
sonic-net:masterfrom
lipxu:20260612_publicMaster_legacy_th_ocp1181

Conversation

@lipxu

@lipxu lipxu commented Jun 13, 2026

Copy link
Copy Markdown
Contributor

Why I did it

The Broadcom Tomahawk (legacy-th) SAI is the old official TH SAI rebuilt against the latest OCP SAI header to stay ABI/API-compatible with SONiC's user-space SAI (syncd/sairedis).

SONiC master's OCP SAI header has advanced to 1.18.1 (sairedis → OCP/SAI submodule saiversion.h: SAI_MAJOR=1, SAI_MINOR=18, SAI_REVISION=1). The previous legacy-th binary (13.2.1.100, compat tier OCP1.17.1) no longer matches the header syncd is built against, so the TH SAI was rebuilt to the new compat tier: 13.2.1.120 / SAI_13.2.1_compat_OCP1.18.1.

How I did it

Updated platform/broadcom/sai-legacy-th.mk:

  • LIBSAIBCM_LEGACY_TH_VERSION: 13.2.1.10013.2.1.120
  • LIBSAIBCM_LEGACY_TH_BRANCH_NAME: SAI_13.2.1_compat_OCP1.17.1SAI_13.2.1_compat_OCP1.18.1

No other files require changes: the docker-syncd-brcm-legacy-th image is variable-driven (consumes BRCM_LEGACY_TH_SAI automatically), and the saibcm-modules-legacy-th kernel driver is tied to the Broadcom SDK, not the OCP SAI header.

How to verify it

Installed the resulting sonic-aboot-broadcom-legacy-th.swi on Arista 7060CX-32S hardware and confirmed a clean boot. syncd initializes with the new binary:

syncd: SAI_API_UNSPECIFIED:sai_api_initialize: BRCM SAI ver: [13.2.1.120], OCP SAI ver: [1.18.1], SDK ver: [sdk-6.5.32-SP2]
  • libsaibcm 13.2.1.120 installed; libsai.so loaded; all containers up; 32 interfaces oper-up; BGP established with full route table.
  • CRM (Critical Resource Monitoring) SAI tests passed on two 7060CX-32S testbeds (t0 and t1-lag), 0 failures — validating SAI resource reporting (routes, nexthops, neighbors, ACLs, FDB).

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

  • 202305
  • 202311
  • 202405
  • 202411
  • 202505
  • 202511

Description for the changelog

[broadcom] Bump legacy-th SAI to 13.2.1.120 (OCP 1.18.1 compatibility tier)

Update the Broadcom legacy-th (Tomahawk) SAI to the rebuild against the
latest OCP SAI 1.18.1 header, matching the SONiC master SAI header.

- LIBSAIBCM_LEGACY_TH_VERSION:     13.2.1.100 -> 13.2.1.120
- LIBSAIBCM_LEGACY_TH_BRANCH_NAME: SAI_13.2.1_compat_OCP1.17.1 -> SAI_13.2.1_compat_OCP1.18.1

Signed-off-by: Liping Xu <108326363+lipxu@users.noreply.github.com>
Copilot AI review requested due to automatic review settings June 13, 2026 11:40
@lipxu lipxu requested a review from lguohan as a code owner June 13, 2026 11:40
@mssonicbld

Copy link
Copy Markdown
Collaborator

/azp run Azure.sonic-buildimage

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Updates the Broadcom legacy Tomahawk (legacy-th) SAI package pin so the built image pulls a SAI binary rebuilt against the newer OCP SAI 1.18.1 headers, keeping syncd/sairedis ABI/API compatibility for legacy-th platforms.

Changes:

  • Bumped LIBSAIBCM_LEGACY_TH_VERSION from 13.2.1.100 to 13.2.1.120.
  • Updated LIBSAIBCM_LEGACY_TH_BRANCH_NAME to SAI_13.2.1_compat_OCP1.18.1.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants