I'm proposing to add a feature to offload virtio-net RSS/hash report to
Linux. This series contain patches to utilize the proposed Linux
feature. The patches for Linux are available at:
https://lore.kernel.org/r/20250307-rss-v9-0-df7662402...@daynix.com/

Note that the referenced patches for Linux implement UAPIs that are
compatible with older versions of this series but not compatible with
this version. Compatible patches for Linux will be posted shortly.

This work was presented at LPC 2024:
https://lpc.events/event/18/contributions/1963/

Patch "docs/devel/ebpf_rss.rst: Update for peer RSS" provides comparion
of existing RSS mechanism and the new one (called "peer RSS") and
explains how QEMU selects one.

---
Changes in v5:
- Changed UAPIs.
- Rebased.
- Link to v4: 
https://lore.kernel.org/qemu-devel/20250313-hash-v4-0-c75c494b4...@daynix.com

Changes in v4:
- Rebased.
- Added a reference to the documentation to the cover letter.
- Link to v3: 
https://lore.kernel.org/r/20240915-hash-v3-0-79cb08d28...@daynix.com

---
Akihiko Odaki (5):
      net: Allow configuring virtio hashing
      virtio-net: Offload hashing to peer
      virtio-net: Offload hashing without vhost
      tap: Report virtio-net hashing support on Linux
      docs/devel/ebpf_rss.rst: Update for peer RSS

 docs/devel/ebpf_rss.rst | 22 ++++++++-----
 include/net/net.h       | 13 ++++++++
 net/tap-linux.h         |  4 +++
 net/tap_int.h           |  4 +++
 hw/net/virtio-net.c     | 84 ++++++++++++++++++++++++++++++++++++++-----------
 net/net.c               | 11 +++++++
 net/tap-bsd.c           | 15 +++++++++
 net/tap-linux.c         | 16 ++++++++++
 net/tap-solaris.c       | 15 +++++++++
 net/tap-stub.c          | 15 +++++++++
 net/tap.c               | 23 ++++++++++++++
 net/vhost-vdpa.c        | 13 ++++++++
 12 files changed, 209 insertions(+), 26 deletions(-)
---
base-commit: f0737158b483e7ec2b2512145aeab888b85cc1f7
change-id: 20240828-hash-628329a45d4d
prerequisite-change-id: 20250530-vdpa-2c481c64ce45:v1
prerequisite-patch-id: a8c36f25d07b2b1a658ec3189bdf8bf12ef5ce8d
prerequisite-patch-id: 414474fbb325338338f2d84f7065be241c27df2b
prerequisite-patch-id: 6db7f777008d6d1fae86df2a1fffcd2ddb394e05
prerequisite-patch-id: 762aad5a811163b3d9326870bb751fbe7853c21c
prerequisite-patch-id: 9dfcea59addbdebfc1cc8fda26c91ebf21482d21
prerequisite-patch-id: 3d391c14efe64541a881421735cf9ff04bb69713

Best regards,
-- 
Akihiko Odaki <akihiko.od...@daynix.com>


Reply via email to