vdpa: Restore hash calculation state
authorHawkins Jiawei <yin31149@gmail.com>
Wed, 25 Oct 2023 01:02:24 +0000 (09:02 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 7 Nov 2023 08:39:11 +0000 (03:39 -0500)
commit8b98c15f22fca34f23846e70752a70e4a2469317
tree9635c866dcc4ae388bafd89c58e89ce64071db25
parentf54fea113cc48000836b95681f3b9fdbe43c7d96
vdpa: Restore hash calculation state

This patch introduces vhost_vdpa_net_load_rss() to restore
the hash calculation state at device's startup.

Signed-off-by: Hawkins Jiawei <yin31149@gmail.com>
Message-Id: <dbf699acff8c226596136a55a6abe35ebfeac8b0.1698194366.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