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
Series: Reviewed-by: Michael S. Tsirkin <m...@redhat.com> to be queued through Jason's tree. > 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