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

@@ -89,12 +89,10 @@
         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;

@@ -270,11 +268,10 @@
                 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

@@ -884,11 +881,10 @@
         }
         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

@@ -1250,12 +1246,10 @@
         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;

@@ -1416,11 +1410,10 @@
                 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,

@@ -1988,11 +1981,10 @@
          *    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

@@ -2227,11 +2219,10 @@
 
                 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 =

@@ -2429,11 +2420,10 @@
                     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;