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

*** 89,100 **** uint32_t max_sgl, max_recv_sgl, uarpg; uint_t qp_is_umap; uint_t qp_srq_en, i, j; int status, flag; - _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(*attr_p, *queuesz_p)) - /* * Extract the necessary info from the hermon_qp_info_t structure */ attr_p = qpinfo->qpi_attrp; type = qpinfo->qpi_type; --- 89,98 ----
*** 270,280 **** status = IBT_INSUFF_RESOURCE; goto qpalloc_fail4; } qp = (hermon_qphdl_t)rsrc->hr_addr; bzero(qp, sizeof (struct hermon_sw_qp_s)); - _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(*qp)) qp->qp_alloc_flags = alloc_flags; /* * Calculate the QP number from QPC index. This routine handles --- 268,277 ----
*** 884,894 **** } qp = (hermon_qphdl_t)rsrc->hr_addr; bzero(qp, sizeof (struct hermon_sw_qp_s)); - _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(*qp)) qp->qp_alloc_flags = attr_p->qp_alloc_flags; /* * Actual QP number is a combination of the index of the QPC and * the port number. This is because the special QP contexts must --- 881,890 ----
*** 1250,1261 **** uint_t qp_srq_en, i, j; int ii; /* loop counter for range */ int status, flag; uint_t serv_type; - _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(*attr_p, *queuesz_p)) - /* * Extract the necessary info from the hermon_qp_info_t structure */ attr_p = qpinfo->qpi_attrp; type = qpinfo->qpi_type; --- 1246,1255 ----
*** 1416,1426 **** status = IBT_INSUFF_RESOURCE; goto qpalloc_fail4; } qp = (hermon_qphdl_t)rsrc->hr_addr; bzero(qp, sizeof (struct hermon_sw_qp_s)); - _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(*qp)) qp->qp_alloc_flags = attr_p->qp_alloc_flags; /* * Calculate the QP number from QPC index. This routine handles * all of the operations necessary to keep track of used, unused, --- 1410,1419 ----
*** 1988,1998 **** * In addition, since the QP lock is contained in the QP "software * handle" resource, which we will free (see below), it is * important that we have no further references to that memory. */ mutex_exit(&qp->qp_lock); - _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(*qp)) /* * Free the QP resources * Start by deregistering and freeing the memory for work queues. * Next free any previously allocated context information --- 1981,1990 ----
*** 2227,2237 **** if (qp->qp_serv_type == HERMON_QP_FEXCH) { ibt_pmr_desc_t *pmr; uint64_t heart_beat; - _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(*pmr)) pmr = &attr_p->qp_query_fexch.fq_uni_mem_desc; pmr->pmd_iova = 0; pmr->pmd_lkey = pmr->pmd_rkey = hermon_fcoib_qpn_to_mkey(state, qp->qp_qpnum); pmr->pmd_phys_buf_list_sz = --- 2219,2228 ----
*** 2429,2439 **** sizeof (hermon_qpn_entry_t), KM_NOSLEEP); if (entry == NULL) { mutex_exit(&state->hs_qpn_avl_lock); return (DDI_FAILURE); } - _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(*entry)) entry->qpn_indx = qpc->hr_indx; entry->qpn_refcnt = 0; entry->qpn_counter = 0; --- 2420,2429 ----