ice: Introduce SERVICE_DIS flag and service routine functions
authorAkeem G Abodunrin <akeem.g.abodunrin@intel.com>
Thu, 9 Aug 2018 13:29:57 +0000 (06:29 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 28 Aug 2018 18:11:18 +0000 (11:11 -0700)
commit8d81fa55bac0c730d59e990db099ebecd82d7880
tree0f0ffa04f64e58982a0b1d7fe15e7f0cf2a674bc
parent4f74dcc1b86d75d8ec5506195d6d892666f2285b
ice: Introduce SERVICE_DIS flag and service routine functions

This patch introduces SERVICE_DIS flag to use for stopping service task.
This flag will be checked before scheduling new tasks. Also add new
functions ice_service_task_stop to stop service task.

Signed-off-by: Akeem G Abodunrin <akeem.g.abodunrin@intel.com>
Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@intel.com>
Tested-by: Tony Brelinski <tonyx.brelinski@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ice/ice.h
drivers/net/ethernet/intel/ice/ice_main.c