Print this page
8368 remove warlock leftovers from usr/src/uts
@@ -79,12 +79,10 @@
int status, i, flag;
char *errormsg;
TAVOR_TNF_ENTER(tavor_cq_alloc);
- _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(*cq_attr))
-
/*
* Determine whether CQ is being allocated for userland access or
* whether it is being allocated for kernel access. If the CQ is
* being allocated for userland access, then lookup the UAR doorbell
* page number for the current process. Note: If this is not found
@@ -134,11 +132,10 @@
/* Set "status" and "errormsg" and goto failure */
TAVOR_TNF_FAIL(IBT_INSUFF_RESOURCE, "failed CQ handle");
goto cqalloc_fail2;
}
cq = (tavor_cqhdl_t)rsrc->tr_addr;
- _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(*cq))
cq->cq_is_umap = cq_is_umap;
/* Use the index as CQ number */
cq->cq_cqnum = cqc->tr_indx;
@@ -206,11 +203,10 @@
/* Set "status" and "errormsg" and goto failure */
TAVOR_TNF_FAIL(IBT_INSUFF_RESOURCE, "failed completion queue");
goto cqalloc_fail4;
}
buf = (tavor_hw_cqe_t *)cq->cq_cqinfo.qa_buf_aligned;
- _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(*buf))
/*
* Initialize each of the Completion Queue Entries (CQE) by setting
* their ownership to hardware ("owner" bit set to HW). This is in
* preparation for the final transfer of ownership (below) of the
@@ -246,11 +242,10 @@
if (status != DDI_SUCCESS) {
/* Set "status" and "errormsg" and goto failure */
TAVOR_TNF_FAIL(IBT_INSUFF_RESOURCE, "failed register mr");
goto cqalloc_fail5;
}
- _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(*mr))
addr = mr->mr_bindinfo.bi_addr;
lkey = mr->mr_lkey;
/* Determine if later ddi_dma_sync will be necessary */
cq_sync = TAVOR_CQ_IS_SYNC_REQ(state, cq->cq_cqinfo);
@@ -482,11 +477,10 @@
* the deallocation of the CQ.
*/
tavor_wrid_cq_force_reap(cq);
mutex_exit(&cq->cq_lock);
- _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(*cq))
/*
* Reclaim CQC entry from hardware (using the Tavor HW2SW_CQ
* firmware command). If the ownership transfer fails for any reason,
* then it is an indication that something (either in HW or SW) has
@@ -612,11 +606,10 @@
/* Set "status" and "errormsg" and goto failure */
TAVOR_TNF_FAIL(IBT_INSUFF_RESOURCE, "failed completion queue");
goto cqresize_fail;
}
buf = (tavor_hw_cqe_t *)new_cqinfo.qa_buf_aligned;
- _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(*buf))
/*
* Initialize each of the Completion Queue Entries (CQE) by setting
* their ownership to hardware ("owner" bit set to HW). This is in
* preparation for the final resize operation (below).
@@ -651,11 +644,10 @@
tavor_queue_free(state, &new_cqinfo);
/* Set "status" and "errormsg" and goto failure */
TAVOR_TNF_FAIL(IBT_INSUFF_RESOURCE, "failed register mr");
goto cqresize_fail;
}
- _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(*mr))
/* Determine if later ddi_dma_sync will be necessary */
cq_sync = TAVOR_CQ_IS_SYNC_REQ(state, new_cqinfo);
/* Sync entire "new" CQ for use by hardware (if necessary) */