aboutsummaryrefslogtreecommitdiffstats
path: root/src/drivers/infiniband/arbel.h
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2010-09-16 22:06:20 +0100
committerMichael Brown <mcb30@ipxe.org>2010-09-17 05:38:13 +0100
commit46f2580049d85264dee3a1f36dd1eaa05d5d1973 (patch)
treef74f04fd15e54a3bbcf859487269b0820f167dc6 /src/drivers/infiniband/arbel.h
parente4ed0609831f51122dc5747c95c9428476d12c73 (diff)
downloadipxe-46f2580049d85264dee3a1f36dd1eaa05d5d1973.tar.gz
[arbel] Map all event types to our event queue
Only port state change events are currently mapped to our event queue, since those are the only events we are prepared to handle. This ignores a potentially useful source of diagnostic information in the case of unexpected failures. Fix by mapping all events to the event queue; a build with debugging enabled will therefore at least dump the raw content of the unexpected events. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/drivers/infiniband/arbel.h')
-rw-r--r--src/drivers/infiniband/arbel.h21
1 files changed, 19 insertions, 2 deletions
diff --git a/src/drivers/infiniband/arbel.h b/src/drivers/infiniband/arbel.h
index f74869156..b4ad3db6a 100644
--- a/src/drivers/infiniband/arbel.h
+++ b/src/drivers/infiniband/arbel.h
@@ -119,9 +119,26 @@ struct arbelprm_event_mask_st {
pseudo_bit_t reserved0[0x00020];
/* -------------- */
pseudo_bit_t completion[0x00001];
- pseudo_bit_t reserved1[0x0008];
+ pseudo_bit_t path_migration_succeeded[0x00001];
+ pseudo_bit_t communication_established[0x00001];
+ pseudo_bit_t send_queue_drained[0x00001];
+ pseudo_bit_t cq_error[0x00001];
+ pseudo_bit_t wq_catastrophe[0x00001];
+ pseudo_bit_t qpc_catastrophe[0x00001];
+ pseudo_bit_t path_migration_failed[0x00001];
+ pseudo_bit_t reserved1[0x00001];
pseudo_bit_t port_state_change[0x00001];
- pseudo_bit_t reserved2[0x00016];
+ pseudo_bit_t command_done[0x00001];
+ pseudo_bit_t reserved2[0x00005];
+ pseudo_bit_t wq_invalid_request[0x00001];
+ pseudo_bit_t wq_access_violation[0x00001];
+ pseudo_bit_t srq_catastrophe[0x00001];
+ pseudo_bit_t srq_last_wqe[0x00001];
+ pseudo_bit_t srq_rq_limit[0x00001];
+ pseudo_bit_t gpio[0x00001];
+ pseudo_bit_t clientreregister[0x00001];
+ pseudo_bit_t path_migration_armed[0x00001];
+ pseudo_bit_t reserved3[0x00008];
} __attribute__ (( packed ));
struct arbelprm_eq_set_ci_st {