]> git.baikalelectronics.ru Git - kernel.git/commit
iavf: Refactor the watchdog state machine
authorJan Sokolowski <jan.sokolowski@intel.com>
Tue, 14 May 2019 17:37:06 +0000 (10:37 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 17 Jun 2019 22:39:26 +0000 (15:39 -0700)
commitc6431d554e250b9d90044a3cf43592bab4a0e554
tree71f826bcc3b3d22c9fb0999d1d632614adad751a
parentbbc04f6d6e8348b9992e2e1cbfb248c3e6183236
iavf: Refactor the watchdog state machine

Refactor the watchdog state machine implementation.
Add the additional state __IAVF_COMM_FAILED to process
the PF communication fails. Prepare the watchdog state machine
to integrate with init state machine.

Signed-off-by: Jan Sokolowski <jan.sokolowski@intel.com>
Signed-off-by: Jakub Pawlak <jakub.pawlak@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/iavf/iavf.h
drivers/net/ethernet/intel/iavf/iavf_main.c