Print this page
8368 remove warlock leftovers from usr/src/uts

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/ib/ibtl/ibtl_qp.c
          +++ new/usr/src/uts/common/io/ib/ibtl/ibtl_qp.c
↓ open down ↓ 44 lines elided ↑ open up ↑
  45   45          ibt_cep_state_t         next_state;
  46   46          ibt_cep_modify_flags_t  modify_flags;
  47   47  } ibt_cep_next_state_inits[] = {
  48   48          { IBT_STATE_RESET, IBT_STATE_INIT, IBT_CEP_SET_RESET_INIT},
  49   49          { IBT_STATE_INIT, IBT_STATE_RTR, IBT_CEP_SET_INIT_RTR},
  50   50          { IBT_STATE_RTR, IBT_STATE_RTS, IBT_CEP_SET_RTR_RTS}
  51   51  };
  52   52  
  53   53  ibt_cep_next_state_t ibt_cep_next_state[IBT_STATE_NUM];
  54   54  
  55      -_NOTE(SCHEME_PROTECTS_DATA("unique", ibt_cep_next_state))
  56      -
  57   55  /* The following data and functions can increase system stability. */
  58   56  
  59   57  int ibtl_qp_calls_curr;
  60   58  int ibtl_qp_calls_max = 128;    /* limit on # of simultaneous QP verb calls */
  61   59  kmutex_t ibtl_qp_mutex;
  62   60  kcondvar_t ibtl_qp_cv;
  63   61  
  64   62  void
  65   63  ibtl_qp_flow_control_enter(void)
  66   64  {
↓ open down ↓ 1211 lines elided ↑ open up ↑
1278 1276          IBTF_DPRINTF_L3(ibtf_qp, "ibt_query_queues(%p)", chan);
1279 1277  
1280 1278          /* Perform Query QP and retrieve QP sizes. */
1281 1279          retval = ibt_query_qp(chan, &qp_query_attr);
1282 1280          if (retval != IBT_SUCCESS) {
1283 1281                  IBTF_DPRINTF_L2(ibtf_qp, "ibt_query_queues: "
1284 1282                      "ibt_query_qp failed: qp %p: %d", chan, retval);
1285 1283                  return (retval);
1286 1284          }
1287 1285  
1288      -        _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(actual_sz->qs_rq,
1289      -            actual_sz->qs_sq))
1290 1286          actual_sz->qs_sq = qp_query_attr.qp_info.qp_sq_sz;
1291 1287          actual_sz->qs_rq = qp_query_attr.qp_info.qp_rq_sz;
1292      -        _NOTE(NOW_VISIBLE_TO_OTHER_THREADS(actual_sz->qs_rq,
1293      -            actual_sz->qs_sq))
1294 1288          chan->ch_current_state = qp_query_attr.qp_info.qp_state;
1295 1289  
1296 1290          return (retval);
1297 1291  }
1298 1292  
1299 1293  
1300 1294  /*
1301 1295   * Function:
1302 1296   *      ibt_modify_rdma
1303 1297   * Input:
↓ open down ↓ 206 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX