/titanic_50/usr/src/uts/common/io/ib/clients/rdsv3/ |
H A D | rdsv3_impl.c | 962 ibt_iov_attr_t iov_attr; in rdsv3_ib_frag_constructor() local 977 iov_attr.iov_as = NULL; in rdsv3_ib_frag_constructor() 978 iov_attr.iov = &iov_arr[0]; in rdsv3_ib_frag_constructor() 979 iov_attr.iov_buf = NULL; in rdsv3_ib_frag_constructor() 980 iov_attr.iov_list_len = 1; in rdsv3_ib_frag_constructor() 981 iov_attr.iov_wr_nds = 1; in rdsv3_ib_frag_constructor() 982 iov_attr.iov_lso_hdr_sz = 0; in rdsv3_ib_frag_constructor() 983 iov_attr.iov_flags = IBT_IOV_SLEEP | IBT_IOV_RECV; in rdsv3_ib_frag_constructor() 992 &iov_attr, &wr, &frag->f_mapped) != IBT_SUCCESS) { in rdsv3_ib_frag_constructor() 1174 ibt_iov_attr_t iov_attr; in rdsv3_ib_dma_map_sg() local [all …]
|
H A D | ib_send.c | 917 ibt_iov_attr_t iov_attr; in rdsv3_ib_dma_map_sg_rdma() local 929 bzero(&iov_attr, sizeof (ibt_iov_attr_t)); in rdsv3_ib_dma_map_sg_rdma() 930 iov_attr.iov_flags = IBT_IOV_BUF; in rdsv3_ib_dma_map_sg_rdma() 931 iov_attr.iov_lso_hdr_sz = 0; in rdsv3_ib_dma_map_sg_rdma() 943 iov_attr.iov_buf = bp; in rdsv3_ib_dma_map_sg_rdma() 944 iov_attr.iov_wr_nds = (scat[i].iovec.bytes / PAGESIZE) + 2; in rdsv3_ib_dma_map_sg_rdma() 946 kmem_zalloc(iov_attr.iov_wr_nds * sizeof (ibt_wr_ds_t), in rdsv3_ib_dma_map_sg_rdma() 949 ret = ibt_map_mem_iov(hca_hdl, &iov_attr, in rdsv3_ib_dma_map_sg_rdma() 957 iov_attr.iov_wr_nds * sizeof (ibt_wr_ds_t)); in rdsv3_ib_dma_map_sg_rdma()
|
H A D | ib_recv.c | 117 ibt_iov_attr_t iov_attr; in rdsv3_ib_recv_refill_one() local
|
/titanic_50/usr/src/uts/common/io/ib/adapters/hermon/ |
H A D | hermon_ci.c | 2429 hermon_ci_map_mem_iov(ibc_hca_hdl_t hca, ibt_iov_attr_t *iov_attr, in hermon_ci_map_mem_iov() argument 2460 max_nds = iov_attr->iov_wr_nds; in hermon_ci_map_mem_iov() 2461 if (iov_attr->iov_lso_hdr_sz) in hermon_ci_map_mem_iov() 2462 max_nds -= (iov_attr->iov_lso_hdr_sz + sizeof (uint32_t) + in hermon_ci_map_mem_iov() 2464 rsvd_lkey = (iov_attr->iov_flags & IBT_IOV_ALT_LKEY) ? in hermon_ci_map_mem_iov() 2465 iov_attr->iov_alt_lkey : state->hs_devlim.rsv_lkey; in hermon_ci_map_mem_iov() 2466 if ((iov_attr->iov_flags & IBT_IOV_NOSLEEP) == 0) { in hermon_ci_map_mem_iov() 2474 if (iov_attr->iov_flags & IBT_IOV_BUF) { in hermon_ci_map_mem_iov() 2487 status = ddi_dma_buf_bind_handle(dmahdl, iov_attr->iov_buf, in hermon_ci_map_mem_iov() 2518 if (iov_attr->iov_flags & IBT_IOV_RECV) in hermon_ci_map_mem_iov() [all …]
|
/titanic_50/usr/src/uts/common/io/ib/clients/eoib/ |
H A D | eib_data.c | 854 ibt_iov_attr_t iov_attr; in eib_data_prepare_sgl() local 925 iov_attr.iov_as = NULL; in eib_data_prepare_sgl() 926 iov_attr.iov = iov_arr; in eib_data_prepare_sgl() 927 iov_attr.iov_buf = NULL; in eib_data_prepare_sgl() 928 iov_attr.iov_list_len = nblks; in eib_data_prepare_sgl() 929 iov_attr.iov_wr_nds = ss->ei_caps->cp_max_sgl; in eib_data_prepare_sgl() 930 iov_attr.iov_lso_hdr_sz = lsohdr_sz; in eib_data_prepare_sgl() 931 iov_attr.iov_flags = IBT_IOV_SLEEP; in eib_data_prepare_sgl() 950 ret = ibt_map_mem_iov(ss->ei_hca_hdl, &iov_attr, in eib_data_prepare_sgl()
|
/titanic_50/usr/src/uts/common/io/ib/adapters/tavor/ |
H A D | tavor_ci.c | 3088 tavor_ci_map_mem_iov(ibc_hca_hdl_t hca, ibt_iov_attr_t *iov_attr, in tavor_ci_map_mem_iov() argument 3116 if ((iov_attr->iov_flags & IBT_IOV_ALT_LKEY) == 0) in tavor_ci_map_mem_iov() 3119 rsvd_lkey = iov_attr->iov_alt_lkey; in tavor_ci_map_mem_iov() 3129 max_nds = iov_attr->iov_wr_nds; in tavor_ci_map_mem_iov() 3130 if (iov_attr->iov_lso_hdr_sz) in tavor_ci_map_mem_iov() 3131 max_nds -= (iov_attr->iov_lso_hdr_sz + sizeof (uint32_t) + in tavor_ci_map_mem_iov() 3133 if ((iov_attr->iov_flags & IBT_IOV_NOSLEEP) == 0) { in tavor_ci_map_mem_iov() 3141 if (iov_attr->iov_flags & IBT_IOV_BUF) { in tavor_ci_map_mem_iov() 3154 status = ddi_dma_buf_bind_handle(dmahdl, iov_attr->iov_buf, in tavor_ci_map_mem_iov() 3182 if (iov_attr->iov_flags & IBT_IOV_RECV) in tavor_ci_map_mem_iov() [all …]
|
/titanic_50/usr/src/uts/common/io/ib/ibtl/ |
H A D | ibtl_mem.c | 563 ibt_map_mem_iov(ibt_hca_hdl_t hca_hdl, ibt_iov_attr_t *iov_attr, in ibt_map_mem_iov() argument 569 hca_hdl, iov_attr, wr); in ibt_map_mem_iov() 572 IBTL_HCA2CIHCA(hca_hdl), iov_attr, wr, mi_hdl_p); in ibt_map_mem_iov()
|
/titanic_50/usr/src/uts/common/io/ib/clients/ibd/ |
H A D | ibd.c | 6804 ibt_iov_attr_t iov_attr; in ibd_prepare_sgl() local 6806 iov_attr.iov_as = NULL; in ibd_prepare_sgl() 6807 iov_attr.iov = iov_arr; in ibd_prepare_sgl() 6808 iov_attr.iov_buf = NULL; in ibd_prepare_sgl() 6809 iov_attr.iov_list_len = nmblks; in ibd_prepare_sgl() 6810 iov_attr.iov_wr_nds = state->id_max_sqseg; in ibd_prepare_sgl() 6811 iov_attr.iov_lso_hdr_sz = lsohdr_sz; in ibd_prepare_sgl() 6812 iov_attr.iov_flags = IBT_IOV_SLEEP; in ibd_prepare_sgl() 6826 ibt_status = ibt_map_mem_iov(state->id_hca_hdl, &iov_attr, in ibd_prepare_sgl() 7156 ibt_iov_attr_t iov_attr; in ibd_send() local [all …]
|
/titanic_50/usr/src/uts/common/sys/ib/ibtl/ |
H A D | ibci.h | 347 ibt_iov_attr_t *iov_attr, ibt_all_wr_t *wr,
|
H A D | ibti_common.h | 1300 ibt_iov_attr_t *iov_attr, ibt_all_wr_t *wr, ibt_mi_hdl_t *mi_hdl);
|