summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/nes/nes_hw.h
diff options
context:
space:
mode:
authorChien Tung <ctung@neteffect.com>2008-09-26 15:08:10 -0500
committerRoland Dreier <rolandd@cisco.com>2008-09-30 15:35:49 -0700
commit9d156947c734747065178331e0c95745cf3a55e1 (patch)
tree278e4509d89f16aa2405a950306b14c601bf6400 /drivers/infiniband/hw/nes/nes_hw.h
parent068e80de6af2b920d2644bba3a2c060431834160 (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.h1
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 82d06766ad5..1b93c571b93 100644
--- a/drivers/infiniband/hw/nes/nes_hw.h
+++ b/drivers/infiniband/hw/nes/nes_hw.h
@@ -1096,6 +1096,7 @@ struct nes_adapter {
u16 pd_config_base[4];
u16 link_interrupt_count[4];
+ u8 crit_error_count[32];
/* the phy index for each port */
u8 phy_index[4];