[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v7 0/7] reference implementation of RSS and hash report
From: |
Michael S. Tsirkin |
Subject: |
Re: [PATCH v7 0/7] reference implementation of RSS and hash report |
Date: |
Fri, 1 May 2020 10:44:02 -0400 |
We are in freeze so nothing's applied right now.
v8 which has all the bits will be a good step so we
are ready for after freeze.
On Fri, May 01, 2020 at 07:01:58AM +0300, Yuri Benditovich wrote:
> Michael/Jason,
>
> As Linux headers was updated in qemu and now include RSC/RSS/Hash definitions,
> please let me know what you prefer:
> 1. You apply this series as is, then I submit clean-up series that will remove
> all the redundant defines from virtio-net.c
> 2. I post v8 of this series with cleanup of all the redundant defines and also
> RSC ones
> 3. Something other
>
> Thanks,
> Yuri Benditovich
>
> On Tue, Mar 31, 2020 at 5:26 PM Michael S. Tsirkin <address@hidden> wrote:
>
> On Sun, Mar 29, 2020 at 06:09:46PM +0300, 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
>
>
> Reviewed-by: Michael S. Tsirkin <address@hidden>
>
> Probably post 5.0 material.
>
> > Changes from v6:
> > Fixed a bug in patch 5 "reference implementation of hash report"
> > that caused the ASAN test to fail
> > was: n->rss_data.populate_hash = true;
> > fixed: n->rss_data.populate_hash = !!hash_report;
> >
> > Yuri Benditovich (7):
> > virtio-net: introduce RSS and hash report features
> > 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
> >
> > hw/net/trace-events | 3 +
> > hw/net/virtio-net.c | 448 +++++++++++++++++++++++++++++++--
> > include/hw/virtio/virtio-net.h | 16 ++
> > include/migration/vmstate.h | 10 +
> > net/tap.c | 11 +-
> > 5 files changed, 460 insertions(+), 28 deletions(-)
> >
> > --
> > 2.17.1
>
>