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

*** 907,918 **** KM_SLEEP); tbl_size = (1 << state->ts_cfg_profile->cp_log_max_pkeytbl); pkey_tbl = (ib_pkey_t *)kmem_zalloc(tbl_size * sizeof (ib_pkey_t), KM_SLEEP); - _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(*sgid_tbl, *pkey_tbl)) - /* * Setup the number of ports, then loop through all ports and * query properties of each. */ info.tp_num_ports = (uint8_t)state->ts_cfg_profile->cp_num_ports; --- 907,916 ----
*** 997,1008 **** ib_pkey_t *pkey_tbl; int j, iter, ret; TAVOR_TNF_ENTER(tavor_ioctl_loopback); - _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(lstate)) - /* * Access to Tavor VTS ioctls is not allowed in "maintenance mode". */ if (state->ts_operational_mode == TAVOR_MAINTENANCE_MODE) { TNF_PROBE_0(tavor_ioctl_loopback_maintenance_mode_fail, --- 995,1004 ----
*** 1949,1960 **** hdl = state->ts_pci_cfghdl; /* Determine the bank setting from the address */ bank = addr & TAVOR_HW_FLASH_BANK_MASK; - _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(state->ts_fw_flashbank)) - /* * If the bank is different from the currently set bank, we need to * change it. Also, if an 'addr' of 0 is given, this allows the * capability to force the flash bank to 0. This is useful at init * time to initially set the bank value --- 1945,1954 ----
*** 2331,2342 **** static void tavor_loopback_free_qps(tavor_loopback_state_t *lstate) { int i; - _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(*lstate)) - if (lstate->tls_tx.tlc_qp_hdl != NULL) { (void) tavor_qp_free(lstate->tls_state, &lstate->tls_tx.tlc_qp_hdl, IBC_FREE_QP_AND_QPN, NULL, TAVOR_NOSLEEP); } --- 2325,2334 ----
*** 2394,2405 **** * tavor_loopback_init */ static int tavor_loopback_init(tavor_state_t *state, tavor_loopback_state_t *lstate) { - _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(*lstate)) - lstate->tls_hca_hdl = (ibc_hca_hdl_t)state; lstate->tls_status = tavor_pd_alloc(lstate->tls_state, &lstate->tls_pd_hdl, TAVOR_NOSLEEP); if (lstate->tls_status != IBT_SUCCESS) { lstate->tls_err = TAVOR_LOOPBACK_PROT_DOMAIN_ALLOC_FAIL; --- 2386,2395 ----
*** 2460,2471 **** */ static int tavor_loopback_alloc_mem(tavor_loopback_state_t *lstate, tavor_loopback_comm_t *comm, int sz) { - _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(*comm)) - /* Allocate buffer of specified size */ comm->tlc_buf_sz = sz; comm->tlc_buf = kmem_zalloc(sz, KM_NOSLEEP); if (comm->tlc_buf == NULL) { return (EFAULT); --- 2450,2459 ----
*** 2479,2490 **** IBT_MR_ENABLE_REMOTE_WRITE | IBT_MR_ENABLE_LOCAL_WRITE; comm->tlc_status = tavor_mr_register(lstate->tls_state, lstate->tls_pd_hdl, &comm->tlc_memattr, &comm->tlc_mrhdl, NULL); - _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(*comm->tlc_mrhdl)) - comm->tlc_mrdesc.md_vaddr = comm->tlc_mrhdl->mr_bindinfo.bi_addr; comm->tlc_mrdesc.md_lkey = comm->tlc_mrhdl->mr_lkey; comm->tlc_mrdesc.md_rkey = comm->tlc_mrhdl->mr_rkey; if (comm->tlc_status != IBT_SUCCESS) { return (EFAULT); --- 2467,2476 ----
*** 2500,2512 **** tavor_loopback_comm_t *comm) { uint32_t i, real_size; tavor_qp_info_t qpinfo; - _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(*comm)) - _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(*lstate)) - /* Allocate send and recv CQs */ for (i = 0; i < 2; i++) { bzero(&comm->tlc_cq_attr, sizeof (ibt_cq_attr_t)); comm->tlc_cq_attr.cq_size = 128; comm->tlc_status = tavor_cq_alloc(lstate->tls_state, --- 2486,2495 ----
*** 2548,2560 **** */ static int tavor_loopback_modify_qp(tavor_loopback_state_t *lstate, tavor_loopback_comm_t *comm, uint_t qp_num) { - _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(*comm)) - _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(*lstate)) - /* Modify QP to INIT */ tavor_loopback_init_qp_info(lstate, comm); comm->tlc_qp_info.qp_state = IBT_STATE_INIT; comm->tlc_status = tavor_qp_modify(lstate->tls_state, comm->tlc_qp_hdl, IBT_CEP_SET_STATE, &comm->tlc_qp_info, &comm->tlc_queue_sizes); --- 2531,2540 ----
*** 2636,2647 **** tavor_loopback_post_send(tavor_loopback_state_t *lstate, tavor_loopback_comm_t *tx, tavor_loopback_comm_t *rx) { int ret; - _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(*tx)) - bzero(&tx->tlc_sgl, sizeof (ibt_wr_ds_t)); bzero(&tx->tlc_wr, sizeof (ibt_send_wr_t)); /* Initialize local address for TX buffer */ tx->tlc_sgl.ds_va = tx->tlc_mrdesc.md_vaddr; --- 2616,2625 ----
*** 2673,2684 **** */ static int tavor_loopback_poll_cq(tavor_loopback_state_t *lstate, tavor_loopback_comm_t *comm) { - _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(*comm)) - comm->tlc_wc.wc_status = 0; comm->tlc_num_polled = 0; comm->tlc_status = tavor_cq_poll(lstate->tls_state, comm->tlc_cqhdl[0], &comm->tlc_wc, 1, &comm->tlc_num_polled); if ((comm->tlc_status == IBT_SUCCESS) && --- 2651,2660 ----