diff options
author | Michael Chan <mchan@broadcom.com> | 2005-09-05 17:53:19 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2005-09-05 17:53:19 -0700 |
commit | 61487480dd79acc5e82b08cd29cbcbd3301645fa (patch) | |
tree | 79f40bebd2062bfad707eb5f49087c100843a20a /net/atm | |
parent | 9f40dead25957434937f2b1872e9f4b43605f0ad (diff) |
[TG3]: Remove status block access in tg3_msi() and add prefetches
Remove unnecessary status block accesses in tg3_msi(). Since MSI is
not shared, it is unnecessary to read the status block to determine if
there are any new events in the MSI handler. It is also unnecessary to
clear the updated bit in the status block.
Since the poll list is per-cpu, tg3_poll() will be scheduled to run on
the same CPU that received the MSI. Prefetches for the status block
and the next rx descriptors are added in tg3_msi() to improve their
access times when tg3_poll() runs.
In the non-MSI irq handlers, we need to check the status block because
interrupts may be shared. Only prefetches for the next rx descriptors
are added.
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/atm')
0 files changed, 0 insertions, 0 deletions