numam-dpdk/drivers/net/netvsc
Stephen Hemminger 4a9efcddad net/netvsc: fix VF support with secondary process
The VF device management in netvsc was using a pointer to the
rte_eth_devices. But the actual rte_eth_devices array is likely to
be place in the secondary process; which causes a crash.

The solution is to record the port of the VF (instead of a pointer)
and find the device in the per process array as needed.

Fixes: dc7680e859 ("net/netvsc: support integrated VF")
Cc: stable@dpdk.org

Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
2019-03-29 13:43:55 +01:00
..
hn_ethdev.c net/netvsc: fix VF support with secondary process 2019-03-29 13:43:55 +01:00
hn_logs.h net/netvsc: add Hyper-V network device 2018-07-13 23:48:07 +02:00
hn_nvs.c net/netvsc: enable SR-IOV 2018-12-19 03:02:08 +01:00
hn_nvs.h net/netvsc: support integrated VF 2018-09-14 20:08:41 +02:00
hn_rndis.c net/netvsc: support integrated VF 2018-09-14 20:08:41 +02:00
hn_rndis.h net/netvsc: support integrated VF 2018-09-14 20:08:41 +02:00
hn_rxtx.c net/netvsc: fix VF support with secondary process 2019-03-29 13:43:55 +01:00
hn_var.h net/netvsc: fix VF support with secondary process 2019-03-29 13:43:55 +01:00
hn_vf.c net/netvsc: fix VF support with secondary process 2019-03-29 13:43:55 +01:00
Makefile net/netvsc: support integrated VF 2018-09-14 20:08:41 +02:00
meson.build net/netvsc: support integrated VF 2018-09-14 20:08:41 +02:00
ndis.h net/netvsc: add Hyper-V network device 2018-07-13 23:48:07 +02:00
rndis.h net/netvsc: add Hyper-V network device 2018-07-13 23:48:07 +02:00
rte_pmd_netvsc_version.map net/netvsc: add Hyper-V network device 2018-07-13 23:48:07 +02:00