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 v4 Use 16-bit field for indirection table length (patch 2) Add VMSTATE_VARRAY_UINT16_ALLOC for migration of indirection table (patch 6) 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 | 437 +++++++++++++++++++++++++++++++-- include/hw/virtio/virtio-net.h | 16 ++ include/migration/vmstate.h | 10 + net/tap.c | 11 +- 5 files changed, 449 insertions(+), 28 deletions(-) -- 2.17.1