Print this page
5072 all rdma cm events should be in the enum

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/sys/ib/clients/rdsv3/rdsv3_impl.h
          +++ new/usr/src/uts/common/sys/ib/clients/rdsv3/rdsv3_impl.h
↓ open down ↓ 128 lines elided ↑ open up ↑
 129  129  #define RDSV3_PANIC()           cmn_err(CE_PANIC, "Panic forced by RDSV3");
 130  130  
 131  131  /* ERR */
 132  132  #define MAX_ERRNO       4095
 133  133  #define ERR_PTR(x)      ((void *)(uintptr_t)x)
 134  134  #define IS_ERR(ptr)     (((uintptr_t)ptr) >= (uintptr_t)-MAX_ERRNO)
 135  135  #define PTR_ERR(ptr)    (int)(uintptr_t)ptr
 136  136  
 137  137  #define MAX_SCHEDULE_TIMEOUT    (~0UL>>1)
 138  138  
 139      -#define RDMA_CM_EVENT_ADDR_CHANGE       14
 140      -
 141  139  /* list */
 142  140  /* copied and modified list_remove_node */
 143  141  #define list_remove_node(node)                                          \
 144  142          if ((node)->list_next != NULL) {                                \
 145  143                  (node)->list_prev->list_next = (node)->list_next;       \
 146  144                  (node)->list_next->list_prev = (node)->list_prev;       \
 147  145                  (node)->list_next = (node)->list_prev = NULL;           \
 148  146          }
 149  147  
 150  148  #define list_splice(src, dst)   {                               \
↓ open down ↓ 258 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX