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>
此提交包含在:
@@ -171,6 +171,7 @@ enum iavf_state_t {
|
||||
__IAVF_INIT_GET_RESOURCES, /* aq msg sent, awaiting reply */
|
||||
__IAVF_INIT_SW, /* got resources, setting up structs */
|
||||
__IAVF_RESETTING, /* in reset */
|
||||
__IAVF_COMM_FAILED, /* communication with PF failed */
|
||||
/* Below here, watchdog is running */
|
||||
__IAVF_DOWN, /* ready, can be opened */
|
||||
__IAVF_DOWN_PENDING, /* descending, waiting for watchdog */
|
||||
|
新增問題並參考
封鎖使用者