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

Yuri Benditovich posted 7 patches 4 years ago
Test checkpatch passed
Test docker-quick@centos7 passed
Test asan passed
Test FreeBSD passed
Test docker-mingw@fedora passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20200508125452.7802-1-yuri.benditovich@daynix.com
Maintainers: Jason Wang <jasowang@redhat.com>, "Dr. David Alan Gilbert" <dgilbert@redhat.com>, "Michael S. Tsirkin" <mst@redhat.com>, Juan Quintela <quintela@redhat.com>
There is a newer version of this series
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(-)
[PATCH 0/7] reference implementation of RSS and hash report
Posted by Yuri Benditovich 4 years ago
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(-)

-- 
2.17.1


Re: [PATCH 0/7] reference implementation of RSS and hash report
Posted by Yuri Benditovich 4 years ago
Please ignore mistaken v7 instead of v8

On Fri, May 8, 2020 at 3:54 PM Yuri Benditovich <yuri.benditovich@daynix.com>
wrote:

> 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(-)
>
> --
> 2.17.1
>
>