All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] Vhost-user: add Virtio RSS support
@ 2022-04-08 12:28 Maxime Coquelin
  2022-04-08 12:28 ` [PATCH 1/5] ebpf: pass and check RSS key length to the loader Maxime Coquelin
                   ` (5 more replies)
  0 siblings, 6 replies; 11+ messages in thread
From: Maxime Coquelin @ 2022-04-08 12:28 UTC (permalink / raw)
  To: qemu-devel, mst, jasowang, andrew, yuri.benditovich, dgilbert, quintela
  Cc: chenbo.xia, Maxime Coquelin, dmarchan, ktraynor

The goal of this series is to add support for Virtio RSS
feature to the Vhost-user backend.

First patches are preliminary reworks to support variable
RSS key and indirection table length. eBPF change only adds
checks on whether the key length is 40B, it does not add
support for longer keys.

Vhost-user implementation supports up to 52B RSS key, in
order to match with the maximum supported by physical
NICs (Intel E810). Idea is that it could be used for
application like Virtio-forwarder, by programming the
Virtio device RSS key into the physical NIC and let the
physical NIC do the packets distribution.

DPDK Vhost-user backend PoC implementing the new requests
can be found here [0], it only implements the messages
handling, it does not perform any RSS for now.

[0]: https://gitlab.com/mcoquelin/dpdk-next-virtio/-/commits/vhost_user_rss_poc/

Maxime Coquelin (5):
  ebpf: pass and check RSS key length to the loader
  virtio-net: prepare for variable RSS key and indir table lengths
  virtio-net: add RSS support for Vhost backends
  docs: introduce RSS support in Vhost-user specification
  vhost-user: add RSS support

 docs/interop/vhost-user.rst       |  57 ++++++++++++
 ebpf/ebpf_rss-stub.c              |   3 +-
 ebpf/ebpf_rss.c                   |  17 ++--
 ebpf/ebpf_rss.h                   |   3 +-
 hw/net/vhost_net-stub.c           |  10 ++
 hw/net/vhost_net.c                |  22 +++++
 hw/net/virtio-net.c               |  87 +++++++++++++-----
 hw/virtio/vhost-user.c            | 146 +++++++++++++++++++++++++++++-
 include/hw/virtio/vhost-backend.h |   7 ++
 include/hw/virtio/virtio-net.h    |  16 +++-
 include/migration/vmstate.h       |  10 ++
 include/net/vhost_net.h           |   4 +
 12 files changed, 344 insertions(+), 38 deletions(-)

-- 
2.35.1



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2022-05-13 10:50 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-08 12:28 [PATCH 0/5] Vhost-user: add Virtio RSS support Maxime Coquelin
2022-04-08 12:28 ` [PATCH 1/5] ebpf: pass and check RSS key length to the loader Maxime Coquelin
2022-04-08 12:28 ` [PATCH 2/5] virtio-net: prepare for variable RSS key and indir table lengths Maxime Coquelin
2022-04-15  5:39   ` Jason Wang
2022-05-13 10:49     ` Michael S. Tsirkin
2022-04-08 12:28 ` [PATCH 3/5] virtio-net: add RSS support for Vhost backends Maxime Coquelin
2022-04-15  5:41   ` Jason Wang
2022-04-08 12:28 ` [PATCH 4/5] docs: introduce RSS support in Vhost-user specification Maxime Coquelin
2022-04-11 12:18   ` Dr. David Alan Gilbert
2022-04-08 12:28 ` [PATCH 5/5] vhost-user: add RSS support Maxime Coquelin
2022-04-15  5:43 ` [PATCH 0/5] Vhost-user: add Virtio " Jason Wang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.