Home
last modified time | relevance | path

Searched refs:udav (Results 1 – 6 of 6) sorted by relevance

/illumos-gate/usr/src/uts/common/io/ib/adapters/tavor/
H A Dtavor_misc.c49 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
104 status = tavor_rsrc_alloc(state, TAVOR_UDAV, 1, sleepflag, &udav); in tavor_ah_alloc()
137 tavor_rsrc_free(state, &udav); in tavor_ah_alloc()
151 mr_attr.mr_vaddr = (uint64_t)(uintptr_t)udav->tr_addr; in tavor_ah_alloc()
152 mr_attr.mr_len = udav->tr_len; in tavor_ah_alloc()
178 ddi_put64(udav->tr_acchdl, ((uint64_t *)udav->tr_addr + i), in tavor_ah_alloc()
182 ddi_put64(udav->tr_acchdl, (uint64_t *)udav->tr_addr, data); in tavor_ah_alloc()
196 ah->ah_udavrsrcp = udav; in tavor_ah_alloc()
208 tavor_udav_sync(ah, udav->tr_addr, DDI_DMA_SYNC_FORDEV); in tavor_ah_alloc()
[all …]
H A Dtavor_wr.c1351 tavor_hw_udav_t udav; in tavor_wqe_mlx_build() local
1385 ((uint64_t *)&udav)[i] = data; in tavor_wqe_mlx_build()
1394 if ((udav.rlid == IB_LID_PERMISSIVE) && in tavor_wqe_mlx_build()
1405 if (udav.grh) { in tavor_wqe_mlx_build()
1441 TAVOR_WQE_BUILD_MLX_LRH(lrh, qp, udav, pktlen); in tavor_wqe_mlx_build()
1449 if (udav.grh) { in tavor_wqe_mlx_build()
1458 TAVOR_WQE_BUILD_MLX_GRH(state, grh, qp, udav, pktlen); in tavor_wqe_mlx_build()
1577 tavor_hw_udav_t udav; in tavor_wqe_mlx_linknext() local
1653 ((uint64_t *)&udav)[i] = data; in tavor_wqe_mlx_linknext()
1671 if (udav.rlid == IB_LID_PERMISSIVE) { in tavor_wqe_mlx_linknext()
[all …]
/illumos-gate/usr/src/uts/common/sys/ib/adapters/tavor/
H A Dtavor_hw.h741 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 …]
/illumos-gate/usr/src/uts/common/sys/ib/adapters/hermon/
H A Dhermon_hw.h4768 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 …]
/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/
H A Dhermon_misc.c491 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 Dhermon_wr.c1684 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()