mbox series

[RFC,v3,00/11] virtio-net: Offload hashing without eBPF

Message ID 20240915-hash-v3-0-79cb08d28647@daynix.com (mailing list archive)
Headers show
Series virtio-net: Offload hashing without eBPF | expand

Message

Akihiko Odaki Sept. 15, 2024, 1:23 a.m. UTC
Based-on: <20240915-queue-v1-0-b49bd49b926d@daynix.com>
("[PATCH 0/7] virtio-net fixes")

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/20240915-rss-v3-0-c630015db082@daynix.com/

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

---
Akihiko Odaki (11):
      qdev-properties: DEFINE_PROP_ON_OFF_AUTO_BIT()
      net/vhost-vdpa: Report hashing capability
      virtio-net: Move virtio_net_get_features() down
      virtio-net: Retrieve peer hashing capability
      net/vhost-vdpa: Remove dummy SetSteeringEBPF
      virtio-net: Add hash type options
      net: Allow configuring virtio hashing
      virtio-net: Use qemu_set_vnet_hash()
      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        |  23 ++-
 include/hw/qdev-properties.h   |  18 +++
 include/hw/virtio/virtio-net.h |   6 +-
 include/net/net.h              |  20 +++
 net/tap-linux.h                |   2 +
 net/tap_int.h                  |   3 +
 hw/core/qdev-properties.c      |  66 ++++++++-
 hw/net/virtio-net.c            | 327 +++++++++++++++++++++++++++++------------
 net/net.c                      |  14 ++
 net/tap-bsd.c                  |  10 ++
 net/tap-linux.c                |  18 +++
 net/tap-solaris.c              |  10 ++
 net/tap-stub.c                 |  10 ++
 net/tap.c                      |  15 ++
 net/vhost-vdpa.c               |  41 +++++-
 15 files changed, 473 insertions(+), 110 deletions(-)
---
base-commit: decf357a35b1201b34cc37c47b4b027f9601855e
change-id: 20240828-hash-628329a45d4d

Best regards,