[doc][vpp] HLD for Router Interface Loopback Packet Action on the VPP dataplane#258
Closed
aaronber0614 wants to merge 2 commits into
Closed
[doc][vpp] HLD for Router Interface Loopback Packet Action on the VPP dataplane#258aaronber0614 wants to merge 2 commits into
aaronber0614 wants to merge 2 commits into
Conversation
…BACK_PACKET_ACTION) HLD for supporting SAI_ROUTER_INTERFACE_ATTR_LOOPBACK_PACKET_ACTION on sonic-vpp: drop or forward a routed packet that hairpins back out the RIF it ingressed on, via the consolidated sonic_ext VPP plugin's ip4/ip6-loopback output-arc nodes, programmed per-RIF by saivpp. Tracks sonic-net/sonic-buildimage#25788. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Signed-off-by: Aaron Bernardino <aaronber@microsoft.com>
§8.4 previously cited only test_loopback_action_basic ("1 passed,
~8.5 min"); the module now runs and passes all three cases
(basic + port_flap + reload) in ~17 min. Update §8.4 and the §9
intro accordingly. No design changes.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
This was referenced Jul 9, 2026
Author
|
Moving this HLD to the SONiC design-docs repo per review guidance: it now lives at doc/vpp/vpp-iface-loopback-action.md in sonic-net/SONiC#2462. Closing this PR in favor of that one. The rest of the implementation series is unchanged. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why I did it
Document the design for SAI_ROUTER_INTERFACE_ATTR_LOOPBACK_PACKET_ACTION (drop or forward a routed "hairpin" packet whose next hop egresses its ingress RIF) on the VPP dataplane, ahead of the implementation PRs, so reviewers can align on the approach first.
Feature tracking issue: sonic-net/sonic-buildimage#25788
How I did it
Added a feature HLD under docs/HLD/ following the existing feature-HLD convention: motivation, the RIF-shape matrix, the plugin approach (with alternatives considered), the SAI and CONFIG_DB surface, the VPP node, binary API and counter design, a test plan with live-DUT validation results, and the pre-existing defects found during enablement.
How to verify it
Documentation only. Renders under docs/HLD/vpp-iface-loopback-action.md.
Which release branch to backport (provide reason below if selected)
None.
Description for the changelog
Add HLD: Router Interface Loopback Packet Action on the VPP dataplane.
Part of sonic-net/sonic-buildimage#25788.
PR series (landing order)
Tracking issue: sonic-net/sonic-buildimage#25788