[PATCH] net/netvsc: fix issues with hot adding multiple VF PCI devices

Ferruh Yigit ferruh.yigit at xilinx.com
Tue May 3 12:01:09 CEST 2022


On 3/24/2022 5:46 PM, longli at linuxonhyperv.com wrote:
> From: Long Li <longli at microsoft.com>
> 
> This patch fixes two issues with hot removing/adding a VF PCI device:
> 1. The original device argument is lost when it's hot added
> 2. If there are multiple VFs hot adding at the same time, some of the VFs may
> not get added successfully because only one single VF status is stored in the
> netvsc.
> 
> Fix these by storing the original device arguments and maintain a list of hot
> add contexts to deal with multiple VF devices.
> 
> Fixes: a2a23a794b ("net/netvsc: support VF device hot add/remove")
> Cc: stable at dpdk.org
 >
> Signed-off-by: Long Li <longli at microsoft.com>

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


More information about the stable mailing list