Searched refs:udav (Results 1 – 6 of 6) sorted by relevance
/titanic_41/usr/src/uts/common/io/ib/adapters/tavor/ |
H A D | tavor_misc.c | 49 static void tavor_udav_sync(tavor_ahhdl_t ah, tavor_hw_udav_t *udav, 77 tavor_rsrc_t *udav, *rsrc; in tavor_ah_alloc() local 109 status = tavor_rsrc_alloc(state, TAVOR_UDAV, 1, sleepflag, &udav); in tavor_ah_alloc() 146 tavor_rsrc_free(state, &udav); in tavor_ah_alloc() 162 mr_attr.mr_vaddr = (uint64_t)(uintptr_t)udav->tr_addr; in tavor_ah_alloc() 163 mr_attr.mr_len = udav->tr_len; in tavor_ah_alloc() 191 ddi_put64(udav->tr_acchdl, ((uint64_t *)udav->tr_addr + i), in tavor_ah_alloc() 195 ddi_put64(udav->tr_acchdl, (uint64_t *)udav->tr_addr, data); in tavor_ah_alloc() 209 ah->ah_udavrsrcp = udav; in tavor_ah_alloc() 221 tavor_udav_sync(ah, udav->tr_addr, DDI_DMA_SYNC_FORDEV); in tavor_ah_alloc() [all …]
|
H A D | tavor_wr.c | 1436 tavor_hw_udav_t udav; in tavor_wqe_mlx_build() local 1475 ((uint64_t *)&udav)[i] = data; in tavor_wqe_mlx_build() 1484 if ((udav.rlid == IB_LID_PERMISSIVE) && in tavor_wqe_mlx_build() 1498 if (udav.grh) { in tavor_wqe_mlx_build() 1534 TAVOR_WQE_BUILD_MLX_LRH(lrh, qp, udav, pktlen); in tavor_wqe_mlx_build() 1542 if (udav.grh) { in tavor_wqe_mlx_build() 1554 TAVOR_WQE_BUILD_MLX_GRH(state, grh, qp, udav, pktlen); in tavor_wqe_mlx_build() 1677 tavor_hw_udav_t udav; in tavor_wqe_mlx_linknext() local 1753 ((uint64_t *)&udav)[i] = data; in tavor_wqe_mlx_linknext() 1771 if (udav.rlid == IB_LID_PERMISSIVE) { in tavor_wqe_mlx_linknext() [all …]
|
/titanic_41/usr/src/uts/common/sys/ib/adapters/tavor/ |
H A D | tavor_hw.h | 741 tavor_udav_mem_param_t udav; member 771 tavor_udav_mem_param_t udav; member 2526 #define TAVOR_WQE_BUILD_MLX_LRH(lrh, qp, udav, pktlen) \ argument 2536 lrh_tmp = TAVOR_MLX_VL0_LVER | ((udav).sl << 20); \ 2538 if ((udav).grh) { \ 2543 lrh_tmp |= (udav).rlid; \ 2547 if ((udav).rlid == IB_LID_PERMISSIVE) { \ 2550 lrh_tmp |= (udav).ml_path; \ 2562 #define TAVOR_WQE_BUILD_MLX_GRH(state, grh, qp, udav, pktlen) \ argument 2571 grh_tmp |= (udav).tclass << TAVOR_MLX_TC_SHIFT; \ [all …]
|
/titanic_41/usr/src/uts/common/sys/ib/adapters/hermon/ |
H A D | hermon_hw.h | 4768 uint64_t *udav; \ 4771 udav = (uint64_t *)(ah)->ah_udav; \ 4772 tmp[0] = ntohll(udav[0]); \ 4773 tmp[1] = ntohll(udav[1]); \ 4774 tmp[2] = ntohll(udav[2]); \ 4775 tmp[3] = ntohll(udav[3]); \ 4951 #define HERMON_WQE_BUILD_MLX_LRH(lrh, qp, udav, pktlen) \ argument 4961 lrh_tmp = HERMON_MLX_VL0_LVER | ((udav)->sl << 20); \ 4963 if ((udav)->grh) { \ 4968 lrh_tmp |= (udav)->rlid; \ [all …]
|
/titanic_41/usr/src/uts/common/io/ib/adapters/hermon/ |
H A D | hermon_misc.c | 491 hermon_hw_udav_t *udav; in hermon_ah_alloc() local 520 udav = (hermon_hw_udav_t *)kmem_zalloc(sizeof (hermon_hw_udav_t), in hermon_ah_alloc() 522 _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(*udav)) in hermon_ah_alloc() 530 (hermon_hw_addr_path_t *)udav, HERMON_ADDRPATH_UDAV); in hermon_ah_alloc() 536 udav->pd = pd->pd_pdnum; in hermon_ah_alloc() 537 udav->sl = attr_p->av_srvl; in hermon_ah_alloc() 550 ah->ah_udav = udav; in hermon_ah_alloc() 2175 hermon_hw_udav_t *udav; in hermon_set_addr_path() local 2180 udav = (hermon_hw_udav_t *)(void *)path; in hermon_set_addr_path() 2181 _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(*udav)) in hermon_set_addr_path() [all …]
|
H A D | hermon_wr.c | 1684 hermon_hw_udav_t *udav; in hermon_wqe_mlx_build() local 1712 udav = ah->ah_udav; in hermon_wqe_mlx_build() 1719 if ((udav->rlid == IB_LID_PERMISSIVE) && in hermon_wqe_mlx_build() 1731 if (udav->grh) { in hermon_wqe_mlx_build() 1767 HERMON_WQE_BUILD_MLX_LRH(lrh, qp, udav, pktlen); in hermon_wqe_mlx_build() 1775 if (udav->grh) { in hermon_wqe_mlx_build() 1785 HERMON_WQE_BUILD_MLX_GRH(state, grh, qp, udav, pktlen); in hermon_wqe_mlx_build()
|