.. | .. |
---|
6 | 6 | /* |
---|
7 | 7 | * enum ib_event_type, from include/rdma/ib_verbs.h |
---|
8 | 8 | */ |
---|
9 | | - |
---|
10 | 9 | #define IB_EVENT_LIST \ |
---|
11 | 10 | ib_event(CQ_ERR) \ |
---|
12 | 11 | ib_event(QP_FATAL) \ |
---|
.. | .. |
---|
91 | 90 | __print_symbolic(x, IB_WC_STATUS_LIST) |
---|
92 | 91 | |
---|
93 | 92 | /* |
---|
| 93 | + * enum ib_cm_event_type, from include/rdma/ib_cm.h |
---|
| 94 | + */ |
---|
| 95 | +#define IB_CM_EVENT_LIST \ |
---|
| 96 | + ib_cm_event(REQ_ERROR) \ |
---|
| 97 | + ib_cm_event(REQ_RECEIVED) \ |
---|
| 98 | + ib_cm_event(REP_ERROR) \ |
---|
| 99 | + ib_cm_event(REP_RECEIVED) \ |
---|
| 100 | + ib_cm_event(RTU_RECEIVED) \ |
---|
| 101 | + ib_cm_event(USER_ESTABLISHED) \ |
---|
| 102 | + ib_cm_event(DREQ_ERROR) \ |
---|
| 103 | + ib_cm_event(DREQ_RECEIVED) \ |
---|
| 104 | + ib_cm_event(DREP_RECEIVED) \ |
---|
| 105 | + ib_cm_event(TIMEWAIT_EXIT) \ |
---|
| 106 | + ib_cm_event(MRA_RECEIVED) \ |
---|
| 107 | + ib_cm_event(REJ_RECEIVED) \ |
---|
| 108 | + ib_cm_event(LAP_ERROR) \ |
---|
| 109 | + ib_cm_event(LAP_RECEIVED) \ |
---|
| 110 | + ib_cm_event(APR_RECEIVED) \ |
---|
| 111 | + ib_cm_event(SIDR_REQ_ERROR) \ |
---|
| 112 | + ib_cm_event(SIDR_REQ_RECEIVED) \ |
---|
| 113 | + ib_cm_event_end(SIDR_REP_RECEIVED) |
---|
| 114 | + |
---|
| 115 | +#undef ib_cm_event |
---|
| 116 | +#undef ib_cm_event_end |
---|
| 117 | + |
---|
| 118 | +#define ib_cm_event(x) TRACE_DEFINE_ENUM(IB_CM_##x); |
---|
| 119 | +#define ib_cm_event_end(x) TRACE_DEFINE_ENUM(IB_CM_##x); |
---|
| 120 | + |
---|
| 121 | +IB_CM_EVENT_LIST |
---|
| 122 | + |
---|
| 123 | +#undef ib_cm_event |
---|
| 124 | +#undef ib_cm_event_end |
---|
| 125 | + |
---|
| 126 | +#define ib_cm_event(x) { IB_CM_##x, #x }, |
---|
| 127 | +#define ib_cm_event_end(x) { IB_CM_##x, #x } |
---|
| 128 | + |
---|
| 129 | +#define rdma_show_ib_cm_event(x) \ |
---|
| 130 | + __print_symbolic(x, IB_CM_EVENT_LIST) |
---|
| 131 | + |
---|
| 132 | +/* |
---|
94 | 133 | * enum rdma_cm_event_type, from include/rdma/rdma_cm.h |
---|
95 | 134 | */ |
---|
96 | 135 | #define RDMA_CM_EVENT_LIST \ |
---|