-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
V3migration for review #1
base: temp
Are you sure you want to change the base?
Commits on Jan 10, 2021
-
net/tap: Added TUNSETSTEERINGEBPF code.
Additional code that will be used for eBPF setting steering routine.
Configuration menu - View commit details
-
Copy full SHA for bf77f10 - Browse repository at this point
Copy the full SHA bf77f10View commit details -
net: Added SetSteeringEBPF method for NetClientState.
For now, that method supported only by Linux TAP. Linux TAP uses TUNSETSTEERINGEBPF ioctl.
Configuration menu - View commit details
-
Copy full SHA for 1a30cd2 - Browse repository at this point
Copy the full SHA 1a30cd2View commit details
Commits on Jan 14, 2021
-
RSS program and Makefile to build it. The bpftool used to generate '.h' file. The data in that file may be loaded by libbpf. EBPF compilation is not required for building qemu. You can use Makefile if you need to regenerate rss.bpf.skeleton.h. Signed-off-by: Yuri Benditovich <yuri.benditovich@daynix.com>
Configuration menu - View commit details
-
Copy full SHA for ce02ac2 - Browse repository at this point
Copy the full SHA ce02ac2View commit details -
Added function that loads RSS eBPF program. Added stub functions for RSS eBPF loader. Added meson and configuration options. By default, eBPF feature enabled if libbpf is present in the build system. libbpf checked in configuration shell script and meson script. Signed-off-by: Yuri Benditovich <yuri.benditovich@daynix.com>
Configuration menu - View commit details
-
Copy full SHA for a001b46 - Browse repository at this point
Copy the full SHA a001b46View commit details
Commits on Jan 24, 2021
-
net: add ability to hide (disable) vhost_net
if 'vhost_net_disabled' in the NetClientState of the net device, get_vhost_net for TAP returns NULL. Network adapters can use this ability to hide the vhost_net temporary between resets in case some active features contradict with vhost. Signed-off-by: Yuri Benditovich <yuri.benditovich@daynix.com>
Configuration menu - View commit details
-
Copy full SHA for d3b2246 - Browse repository at this point
Copy the full SHA d3b2246View commit details -
virtio-net: Added eBPF RSS to virtio-net.
When RSS is enabled the device tries to load the eBPF program to select RX virtqueue in the TUN. If eBPF can be loaded the RSS will function also with vhost (works with kernel 5.8 and later). Software RSS is used as a fallback with vhost=off when eBPF can't be loaded or when hash population requested by the guest. In case the RSS feature is present and acked by the guest but the ebpf due to any reason can't be used with vhost, the virtio-net disables vhost till next reset (or migration) and uses userspace virtio. The same in case the hash report feature is acked by the guest (the vhost can't support this feature currently). Signed-off-by: Yuri Benditovich <yuri.benditovich@daynix.com>
Configuration menu - View commit details
-
Copy full SHA for 4d0508a - Browse repository at this point
Copy the full SHA 4d0508aView commit details -
docs: Added eBPF documentation.
Also, added maintainers information. Signed-off-by: Yuri Benditovich <yuri.benditovich@daynix.com>
Configuration menu - View commit details
-
Copy full SHA for fde4312 - Browse repository at this point
Copy the full SHA fde4312View commit details -
not for delivery: testing additions for virtio-net
Signed-off-by: Yuri Benditovich <yuri.benditovich@daynix.com>
Configuration menu - View commit details
-
Copy full SHA for 8cbb426 - Browse repository at this point
Copy the full SHA 8cbb426View commit details