RFC virtio-net: Offload hashing without eBPF
Get series with b4
b4 am [email protected] change-id 20240828-hash-628329a45d4dVersions newest first
- v5 RFC Latest5 patches 1 replyIn review
- v4 RFC11 patches 1 replySuperseded
- v3 RFC11 patches 0 repliesSuperseded
Changes in v5 from the cover letter
- Changed UAPIs.
- Rebased.
- Link to v4: https://lore.kernel.org/qemu-devel/[email protected]
Patches in v5 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | net: Allow configuring virtio hashinginclude/ net/ net/ +7 more | +99 | 0 replies | |
| 2/5 | virtio-net: Offload hashing to peerhw/ | +56 | 0 replies | |
| 3/5 | virtio-net: Offload hashing without vhosthw/ | +9 | 0 replies | |
| 4/5 | tap: Report virtio-net hashing support on Linuxnet/ net/ net/ +4 more | +30 | 0 replies | |
| 5/5 | docs/devel/ebpf_rss.rst: Update for peer RSSdocs/ | +15 | 0 replies |
Reviews trailers per patch
None of the 5 patches has a Reviewed-by or Acked-by.
| Patch | Lei Yang |
|---|---|
| Series | T-b |
| 1/5 | |
| 2/5 | |
| 3/5 | |
| 4/5 | |
| 5/5 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH RFC v5 0/5] virtio-net: Offload hashing without eBPF
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/[email protected]/
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/[email protected]
Changes in v4:
- Rebased.
- Added a reference to the documentation to the cover letter.
- Link to v3: https://lore.kernel.org/r/[email protected]
---
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,
Signature · 1 line
Akihiko Odaki <[email protected]>