summaryrefslogtreecommitdiff
path: root/firmware/ti_5052.fw.ihex
diff options
context:
space:
mode:
authorMatt Carlson <mcarlson@broadcom.com>2011-11-04 13:15:03 +0400
committerDavid S. Miller <davem@davemloft.net>2011-11-05 01:31:48 +0400
commitdb21997379906fe7657d360674e1106d80b020a4 (patch)
treeaefa69f5ad536aec711d102a238d6dc10c50fa48 /firmware/ti_5052.fw.ihex
parent9dc5e342703948ea7b086d063c85c0e79dac8149 (diff)
downloadlinux-db21997379906fe7657d360674e1106d80b020a4.tar.xz
tg3: Schedule at most one tg3_reset_task run
It is possible for multiple threads in the tg3 driver to each attempt to schedule a run of tg3_reset_task(). The multiple tg3_reset_task executions could all wind up on the same queue (and execute serially) or wind up on the queues of another processor (which could execute in parallel). Either scenario is not what was truly desired. This patch adds a new flag, TG3_FLAG_RESET_TASK_PENDING, and uses it to determine whether or not to schedule another run of tg3_reset_task(). With the new flag comes two new functions to facilitate scheduling and descheduling of tg3_reset_task(). Signed-off-by: Matt Carlson <mcarlson@broadcom.com> Reviewed-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'firmware/ti_5052.fw.ihex')
0 files changed, 0 insertions, 0 deletions