Skip to content

[lfx-mentorship-2025-Mar-May] Kmesh eBPF unit test #1209

Closed
@LiZhenCheng9527

Description

@LiZhenCheng9527
  • Description: As the community features continue to expand, the number of eBPF programs in the data plane has increased. Due to the inherent limitations of eBPF (third-state encoding, neither user space nor kernel space, running in a kernel virtual machine with a dedicated instruction set), Kmesh implements complex governance logic through features like tail call and map-in-map, which poses challenges for data plane quality protection.
    eBPF, a recently introduced programmable technology in the kernel, currently has an immature ecosystem. The industry is actively exploring eBPF testing capabilities (e.g., Unit Testing eBPF). This project aims to develop an eBPF UT testing framework in conjunction with the Kmesh project to ensure the quality of the Kmesh data plane.
  • Expected Outcome:
    • Export Kmesh eBPF programs to support UT test case.
    • Export design documentation for eBPF UT tests
  • Recommended Skills: C, eBPF, (go)
  • Mentor(s): @bitcoffeeiux ([email protected])
  • Useful Link:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions