net/ixgbe: improve link state check on VF
authorLiang-Min Larry Wang <liang-min.wang@intel.com>
Wed, 28 Jun 2017 02:22:10 +0000 (10:22 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 6 Jul 2017 13:00:57 +0000 (15:00 +0200)
commitdc66e5fd01b9565b392833167c792cc6df9bc64c
treea6ac51f7bd2eaa2f443c5df0dda97ed98345bc63
parentf588d3a5e247742a6ce36347d686af11bc368c5f
net/ixgbe: improve link state check on VF

In current implementation, when checking VF link state, PF state
is checked too, although the function has a parameter to tell
if PF state checking is needed.
But in some scenario, user may not care about the PF state.
This patch enables the unused parameter to only check the VF
link state.

Signed-off-by: Liang-Min Larry Wang <liang-min.wang@intel.com>
Acked-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
drivers/net/ixgbe/ixgbe_ethdev.c