mbox series

[RFC,v2,0/3] virtio-net: Introduce eBPF hash reporting

Message ID 20231015142755.261808-1-akihiko.odaki@daynix.com
Headers show
Series virtio-net: Introduce eBPF hash reporting | expand

Message

Akihiko Odaki Oct. 15, 2023, 2:27 p.m. UTC
Based-on: <20231015140259.259434-1-akihiko.odaki@daynix.com>
("[PATCH v4 00/20] virtio-net RSS/hash report fixes and improvements")

I'm proposing to introduce a new BPF program type to report virtio-net
hashes to Linux. This series contain patches to utilize the proposed Linux
feature. The patches for Linux are available at:
https://lore.kernel.org/all/20231015141644.260646-1-akihiko.odaki@daynix.com/

V1 -> V2:
  Changed to use the new BPF program type

Akihiko Odaki (3):
  ebpf: Add tools/ebpf/vnet_hash.bpf.c
  virtio-net: Use vnet_hash BPF program
  docs: Describe eBPF hash reporting

 docs/devel/ebpf_rss.rst             |    5 +-
 ebpf/ebpf_rss.h                     |    2 +
 ebpf/rss.bpf.skeleton.h             |  995 -------------------------
 ebpf/socket.bpf.skeleton.h          | 1019 +++++++++++++++++++++++++
 ebpf/vnet_hash.bpf.skeleton.h       | 1075 +++++++++++++++++++++++++++
 tools/ebpf/{rss.bpf.c => rss.bpf.h} |   49 +-
 ebpf/ebpf_rss-stub.c                |    5 +
 ebpf/ebpf_rss.c                     |   64 +-
 hw/net/virtio-net.c                 |   62 +-
 tools/ebpf/socket.bpf.c             |   32 +
 tools/ebpf/vnet_hash.bpf.c          |   29 +
 tools/ebpf/Makefile.ebpf            |    6 +-
 12 files changed, 2289 insertions(+), 1054 deletions(-)
 delete mode 100644 ebpf/rss.bpf.skeleton.h
 create mode 100644 ebpf/socket.bpf.skeleton.h
 create mode 100644 ebpf/vnet_hash.bpf.skeleton.h
 rename tools/ebpf/{rss.bpf.c => rss.bpf.h} (91%)
 create mode 100644 tools/ebpf/socket.bpf.c
 create mode 100644 tools/ebpf/vnet_hash.bpf.c