OSDN Git Service

fm10k: Check the host state when bringing the interface up
authorMatthew Vick <matthew.vick@intel.com>
Thu, 2 Oct 2014 05:10:18 +0000 (05:10 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 16 Oct 2014 08:37:33 +0000 (01:37 -0700)
commit4d4191566fdd0e8990b2e8ab5ae819227c92892f
treeb6dcc0a196716712fa6ba1bf13387099673626f2
parent91269e390d062b526432f2ef1352b8df82e0e0bc
fm10k: Check the host state when bringing the interface up

Set the flag to fetch the host state before kicking off the service task
that reads the host state when bringing the interface back up.

Signed-off-by: Matthew Vick <matthew.vick@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/fm10k/fm10k_pci.c