Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-32169

Evaluate possibility of ebpf unit test in user mode

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • rhel-10.1
    • None
    • qemu-kvm / Testing
    • None
    • sst_virtualization
    • ssg_virtualization
    • 13
    • False
    • Hide

      None

      Show
      None
    • None
    • Red Hat Enterprise Linux
    • None
    • None
    • None
    • None

      Problem statement

      We maintain the ebpf in qemu. By design it is loaded by qemu/libvirt with admin permissions and works in kernel mode with tun device. There is no testing tool that can help ensure it is in good condition. Currently there is no suitable sanity testfor it. 

      The idea

      Use (probably extend) some user-mode BPF engine that allows to load BPF in user-mode and it with feed test vectors to cover all possible kinds of network packets. Use this solution in qemu testing framework

       

              yuri.benditovich Yuri Benditovich
              yuri.benditovich Yuri Benditovich
              virt-maint virt-maint
              virt-bugs virt-bugs
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: