Print this page
8368 remove warlock leftovers from usr/src/uts
*** 72,82 ****
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
*/
--- 72,81 ----
*** 128,138 ****
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 */
--- 127,136 ----
*** 254,264 ****
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
--- 252,261 ----
*** 284,294 ****
&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.
--- 281,290 ----
*** 518,528 ****
* 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
--- 514,523 ----
*** 662,672 ****
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.
*/
--- 657,666 ----
*** 683,693 ****
* "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;
--- 677,686 ----