docs(network): Drop references to filter_from_cube XDP program#197
docs(network): Drop references to filter_from_cube XDP program#197chenhengqi wants to merge 1 commit into
Conversation
The filter_from_cube XDP program was removed in our open source release. Sync networking docs with the current implementation. Signed-off-by: Hengqi Chen <hengqi.chen@gmail.com>
|
Claude finished @chenhengqi's task in 4m 30s —— View job PR Review: docs(network): Drop references to filter_from_cube XDP program
DCO CheckThe commit SummaryThis PR cleanly removes all references to the
The English and Chinese docs are kept in sync, and the mermaid diagrams are consistently updated. The removals are thorough -- no stale Issue FoundBPF Map line numbers in |
| | `from_envoy` | `programNameFromEnvoy` | cubevs.go:78 | cubegw0 上的 TC 出站过滤器 | | ||
| | `from_cube` | `programNameFromCube` | cubevs.go:79 | TAP 设备上的 TC 入站过滤器 | | ||
| | `from_world` | `programNameFromWorld` | cubevs.go:80 | eth0 上的 TC 入站过滤器 | |
There was a problem hiding this comment.
The program line numbers (78, 79, 80) now overlap with the BPF Map table above, which lists ifindex_to_mvmmeta at cubevs.go:78 and mvmip_to_ifindex at cubevs.go:79.
Checking the current source (CubeNet/cubevs/cubevs.go), the program names are correctly at lines 78-80, but the map names have shifted to lines 82-85:
78: programNameFromEnvoy = "from_envoy"
79: programNameFromCube = "from_cube"
80: programNameFromWorld = "from_world"
81: // MapNameIfindexToMVMMetadata and the following are maps created by CubeVS.
82: MapNameIfindexToMVMMetadata = "ifindex_to_mvmmeta"
83: MapNameMVMIPToIfindex = "mvmip_to_ifindex"
84: MapNameRemotePortMapping = "remote_port_mapping"
85: MapNameLocalPortMapping = "local_port_mapping"
The BPF Map table (lines 82-85 in this file) should also be updated to reflect the new line numbers (82-85) instead of the current 78-81.
The filter_from_cube XDP program was removed in our open source release. Sync networking docs with the current implementation.