summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMichael Chan <mchan@broadcom.com>2015-12-10 03:35:43 +0300
committerDavid S. Miller <davem@davemloft.net>2015-12-12 07:34:06 +0300
commit4cebdcec0933bf39c0ab42e8ce8c9d72f803fbe9 (patch)
treeb80eaa62f21b2f8a804475d79092930af02ee4f2 /tools/perf/scripts/python
parentcaefe526d7b5af11d9b5977b2862eb144fa45537 (diff)
downloadlinux-4cebdcec0933bf39c0ab42e8ce8c9d72f803fbe9.tar.xz
bnxt_en: Don't cancel sp_task from bnxt_close_nic().
When implementing driver reset from tx_timeout in the next patch, bnxt_close_nic() will be called from the sp_task workqueue. Calling cancel_work() on sp_task will hang the workqueue. Instead, set a new bit BNXT_STATE_IN_SP_TASK when bnxt_sp_task() is running. bnxt_close_nic() will wait for BNXT_STATE_IN_SP_TASK to clear before proceeding. Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions