mbox series

[0/7] reference implementation of RSS and hash report

Message ID 20200508125452.7802-1-yuri.benditovich@daynix.com
Headers show
Series reference implementation of RSS and hash report | expand

Message

Yuri Benditovich May 8, 2020, 12:54 p.m. UTC
Support for VIRTIO_NET_F_RSS and VIRTIO_NET_F_HASH_REPORT
features in QEMU for reference purpose.
Implements Toeplitz hash calculation for incoming
packets according to configuration provided by driver.
Uses calculated hash for decision on receive virtqueue
and/or reports the hash in the virtio header

Changes from v7:
Patch 7.1: removed (RSS and hash report definitions)
Patch 7.2: delete configuration struct with RSS definitions
Patch 7.4: delete duplicated packet structure
Added patch 7 - adapt RSC definitions to updated header

Yuri Benditovich (7):
  virtio-net: implement RSS configuration command
  virtio-net: implement RX RSS processing
  tap: allow extended virtio header with hash info
  virtio-net: reference implementation of hash report
  vmstate.h: provide VMSTATE_VARRAY_UINT16_ALLOC macro
  virtio-net: add migration support for RSS and hash report
  virtio-net: align RSC fields with updated virtio-net header

 hw/net/trace-events            |   3 +
 hw/net/virtio-net.c            | 387 +++++++++++++++++++++++++++++----
 include/hw/virtio/virtio-net.h |  16 ++
 include/migration/vmstate.h    |  10 +
 net/tap.c                      |   3 +-
 5 files changed, 379 insertions(+), 40 deletions(-)