net/netvsc: fix probe when VF not found
authorStephen Hemminger <stephen@networkplumber.org>
Fri, 14 Dec 2018 01:26:21 +0000 (17:26 -0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 21 Dec 2018 15:22:40 +0000 (16:22 +0100)
commitf2b76d22f85694864bbcd0f88267de9ef02d75c0
treee863774b9655e88a70c73205a3130821b5538005
parentc578d8507b4325747bbdb3993774e59fbad45d84
net/netvsc: fix probe when VF not found

It is possible that the VF device exists but DPDK doesn't know
about it. This could happen if device was blacklisted or more
likely the necessary device (Mellanox) was not part of the DPDK
configuration.

In either case, the right thing to do is just keep working
but only with the slower para-virtual device.

Fixes: dc7680e8597c ("net/netvsc: support integrated VF")
Cc: stable@dpdk.org
Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
drivers/net/netvsc/hn_ethdev.c