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

Yuri Benditovich posted 7 patches 3 years, 11 months ago
Test asan passed
Test docker-mingw@fedora passed
Test checkpatch passed
Test FreeBSD passed
Test docker-quick@centos7 passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20200508125934.7861-1-yuri.benditovich@daynix.com
Maintainers: "Michael S. Tsirkin" <mst@redhat.com>, Jason Wang <jasowang@redhat.com>, Juan Quintela <quintela@redhat.com>, "Dr. David Alan Gilbert" <dgilbert@redhat.com>
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 v8 0/7] reference implementation of RSS and hash report
Posted by Yuri Benditovich 3 years, 11 months 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 v8 0/7] reference implementation of RSS and hash report
Posted by Jason Wang 3 years, 11 months ago
On 2020/5/8 下午8:59, Yuri Benditovich 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(-)
>

Applied.

Thanks