diff options
author | Jan-Bernd Themann <ossthema@de.ibm.com> | 2007-02-09 03:10:51 -0500 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-02-09 16:09:46 -0500 |
commit | d2db9eea7901d83e494340c93d131fc1fd463e4c (patch) | |
tree | 061610fc0237654c38308b6b1ccdabdc5d59102a /drivers/net/ehea/ehea_qmr.h | |
parent | eaefd5fb7d793c9c1bcef1b0c0d5ec3824a85b91 (diff) |
ehea: Fixed error recovery
Error recovery for QP errors: Reset QPs and dump error information
Signed-off-by: Jan-Bernd Themann <themann@de.ibm.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/ehea/ehea_qmr.h')
-rw-r--r-- | drivers/net/ehea/ehea_qmr.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/ehea/ehea_qmr.h b/drivers/net/ehea/ehea_qmr.h index 7efdc96919ca..1ff60983504d 100644 --- a/drivers/net/ehea/ehea_qmr.h +++ b/drivers/net/ehea/ehea_qmr.h | |||
@@ -180,6 +180,9 @@ struct ehea_eqe { | |||
180 | u64 entry; | 180 | u64 entry; |
181 | }; | 181 | }; |
182 | 182 | ||
183 | #define ERROR_DATA_LENGTH EHEA_BMASK_IBM(52,63) | ||
184 | #define ERROR_DATA_TYPE EHEA_BMASK_IBM(0,7) | ||
185 | |||
183 | static inline void *hw_qeit_calc(struct hw_queue *queue, u64 q_offset) | 186 | static inline void *hw_qeit_calc(struct hw_queue *queue, u64 q_offset) |
184 | { | 187 | { |
185 | struct ehea_page *current_page; | 188 | struct ehea_page *current_page; |
@@ -355,4 +358,6 @@ int ehea_destroy_qp(struct ehea_qp *qp); | |||
355 | 358 | ||
356 | int ehea_reg_mr_adapter(struct ehea_adapter *adapter); | 359 | int ehea_reg_mr_adapter(struct ehea_adapter *adapter); |
357 | 360 | ||
361 | void ehea_error_data(struct ehea_adapter *adapter, u64 res_handle); | ||
362 | |||
358 | #endif /* __EHEA_QMR_H__ */ | 363 | #endif /* __EHEA_QMR_H__ */ |