diff options
author | Dave Olson <dave.olson@qlogic.com> | 2007-07-20 15:50:55 -0400 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2007-07-30 16:16:45 -0400 |
commit | f17fddc9e266281bbb4d384b031e1521e1f2510e (patch) | |
tree | 91f7a4d1ddc4cbb3b7196f50f2b4881ef78522bd /drivers/infiniband/hw/ipath/ipath_common.h | |
parent | 1655fc2e12ed7d208403c043428291b83aa833bb (diff) |
IB/ipath: Remove unsafe fastrcvint code from interrupt handler
The fastrcvint code's purpose was to avoid reading the interrupt
status if kernel packets were in the receive queue (to reduce
overhead). Because intstatus was not read, we could miss the error
interrupt bit indicating freeze mode, since it only delivers a single
interrupt, even if still pending after intclear is written.
This patch removes that unsafe optimization.
Signed-off-by: Dave Olson <dave.olson@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw/ipath/ipath_common.h')
-rw-r--r-- | drivers/infiniband/hw/ipath/ipath_common.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/infiniband/hw/ipath/ipath_common.h b/drivers/infiniband/hw/ipath/ipath_common.h index b4b786d0dfca..6ad822c35930 100644 --- a/drivers/infiniband/hw/ipath/ipath_common.h +++ b/drivers/infiniband/hw/ipath/ipath_common.h | |||
@@ -100,8 +100,7 @@ struct infinipath_stats { | |||
100 | __u64 sps_hwerrs; | 100 | __u64 sps_hwerrs; |
101 | /* number of times IB link changed state unexpectedly */ | 101 | /* number of times IB link changed state unexpectedly */ |
102 | __u64 sps_iblink; | 102 | __u64 sps_iblink; |
103 | /* kernel receive interrupts that didn't read intstat */ | 103 | __u64 sps_unused; /* was fastrcvint, no longer implemented */ |
104 | __u64 sps_fastrcvint; | ||
105 | /* number of kernel (port0) packets received */ | 104 | /* number of kernel (port0) packets received */ |
106 | __u64 sps_port0pkts; | 105 | __u64 sps_port0pkts; |
107 | /* number of "ethernet" packets sent by driver */ | 106 | /* number of "ethernet" packets sent by driver */ |