iavf: Fix init and watchdog state machines
Subsystems (2)
PATCH v3 3/3 iavf: Fix init and watchdog state machines
From: Jan Sokolowski <[email protected]>
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.
Testing-Hints: Change is only for VF driver state machine,
should be checked load/unload/reset and set/get driver parameters.
Fixes bac8486116b0 ("iavf: Refactor the watchdog state machine")
Signed-off-by Jakub Pawlak <[email protected]>
Signed-off-by Jan Sokolowski <[email protected]>
Signed-off-by Mateusz Palczewski <[email protected]>
---
v3: Added new file to patch series
v2: Splitted the patch into 2 to make them smaller
--- drivers/net/ethernet/intel/iavf/iavf.h | 1 - drivers/net/ethernet/intel/iavf/iavf_main.c | 133 +++++++++----------- 2 files changed, 59 insertions(+), 75 deletions(-)
drivers/net/ethernet/intel/iavf/iavf.h +0 -1
@@ -233,7 +233,6 @@ struct iavf_adapter {struct work_struct reset_task;struct work_struct adminq_task;struct delayed_work client_task; -struct delayed_work init_task;wait_queue_head_t down_waitqueue;struct iavf_q_vector *q_vectors;struct list_head vlan_filter_list;
drivers/net/ethernet/intel/iavf/iavf_main.c +59 -74
207 lines not on this page · raw message
Signature · 1 line
2.27.0