numam-dpdk/drivers/net/netvsc
Long Li 7fc4c0997b net/netvsc: fix hot adding multiple VF PCI devices
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@dpdk.org

Signed-off-by: Long Li <longli@microsoft.com>
2022-04-29 23:36:59 +02:00
..
hn_ethdev.c net/netvsc: fix hot adding multiple VF PCI devices 2022-04-29 23:36:59 +02:00
hn_logs.h net/netvsc: add Hyper-V network device 2018-07-13 23:48:07 +02:00
hn_nvs.c fix spelling in comments and strings 2022-01-11 12:16:53 +01:00
hn_nvs.h net/netvsc: support VF device hot add/remove 2021-01-17 22:37:28 +01:00
hn_rndis.c ethdev: add namespace 2021-10-22 18:15:38 +02:00
hn_rndis.h net/netvsc: support configuring RSS parameters 2019-06-28 20:32:18 +02:00
hn_rxtx.c net/netvsc: fix calculation of checksums based on mbuf flag 2022-04-26 23:46:58 +02:00
hn_var.h net/netvsc: fix hot adding multiple VF PCI devices 2022-04-29 23:36:59 +02:00
hn_vf.c net/netvsc: fix hot adding multiple VF PCI devices 2022-04-29 23:36:59 +02:00
meson.build remove extra blank line at EOF 2022-02-27 21:26:06 +01:00
ndis.h net/netvsc: fix definition of offload values 2019-07-05 01:52:01 +02:00
rndis.h net/netvsc: add Hyper-V network device 2018-07-13 23:48:07 +02:00
version.map version: 21.11-rc0 2021-08-17 08:37:52 +02:00