iavf: Combine init and watchdog state machines
authorMateusz Palczewski <mateusz.palczewski@intel.com>
Thu, 19 Aug 2021 08:47:58 +0000 (08:47 +0000)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Mon, 18 Oct 2021 21:07:24 +0000 (14:07 -0700)
commit898ef1cb1cb24040c3e89263e02c605af70c776a
tree9da0dc9d027df1c668129d4060b69c6a3aed674d
parent59756ad6948be91d66867ce458083b820c59b8ba
iavf: Combine init and watchdog state machines

Use single state machine for driver initialization and for service
initialized driver. The init state machine implemented in init_task()
is merged into the watchdog_task(). The init_task() function is
removed.

Signed-off-by: Jakub Pawlak <jakub.pawlak@intel.com>
Signed-off-by: Jan Sokolowski <jan.sokolowski@intel.com>
Signed-off-by: Mateusz Palczewski <mateusz.palczewski@intel.com>
Tested-by: Konrad Jankowski <konrad0.jankowski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/iavf/iavf.h
drivers/net/ethernet/intel/iavf/iavf_main.c