~/talk

Receive Side Scaling (RSS) with eBPF in QEMU and virtio-net

Talkat KVM Forum 2021 · 2021-09-15..09-16· [linux-and-operating-systems, networking]
slides:none on file

Implementation of RSS via eBPF inside QEMU for virtio-net, with a software proof‑of‑concept in QEMU and an eBPF program compiled into a skeleton and loaded via libbpf. Kernel 5.8+ and process capabilities (CAP_BPF, CAP_NET_ADMIN) are required; libvirt needs a helper to pass fds. Hash population into the virtio_net header is work in progress; initial QEMU support is merged and additional patches are under review. software proof-of-concept in QEMU requires kernel 5.8+ and CAP_BPF/CAP_NET_ADMIN falls back to QEMU steering on migration or load failure

AI-written summary · about

  1. 0:00Intro
  2. 1:00What is RSS?
  3. 3:12History: RSS and virtio-net
  4. 7:59virtio spec changes - capabilities
  5. 8:28virtio spec changes - device configu
  6. 8:41virtio spec changes - setting RSS parai
  7. 9:02virtio spec changes - virtio-net-hd
  8. 9:17What is eBPF?
  9. 10:06How can eBPF help us?
  10. 10:33The "magic"
  11. 11:10Hash population work in progres
  12. 12:03eBPF program source in QEMU
  13. 12:17eBPF program skeleton
  14. 13:21Configuration map
  15. 13:43Loading eBPF program
  16. 15:37Fallback
  17. 16:14Live migration
  18. 16:45QEMU command line
  19. 17:44libvirt integration
  20. 18:28Current status
  21. 18:49Pending patches
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.