[dpdk-dev] [dpdk-stable] [Patch v2] net/vdev_netvsc: prevent alarm loss on failed device probe

Ferruh Yigit ferruh.yigit at intel.com
Thu Oct 29 21:10:44 CET 2020


On 10/26/2020 7:14 AM, Matan Azrad wrote:
> Hi Long
> 
> From: Long Li <longli at linuxonhyperv.com>
>> If a device probe fails, the alarm is canceled and will no longer work for
>> previously probed devices.
>>
>> Fix this by checking if alarm is necessary at the end of each device probe.
>> Reset the alarm if there are vdev_netvsc_ctx created.
>>
>> Change log:
>> v2: removed lock and flags, use counter to decide if alarm should be reset
>>
>> Cc: stable at dpdk.org
>> Signed-off-by: Long Li <longli at microsoft.com>
> 
> I suggest the next title:
> net/vdev_netvsc: fix device probing error flow
> 
> and the next fixes line:
> Fixes: e7dc5d7becc5 ("net/vdev_netvsc: implement core functionality")
> 
> Acked-by: Matan Azrad <matan at nvidia.com>
> 

Applied to dpdk-next-net/main, thanks.

(Used suggested title)


More information about the dev mailing list