[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200910.125553.598018287826728299.davem@davemloft.net>
Date: Thu, 10 Sep 2020 12:55:53 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: decui@...rosoft.com
Cc: kuba@...nel.org, wei.liu@...nel.org, kys@...rosoft.com,
haiyangz@...rosoft.com, sthemmin@...rosoft.com,
linux-hyperv@...r.kernel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, mikelley@...rosoft.com,
saeedm@...lanox.com, markb@...lanox.com
Subject: Re: [PATCH net 1/2] hv_netvsc: Switch the data path at the right
time during hibernation
From: Dexuan Cui <decui@...rosoft.com>
Date: Tue, 8 Sep 2020 21:07:32 -0700
> When netvsc_resume() is called, the mlx5 VF NIC has not been resumed yet,
> so in the future the host might sliently fail the call netvsc_vf_changed()
> -> netvsc_switch_datapath() there, even if the call works now.
>
> Call netvsc_vf_changed() in the NETDEV_CHANGE event handler: at that time
> the mlx5 VF NIC has been resumed.
>
> Fixes: 19162fd4063a ("hv_netvsc: Fix hibernation for mlx5 VF driver")
> Signed-off-by: Dexuan Cui <decui@...rosoft.com>
Applied.
Powered by blists - more mailing lists