Re: [PATCH v3 1/2] vdpa: Restore hash calculation state

2023-10-22 Thread Hawkins Jiawei
在 2023/10/22 18:00, Michael S. Tsirkin 写道: > On Sun, Oct 22, 2023 at 10:00:48AM +0800, Hawkins Jiawei wrote: >> This patch introduces vhost_vdpa_net_load_rss() to restore >> the hash calculation state at device's startup. >> >> Signed-off-by: Hawkins Jiawei >> --- >> v3: >>- remove the `do_rss

Re: [PATCH v3 1/2] vdpa: Restore hash calculation state

2023-10-22 Thread Michael S. Tsirkin
On Sun, Oct 22, 2023 at 10:00:48AM +0800, Hawkins Jiawei wrote: > This patch introduces vhost_vdpa_net_load_rss() to restore > the hash calculation state at device's startup. > > Signed-off-by: Hawkins Jiawei > --- > v3: > - remove the `do_rss` argument in vhost_vdpa_net_load_rss() > - zero r

[PATCH v3 1/2] vdpa: Restore hash calculation state

2023-10-21 Thread Hawkins Jiawei
This patch introduces vhost_vdpa_net_load_rss() to restore the hash calculation state at device's startup. Signed-off-by: Hawkins Jiawei --- v3: - remove the `do_rss` argument in vhost_vdpa_net_load_rss() - zero reserved fields in "cfg" manually instead of using memset() to prevent compiler "