Skip to content

feat: add tcx and bpf token tutorials#203

Open
yunwei37 wants to merge 7 commits intomainfrom
feat/tcx-bpf-token-tutorials
Open

feat: add tcx and bpf token tutorials#203
yunwei37 wants to merge 7 commits intomainfrom
feat/tcx-bpf-token-tutorials

Conversation

@yunwei37
Copy link
Member

@yunwei37 yunwei37 commented Mar 7, 2026

Summary

  • add a new 50-tcx lesson with a runnable TCX chain-ordering demo and bilingual docs
  • add a new features/bpf_token tutorial with a runnable delegated-token XDP demo and userns wrapper
  • regenerate top-level README and SUMMARY indexes to include both entries

Testing

  • make -C src/50-tcx
  • sudo ./tcx_demo -i lo
  • make -C src/features/bpf_token
  • sudo ./token_userns_demo

LinuxDev9002 and others added 5 commits March 7, 2026 15:25
…sistent style

Rewrote all 4 README files (EN/ZH for both tutorials) to match the
existing tutorial style with detailed background, full code listings,
step-by-step explanations, comparison tables, and proper references.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…s_demo

- Add make targets for src/50-tcx and src/features/bpf_token to the
  test-libbpf CI workflow.
- Replace four separate execl() calls with a single execv() using a
  dynamically built argv array, reducing complexity and eliminating
  CodeFactor command-injection false positives.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Use .venv/bin/mkdocs instead of bare mkdocs, since make install
puts it inside a virtualenv.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant