~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/include/trace/misc/rdma.h

Version: ~ [ linux-6.11.5 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.58 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.114 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.169 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.228 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.284 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.322 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /include/trace/misc/rdma.h (Version linux-6.11.5) and /include/trace/misc/rdma.h (Version linux-6.1.114)


  1 /* SPDX-License-Identifier: GPL-2.0 */              1 /* SPDX-License-Identifier: GPL-2.0 */
  2 /*                                                  2 /*
  3  * Copyright (c) 2017 Oracle.  All rights rese      3  * Copyright (c) 2017 Oracle.  All rights reserved.
  4  */                                                 4  */
  5                                                     5 
  6 /*                                                  6 /*
  7  * enum ib_event_type, from include/rdma/ib_ve      7  * enum ib_event_type, from include/rdma/ib_verbs.h
  8  */                                                 8  */
  9 #define IB_EVENT_LIST                               9 #define IB_EVENT_LIST                           \
 10         ib_event(CQ_ERR)                           10         ib_event(CQ_ERR)                        \
 11         ib_event(QP_FATAL)                         11         ib_event(QP_FATAL)                      \
 12         ib_event(QP_REQ_ERR)                       12         ib_event(QP_REQ_ERR)                    \
 13         ib_event(QP_ACCESS_ERR)                    13         ib_event(QP_ACCESS_ERR)                 \
 14         ib_event(COMM_EST)                         14         ib_event(COMM_EST)                      \
 15         ib_event(SQ_DRAINED)                       15         ib_event(SQ_DRAINED)                    \
 16         ib_event(PATH_MIG)                         16         ib_event(PATH_MIG)                      \
 17         ib_event(PATH_MIG_ERR)                     17         ib_event(PATH_MIG_ERR)                  \
 18         ib_event(DEVICE_FATAL)                     18         ib_event(DEVICE_FATAL)                  \
 19         ib_event(PORT_ACTIVE)                      19         ib_event(PORT_ACTIVE)                   \
 20         ib_event(PORT_ERR)                         20         ib_event(PORT_ERR)                      \
 21         ib_event(LID_CHANGE)                       21         ib_event(LID_CHANGE)                    \
 22         ib_event(PKEY_CHANGE)                      22         ib_event(PKEY_CHANGE)                   \
 23         ib_event(SM_CHANGE)                        23         ib_event(SM_CHANGE)                     \
 24         ib_event(SRQ_ERR)                          24         ib_event(SRQ_ERR)                       \
 25         ib_event(SRQ_LIMIT_REACHED)                25         ib_event(SRQ_LIMIT_REACHED)             \
 26         ib_event(QP_LAST_WQE_REACHED)              26         ib_event(QP_LAST_WQE_REACHED)           \
 27         ib_event(CLIENT_REREGISTER)                27         ib_event(CLIENT_REREGISTER)             \
 28         ib_event(GID_CHANGE)                       28         ib_event(GID_CHANGE)                    \
 29         ib_event_end(WQ_FATAL)                     29         ib_event_end(WQ_FATAL)
 30                                                    30 
 31 #undef ib_event                                    31 #undef ib_event
 32 #undef ib_event_end                                32 #undef ib_event_end
 33                                                    33 
 34 #define ib_event(x)             TRACE_DEFINE_E     34 #define ib_event(x)             TRACE_DEFINE_ENUM(IB_EVENT_##x);
 35 #define ib_event_end(x)         TRACE_DEFINE_E     35 #define ib_event_end(x)         TRACE_DEFINE_ENUM(IB_EVENT_##x);
 36                                                    36 
 37 IB_EVENT_LIST                                      37 IB_EVENT_LIST
 38                                                    38 
 39 #undef ib_event                                    39 #undef ib_event
 40 #undef ib_event_end                                40 #undef ib_event_end
 41                                                    41 
 42 #define ib_event(x)             { IB_EVENT_##x     42 #define ib_event(x)             { IB_EVENT_##x, #x },
 43 #define ib_event_end(x)         { IB_EVENT_##x     43 #define ib_event_end(x)         { IB_EVENT_##x, #x }
 44                                                    44 
 45 #define rdma_show_ib_event(x) \                    45 #define rdma_show_ib_event(x) \
 46                 __print_symbolic(x, IB_EVENT_L     46                 __print_symbolic(x, IB_EVENT_LIST)
 47                                                    47 
 48 /*                                                 48 /*
 49  * enum ib_wc_status type, from include/rdma/i     49  * enum ib_wc_status type, from include/rdma/ib_verbs.h
 50  */                                                50  */
 51 #define IB_WC_STATUS_LIST                          51 #define IB_WC_STATUS_LIST                       \
 52         ib_wc_status(SUCCESS)                      52         ib_wc_status(SUCCESS)                   \
 53         ib_wc_status(LOC_LEN_ERR)                  53         ib_wc_status(LOC_LEN_ERR)               \
 54         ib_wc_status(LOC_QP_OP_ERR)                54         ib_wc_status(LOC_QP_OP_ERR)             \
 55         ib_wc_status(LOC_EEC_OP_ERR)               55         ib_wc_status(LOC_EEC_OP_ERR)            \
 56         ib_wc_status(LOC_PROT_ERR)                 56         ib_wc_status(LOC_PROT_ERR)              \
 57         ib_wc_status(WR_FLUSH_ERR)                 57         ib_wc_status(WR_FLUSH_ERR)              \
 58         ib_wc_status(MW_BIND_ERR)                  58         ib_wc_status(MW_BIND_ERR)               \
 59         ib_wc_status(BAD_RESP_ERR)                 59         ib_wc_status(BAD_RESP_ERR)              \
 60         ib_wc_status(LOC_ACCESS_ERR)               60         ib_wc_status(LOC_ACCESS_ERR)            \
 61         ib_wc_status(REM_INV_REQ_ERR)              61         ib_wc_status(REM_INV_REQ_ERR)           \
 62         ib_wc_status(REM_ACCESS_ERR)               62         ib_wc_status(REM_ACCESS_ERR)            \
 63         ib_wc_status(REM_OP_ERR)                   63         ib_wc_status(REM_OP_ERR)                \
 64         ib_wc_status(RETRY_EXC_ERR)                64         ib_wc_status(RETRY_EXC_ERR)             \
 65         ib_wc_status(RNR_RETRY_EXC_ERR)            65         ib_wc_status(RNR_RETRY_EXC_ERR)         \
 66         ib_wc_status(LOC_RDD_VIOL_ERR)             66         ib_wc_status(LOC_RDD_VIOL_ERR)          \
 67         ib_wc_status(REM_INV_RD_REQ_ERR)           67         ib_wc_status(REM_INV_RD_REQ_ERR)        \
 68         ib_wc_status(REM_ABORT_ERR)                68         ib_wc_status(REM_ABORT_ERR)             \
 69         ib_wc_status(INV_EECN_ERR)                 69         ib_wc_status(INV_EECN_ERR)              \
 70         ib_wc_status(INV_EEC_STATE_ERR)            70         ib_wc_status(INV_EEC_STATE_ERR)         \
 71         ib_wc_status(FATAL_ERR)                    71         ib_wc_status(FATAL_ERR)                 \
 72         ib_wc_status(RESP_TIMEOUT_ERR)             72         ib_wc_status(RESP_TIMEOUT_ERR)          \
 73         ib_wc_status_end(GENERAL_ERR)              73         ib_wc_status_end(GENERAL_ERR)
 74                                                    74 
 75 #undef ib_wc_status                                75 #undef ib_wc_status
 76 #undef ib_wc_status_end                            76 #undef ib_wc_status_end
 77                                                    77 
 78 #define ib_wc_status(x)         TRACE_DEFINE_E     78 #define ib_wc_status(x)         TRACE_DEFINE_ENUM(IB_WC_##x);
 79 #define ib_wc_status_end(x)     TRACE_DEFINE_E     79 #define ib_wc_status_end(x)     TRACE_DEFINE_ENUM(IB_WC_##x);
 80                                                    80 
 81 IB_WC_STATUS_LIST                                  81 IB_WC_STATUS_LIST
 82                                                    82 
 83 #undef ib_wc_status                                83 #undef ib_wc_status
 84 #undef ib_wc_status_end                            84 #undef ib_wc_status_end
 85                                                    85 
 86 #define ib_wc_status(x)         { IB_WC_##x, #     86 #define ib_wc_status(x)         { IB_WC_##x, #x },
 87 #define ib_wc_status_end(x)     { IB_WC_##x, #     87 #define ib_wc_status_end(x)     { IB_WC_##x, #x }
 88                                                    88 
 89 #define rdma_show_wc_status(x) \                   89 #define rdma_show_wc_status(x) \
 90                 __print_symbolic(x, IB_WC_STAT     90                 __print_symbolic(x, IB_WC_STATUS_LIST)
 91                                                    91 
 92 /*                                                 92 /*
 93  * enum ib_cm_event_type, from include/rdma/ib     93  * enum ib_cm_event_type, from include/rdma/ib_cm.h
 94  */                                                94  */
 95 #define IB_CM_EVENT_LIST                           95 #define IB_CM_EVENT_LIST                        \
 96         ib_cm_event(REQ_ERROR)                     96         ib_cm_event(REQ_ERROR)                  \
 97         ib_cm_event(REQ_RECEIVED)                  97         ib_cm_event(REQ_RECEIVED)               \
 98         ib_cm_event(REP_ERROR)                     98         ib_cm_event(REP_ERROR)                  \
 99         ib_cm_event(REP_RECEIVED)                  99         ib_cm_event(REP_RECEIVED)               \
100         ib_cm_event(RTU_RECEIVED)                 100         ib_cm_event(RTU_RECEIVED)               \
101         ib_cm_event(USER_ESTABLISHED)             101         ib_cm_event(USER_ESTABLISHED)           \
102         ib_cm_event(DREQ_ERROR)                   102         ib_cm_event(DREQ_ERROR)                 \
103         ib_cm_event(DREQ_RECEIVED)                103         ib_cm_event(DREQ_RECEIVED)              \
104         ib_cm_event(DREP_RECEIVED)                104         ib_cm_event(DREP_RECEIVED)              \
105         ib_cm_event(TIMEWAIT_EXIT)                105         ib_cm_event(TIMEWAIT_EXIT)              \
106         ib_cm_event(MRA_RECEIVED)                 106         ib_cm_event(MRA_RECEIVED)               \
107         ib_cm_event(REJ_RECEIVED)                 107         ib_cm_event(REJ_RECEIVED)               \
108         ib_cm_event(LAP_ERROR)                    108         ib_cm_event(LAP_ERROR)                  \
109         ib_cm_event(LAP_RECEIVED)                 109         ib_cm_event(LAP_RECEIVED)               \
110         ib_cm_event(APR_RECEIVED)                 110         ib_cm_event(APR_RECEIVED)               \
111         ib_cm_event(SIDR_REQ_ERROR)               111         ib_cm_event(SIDR_REQ_ERROR)             \
112         ib_cm_event(SIDR_REQ_RECEIVED)            112         ib_cm_event(SIDR_REQ_RECEIVED)          \
113         ib_cm_event_end(SIDR_REP_RECEIVED)        113         ib_cm_event_end(SIDR_REP_RECEIVED)
114                                                   114 
115 #undef ib_cm_event                                115 #undef ib_cm_event
116 #undef ib_cm_event_end                            116 #undef ib_cm_event_end
117                                                   117 
118 #define ib_cm_event(x)          TRACE_DEFINE_E    118 #define ib_cm_event(x)          TRACE_DEFINE_ENUM(IB_CM_##x);
119 #define ib_cm_event_end(x)      TRACE_DEFINE_E    119 #define ib_cm_event_end(x)      TRACE_DEFINE_ENUM(IB_CM_##x);
120                                                   120 
121 IB_CM_EVENT_LIST                                  121 IB_CM_EVENT_LIST
122                                                   122 
123 #undef ib_cm_event                                123 #undef ib_cm_event
124 #undef ib_cm_event_end                            124 #undef ib_cm_event_end
125                                                   125 
126 #define ib_cm_event(x)          { IB_CM_##x, #    126 #define ib_cm_event(x)          { IB_CM_##x, #x },
127 #define ib_cm_event_end(x)      { IB_CM_##x, #    127 #define ib_cm_event_end(x)      { IB_CM_##x, #x }
128                                                   128 
129 #define rdma_show_ib_cm_event(x) \                129 #define rdma_show_ib_cm_event(x) \
130                 __print_symbolic(x, IB_CM_EVEN    130                 __print_symbolic(x, IB_CM_EVENT_LIST)
131                                                   131 
132 /*                                                132 /*
133  * enum rdma_cm_event_type, from include/rdma/    133  * enum rdma_cm_event_type, from include/rdma/rdma_cm.h
134  */                                               134  */
135 #define RDMA_CM_EVENT_LIST                        135 #define RDMA_CM_EVENT_LIST                      \
136         rdma_cm_event(ADDR_RESOLVED)              136         rdma_cm_event(ADDR_RESOLVED)            \
137         rdma_cm_event(ADDR_ERROR)                 137         rdma_cm_event(ADDR_ERROR)               \
138         rdma_cm_event(ROUTE_RESOLVED)             138         rdma_cm_event(ROUTE_RESOLVED)           \
139         rdma_cm_event(ROUTE_ERROR)                139         rdma_cm_event(ROUTE_ERROR)              \
140         rdma_cm_event(CONNECT_REQUEST)            140         rdma_cm_event(CONNECT_REQUEST)          \
141         rdma_cm_event(CONNECT_RESPONSE)           141         rdma_cm_event(CONNECT_RESPONSE)         \
142         rdma_cm_event(CONNECT_ERROR)              142         rdma_cm_event(CONNECT_ERROR)            \
143         rdma_cm_event(UNREACHABLE)                143         rdma_cm_event(UNREACHABLE)              \
144         rdma_cm_event(REJECTED)                   144         rdma_cm_event(REJECTED)                 \
145         rdma_cm_event(ESTABLISHED)                145         rdma_cm_event(ESTABLISHED)              \
146         rdma_cm_event(DISCONNECTED)               146         rdma_cm_event(DISCONNECTED)             \
147         rdma_cm_event(DEVICE_REMOVAL)             147         rdma_cm_event(DEVICE_REMOVAL)           \
148         rdma_cm_event(MULTICAST_JOIN)             148         rdma_cm_event(MULTICAST_JOIN)           \
149         rdma_cm_event(MULTICAST_ERROR)            149         rdma_cm_event(MULTICAST_ERROR)          \
150         rdma_cm_event(ADDR_CHANGE)                150         rdma_cm_event(ADDR_CHANGE)              \
151         rdma_cm_event_end(TIMEWAIT_EXIT)          151         rdma_cm_event_end(TIMEWAIT_EXIT)
152                                                   152 
153 #undef rdma_cm_event                              153 #undef rdma_cm_event
154 #undef rdma_cm_event_end                          154 #undef rdma_cm_event_end
155                                                   155 
156 #define rdma_cm_event(x)        TRACE_DEFINE_E    156 #define rdma_cm_event(x)        TRACE_DEFINE_ENUM(RDMA_CM_EVENT_##x);
157 #define rdma_cm_event_end(x)    TRACE_DEFINE_E    157 #define rdma_cm_event_end(x)    TRACE_DEFINE_ENUM(RDMA_CM_EVENT_##x);
158                                                   158 
159 RDMA_CM_EVENT_LIST                                159 RDMA_CM_EVENT_LIST
160                                                   160 
161 #undef rdma_cm_event                              161 #undef rdma_cm_event
162 #undef rdma_cm_event_end                          162 #undef rdma_cm_event_end
163                                                   163 
164 #define rdma_cm_event(x)        { RDMA_CM_EVEN    164 #define rdma_cm_event(x)        { RDMA_CM_EVENT_##x, #x },
165 #define rdma_cm_event_end(x)    { RDMA_CM_EVEN    165 #define rdma_cm_event_end(x)    { RDMA_CM_EVENT_##x, #x }
166                                                   166 
167 #define rdma_show_cm_event(x) \                   167 #define rdma_show_cm_event(x) \
168                 __print_symbolic(x, RDMA_CM_EV    168                 __print_symbolic(x, RDMA_CM_EVENT_LIST)
169                                                   169 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php