diff options
author | Chien Tung <ctung@neteffect.com> | 2008-09-26 16:08:10 -0400 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2008-09-30 18:35:49 -0400 |
commit | 9d156947c734747065178331e0c95745cf3a55e1 (patch) | |
tree | 278e4509d89f16aa2405a950306b14c601bf6400 /drivers/infiniband/hw/nes/nes_hw.h | |
parent | 068e80de6af2b920d2644bba3a2c060431834160 (diff) |
RDMA/nes: Limit critical error interrupts
Mask off a critical error after 100 critical error interrupts to
keep the system "sane".
Signed-off-by: Sweta Bhatt <sweta.bhatt@einfochips.com>
Signed-off-by: Chien Tung <ctung@neteffect.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw/nes/nes_hw.h')
-rw-r--r-- | drivers/infiniband/hw/nes/nes_hw.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/nes/nes_hw.h b/drivers/infiniband/hw/nes/nes_hw.h index 82d06766ad52..1b93c571b931 100644 --- a/drivers/infiniband/hw/nes/nes_hw.h +++ b/drivers/infiniband/hw/nes/nes_hw.h | |||
@@ -1096,6 +1096,7 @@ struct nes_adapter { | |||
1096 | u16 pd_config_base[4]; | 1096 | u16 pd_config_base[4]; |
1097 | 1097 | ||
1098 | u16 link_interrupt_count[4]; | 1098 | u16 link_interrupt_count[4]; |
1099 | u8 crit_error_count[32]; | ||
1099 | 1100 | ||
1100 | /* the phy index for each port */ | 1101 | /* the phy index for each port */ |
1101 | u8 phy_index[4]; | 1102 | u8 phy_index[4]; |