Print this page
8368 remove warlock leftovers from usr/src/uts
@@ -72,11 +72,10 @@
uint_t srq_is_umap;
int flag, status;
uint_t max_sgl;
uint_t wqesz;
uint_t srq_wr_sz;
- _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(*sizes))
/*
* options-->wq_location used to be for location, now explicitly
* LOCATION_NORMAL
*/
@@ -128,11 +127,10 @@
status = IBT_INSUFF_RESOURCE;
goto srqalloc_fail2;
}
srq = (hermon_srqhdl_t)rsrc->hr_addr;
- _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(*srq))
bzero(srq, sizeof (struct hermon_sw_srq_s));
/* Calculate the SRQ number */
/* just use the index, implicit in Hermon */
@@ -254,11 +252,10 @@
if (status != DDI_SUCCESS) {
status = IBT_INSUFF_RESOURCE;
goto srqalloc_fail4a;
}
buf = (uint32_t *)srq->srq_wqinfo.qa_buf_aligned;
- _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(*buf))
/*
* Register the memory for the SRQ work queues. The memory for the SRQ
* must be registered in the Hermon cMPT tables. This gives us the LKey
* to specify in the SRQ context later. Note: If the work queue is to
@@ -284,11 +281,10 @@
&mr_op, HERMON_SRQ_CMPT);
if (status != DDI_SUCCESS) {
status = IBT_INSUFF_RESOURCE;
goto srqalloc_fail5;
}
- _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(*mr))
/*
* Calculate the offset between the kernel virtual address space
* and the IB virtual address space. This will be used when
* posting work requests to properly initialize each WQE.
@@ -518,11 +514,10 @@
* number has been freed.
*/
hermon_icm_set_num_to_hdl(state, HERMON_SRQC, srqc->hr_indx, NULL);
mutex_exit(&srq->srq_lock);
- _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(*srq));
/*
* Reclaim SRQC entry from hardware (using the Hermon HW2SW_SRQ
* firmware command). If the ownership transfer fails for any reason,
* then it is an indication that something (either in HW or SW) has
@@ -662,11 +657,10 @@
if (status != DDI_SUCCESS) {
status = IBT_INSUFF_RESOURCE;
goto srqmodify_fail;
}
buf = (uint32_t *)new_srqinfo.qa_buf_aligned;
- _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(*buf))
/*
* Allocate the memory for the new WRE list. This will be used later
* when we resize the wridlist based on the new SRQ size.
*/
@@ -683,11 +677,10 @@
* "addr" binding (as is the case here) and a "buf" binding (see
* below). The "bind" struct is later passed to hermon_mr_mem_bind()
* which does most of the "heavy lifting" for the Hermon memory
* registration routines.
*/
- _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(bind))
bzero(&bind, sizeof (hermon_bind_info_t));
bind.bi_type = HERMON_BINDHDL_VADDR;
bind.bi_addr = (uint64_t)(uintptr_t)buf;
bind.bi_len = new_srqinfo.qa_size;
bind.bi_as = NULL;