i40e: Fix VF's link state notification
authorMariusz Stachura <mariusz.stachura@intel.com>
Mon, 20 Aug 2018 15:12:22 +0000 (08:12 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 25 Sep 2018 19:46:49 +0000 (12:46 -0700)
commitf3fc7915a5372db778abaefe8b3122fec5b8bd77
tree34efed3e669ead2e4d63c6184e1b8417f96c649d
parentbd6207202db8974ca3d3183ca0d5611d45b2973c
i40e: Fix VF's link state notification

This resolves an issue where the VF link state was not being updated
when the PF is down or up, and the VF link state would always show
that it is running.

Signed-off-by: Mariusz Stachura <mariusz.stachura@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_main.c