Added net-virtio-rss-bpf to qemuxmlconf's test.
Synthetically modified caps-9.0.0 with a reply.
Added mock functions for loading eBPF.
Signed-off-by: Andrew Melnychenko
Fixed Tests for 9.1.0
Added tests for SPARK
Fixed issue with ident
Signed-off-by: Andrew Melnychenko
---
eBPF objects stored in the hash table during runtime.
eBPF objects cached encoded in base64 in the .xml cache file.
Signed-off-by: Andrew Melnychenko
---
src/qemu/qemu_capabilities.c | 130
src/qemu/qemu_capabilities.h | 4
Added new capability ebpf_rss_fds for QEMU.
Added logic for loading the "RSS" eBPF program.
eBPF file descriptors passed to the QEMU.
Signed-off-by: Andrew Melnychenko
---
src/qemu/qemu_capabilities.c | 2 +
src/qemu/qemu_capabilities.h | 1 +
Also, added dependencies for libbpf with bpf option.
Signed-off-by: Andrew Melnychenko
---
libvirt.spec.in | 3 ++
meson.build | 7
meson_options.txt | 1 +
src/qemu/meson.build | 1 +
src/qemu/qemu_interface.c | 87
administrative capabilities are required,
so Libvirt may load it and pass it to the QEMU instance.
For now, there is only "RSS"(Receive Side Scaling) for virtio-net eBPF
program and maps.
Signed-off-by: Andrew Melnychenko
---
src/qemu/qemu_monitor.c | 9 +
src/qemu/qemu_monitor.h
FC v2:
* refactored and rebased.
* applied changes according to the Qemu.
* added basic test.
Changes since RFC v1:
* changed eBPF format saved in the XML cache.
* refactored and checked with syntax test.
* refactored patch hunks.
Andrew Melnychenko (5):
qemu_monitor: Added QEMU
Added net-virtio-rss-bpf to qemuxmlconf's test.
Synthetically modified caps-9.0.0 with a reply.
Added mock functions for loading eBPF.
Signed-off-by: Andrew Melnychenko
---
.../caps_9.0.0_x86_64.replies | 199 ++
.../caps_9.0.0_x86_6
Currently, there is no way to control that config through qemu.conf file.
This optional is required for future eBPF tests.
Signed-off-by: Andrew Melnychenko
---
src/qemu/qemu_command.c | 8 +---
src/qemu/qemu_conf.c| 2 ++
src/qemu/qemu_conf.h| 2 ++
3 files changed, 9 insertions
Added new capability ebpf_rss_fds for QEMU.
Added logic for loading the "RSS" eBPF program.
eBPF file descriptors passed to the QEMU.
Signed-off-by: Andrew Melnychenko
---
src/qemu/qemu_capabilities.c | 4 +++
src/qemu/qemu_capabilities.h | 3 ++
src/qemu/qemu_command.c
eBPF objects stored in the hash table during runtime.
eBPF objects cached encoded in base64 in the .xml cache file.
Signed-off-by: Andrew Melnychenko
---
src/qemu/qemu_capabilities.c | 122 +++
src/qemu/qemu_capabilities.h | 3 +
2 files changed, 125 insertions
Also, added dependencies for libbpf with bpf option.
Signed-off-by: Andrew Melnychenko
---
meson.build | 7
meson_options.txt | 1 +
src/qemu/meson.build | 1 +
src/qemu/qemu_interface.c | 83 +++
src/qemu/qemu_interface.h
administrative capabilities are required,
so Libvirt may load it and pass it to the QEMU instance.
For now, there is only "RSS"(Receive Side Scaling) for virtio-net eBPF program
and maps.
Signed-off-by: Andrew Melnychenko
---
src/qemu/qemu_monitor.c | 13 +
src/qemu/qemu_mon
quot;in-qemu" RSS(vhost not supported).
Changes since RFC v2:
* refactored and rebased.
* applied changes according to the Qemu.
* added basic test.
Changes since RFC v1:
* changed eBPF format saved in the XML cache.
* refactored and checked with syntax test.
* refactored patch
13 matches
Mail list logo