]> git.proxmox.com Git - mirror_qemu.git/commit
vdpa: Restore receive-side scaling state
authorHawkins Jiawei <yin31149@gmail.com>
Wed, 25 Oct 2023 01:08:05 +0000 (09:08 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 7 Nov 2023 08:39:11 +0000 (03:39 -0500)
commitb3c09106559f9d84a940d2a27c4cfc81c9e15347
treecd832610488303aa3dcb2db6d40c7078776773e9
parentd1fd2d3118a42f36d86efae7ffbdce79f7024584
vdpa: Restore receive-side scaling state

This patch reuses vhost_vdpa_net_load_rss() with some
refactorings to restore the receive-side scaling state
at device's startup.

Signed-off-by: Hawkins Jiawei <yin31149@gmail.com>
Message-Id: <cf5b78a16ed0318982ceffb195f2227f6aad4ac1.1698195059.git.yin31149@gmail.com>
Acked-by: Eugenio PĂ©rez <eperezma@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
net/vhost-vdpa.c