net/netvsc: do not query VF link state
authorStephen Hemminger <stephen@networkplumber.org>
Tue, 19 May 2020 16:52:28 +0000 (09:52 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 28 May 2020 15:57:07 +0000 (17:57 +0200)
commita4f53bec7c0a8eebeb8ccff0afa46bfedf932916
treee0094ce83ee11c309428e813f87c4f3778988073
parentc6854a41266a962d1f013065db7828517b246fef
net/netvsc: do not query VF link state

When the primary device link state is queried, there is no
need to query the VF state as well. The application only sees
the state of the synthetic device.

Fixes: dc7680e8597c ("net/netvsc: support integrated VF")
Cc: stable@dpdk.org
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
drivers/net/netvsc/hn_ethdev.c
drivers/net/netvsc/hn_var.h
drivers/net/netvsc/hn_vf.c