Skip to content

[DO NOT MERGE][submodule] Bump sonic-sairedis and platform/vpp for CoPP dataplane enforcement - #29465

Open
nhegde-microsoft wants to merge 1 commit into
sonic-net:masterfrom
nhegde-microsoft:copp-vpp-enablement-submodule-bump
Open

nhegde-microsoft wants to merge 1 commit into
sonic-net:masterfrom
nhegde-microsoft:copp-vpp-enablement-submodule-bump

Conversation

@nhegde-microsoft

Copy link
Copy Markdown
Contributor

Why I did it

Bumps src/sonic-sairedis and platform/vpp submodule pins to bring in CoPP dataplane enforcement for SONiC-VPP: real VPP policer objects, and two new VPP plugins (copp_punt_policer for device-input ethertype-keyed traps, copp_ip2me_policer for IP2ME/SNMP/SSH on ip4-punt). Previously these traps were config-plane-only (accepted by SAI, never actually policed).

Do not merge until companion PRs merge first (this bump only produces a working image once both are in):

How I did it

Bumped submodule gitlinks:

  • src/sonic-sairedis → the commit implementing SAI POLICER/HOSTIF_TRAP/HOSTIF_TRAP_GROUP support
  • platform/vpp → the commit adding both new VPP plugins

How to verify it

Manually validated on vlab-vpp-01 (t1-lag-vpp testbed) with these exact submodule commits deployed: all 24 tests/copp/test_copp.py subtests pass, zero skips.

…nforcement

Points src/sonic-sairedis and platform/vpp at the copp-vpp-enablement
branches implementing SAI POLICER/HOSTIF_TRAP/HOSTIF_TRAP_GROUP
support backed by two new VPP plugins: copp_punt_policer
(device-input, ethertype-keyed traps) and copp_ip2me_policer
(ip4-punt, IP2ME/SNMP/SSH).

This enables genuine dataplane CoPP enforcement (classify + rate-limit
+ punt) for ARP, LACP, LLDP, UDLD, TTL_ERROR, IP2ME, SNMP, and SSH
control-plane traffic on the sonic-vpp platform, which previously had
config-plane-only SAI support with no actual traffic policing.

Validated: all 24 tests in tests/copp/test_copp.py pass, zero skips,
on the t1-lag-vpp (vlab-vpp-01) testbed with these submodule commits.

Signed-off-by: Nikhil Hegde <nikhilhegde@microsoft.com>
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

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

@nhegde-microsoft
nhegde-microsoft marked this pull request as ready for review September 10, 2026 18:33
Copilot AI lite review requested due to automatic review settings September 10, 2026 18:33
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

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.

🟡 Changes recommended

The submodule pins reference open PR head SHAs (from fork branches) and should be updated post-merge to stable upstream commit(s) to avoid non-reproducible/broken submodule fetches.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

This PR bumps two git submodule pins (src/sonic-sairedis and platform/vpp) to pick up SONiC-VPP CoPP dataplane enforcement support (real VPP policers + new VPP CoPP plugins), aligning the buildimage with the companion feature work in those repos.

Changes:

  • Update platform/vpp submodule pointer to 0a879f227e12648442cf2848108d3529517e2f1b.
  • Update src/sonic-sairedis submodule pointer to cf3ea34383e8769842e8de6b3237cfd3ed86653d.

Review note (blocking):

  • Both new gitlinks currently point at open upstream PR head SHAs (sonic-platform-vpp#281 and sonic-sairedis#2070) whose HEAD repos are fork branches; if those PRs are merged via squash/rebase (common), these exact SHAs will not land on sonic-net/*@master, making the submodule pins non-reproducible and potentially breaking fresh clones/CI submodule fetches. This buildimage PR should be updated after the companion PRs merge to pin to the final merged upstream commit(s) (or a tag).
File summaries
File Description
platform/vpp Submodule gitlink updated to pick up new VPP CoPP plugins needed for dataplane enforcement.
src/sonic-sairedis Submodule gitlink updated to pick up VPP SAI POLICER/HOSTIF_TRAP/HOSTIF_TRAP_GROUP support needed for CoPP enforcement.
Review details
  • Files reviewed: 2/2 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@nhegde-microsoft nhegde-microsoft changed the title [submodule] Bump sonic-sairedis and platform/vpp for CoPP dataplane enforcement [DO NOT MERGE][submodule] Bump sonic-sairedis and platform/vpp for CoPP dataplane enforcement Sep 10, 2026
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