Skip to content

First draft of vpp mirror hld#216

Merged
yue-fred-gao merged 4 commits into
sonic-net:masterfrom
yue-fred-gao:mirror_hld
May 26, 2026
Merged

First draft of vpp mirror hld#216
yue-fred-gao merged 4 commits into
sonic-net:masterfrom
yue-fred-gao:mirror_hld

Conversation

@yue-fred-gao

Copy link
Copy Markdown
Contributor

why

sonic-vpp doesn't support port-mirroring or everflow

what this PR does

create a HLD for port-mirroring and everflow

@mssonicbld

Copy link
Copy Markdown

/azp run

1 similar comment
@mssonicbld

Copy link
Copy Markdown

/azp run

@azure-pipelines

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

1 similar comment
@azure-pipelines

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

@mssonicbld

Copy link
Copy Markdown

/azp run

@azure-pipelines

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

yue-fred-gao and others added 3 commits May 26, 2026 18:14
Signed-off-by: Yue Gao <yuega2@cisco.com>
Signed-off-by: Yue Gao <yuega2@cisco.com>
Signed-off-by: Yue Gao <yuega2@cisco.com>
@mssonicbld

Copy link
Copy Markdown

/azp run

@azure-pipelines

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

@mssonicbld

Copy link
Copy Markdown

/azp run

@azure-pipelines

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

@yue-fred-gao
yue-fred-gao merged commit 7a2f3ff into sonic-net:master May 26, 2026
2 of 3 checks passed
yejianquan added a commit to yejianquan/sonic-platform-vpp that referenced this pull request May 29, 2026
PR sonic-net#238 (no-class-e-drop) merged ahead of this PR and claimed the
0010-* patch-file slot.  Rename our patch
0010-sonic-inner-aware-flow-hash.patch -> 0011-sonic-inner-aware-flow-hash.patch
and update vppbld/patches/series so that 0010-no-class-e-drop applies
first, then 0011-sonic-inner-aware-flow-hash.

Also brings in two HLD-only PRs that merged after the previous master
merge on this branch (9fa4107):
  - PR sonic-net#216: docs/HLD/vpp-mirror.md
  - PR sonic-net#236: docs/HLD/vpp-route-flow-counter.md

The two competing patches touch disjoint VPP source trees, so there
is no source-level conflict, only the series-file slot collision:

  - 0010-no-class-e-drop:    src/vnet/fib/ip4_fib.{c,h}, test/test_ip4.py
  - 0011-inner-aware-flow:   src/vnet/{bonding,hash,ip}/, test/test_inner_aware_*.py, docs

Validated by clean checkout of VPP at the pinned commit
435fda042e68ef90734ef5b3530c0a5b911a3bf8 + `git apply` of all 11
patches in series order: every patch returns exit 0.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: Jianquan Ye <jianquanye@microsoft.com>
lunyue-ms pushed a commit to lunyue-ms/sonic-platform-vpp that referenced this pull request Jun 2, 2026
* vpp mirror hld covering SPAN and everflow.

Signed-off-by: Yue Gao <yuega2@cisco.com>
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