/freebsd-current/contrib/ofed/librdmacm/ |
H A D | rdma_verbs.h | 174 struct ibv_sge sge; local 178 sge.addr = (uint64_t) (uintptr_t) addr; 179 sge.length = (uint32_t) length; 180 sge.lkey = mr->lkey; 182 return rdma_post_recvv(id, context, &sge, 1); 189 struct ibv_sge sge; local 191 sge.addr = (uint64_t) (uintptr_t) addr; 192 sge.length = (uint32_t) length; 193 sge.lkey = mr ? mr->lkey : 0; 195 return rdma_post_sendv(id, context, &sge, 203 struct ibv_sge sge; local 217 struct ibv_sge sge; local 232 struct ibv_sge sge; local [all...] |
H A D | rsocket.c | 188 struct rs_sge sge; member in struct:rs_iomap 814 struct ibv_sge sge; local 823 sge.addr = (uintptr_t) rs->rbuf + rs->rbuf_size + 825 sge.length = RS_MSG_SIZE; 826 sge.lkey = rs->rmr->lkey; 828 wr.sg_list = &sge; 840 struct ibv_sge sge[2]; local 842 sge[0].addr = (uintptr_t) qp->rbuf + rs->rbuf_size; 843 sge[0].length = sizeof(struct ibv_grh); 844 sge[ 1652 struct ibv_sge sge; local 1700 struct ibv_sge sge; local 1734 ds_post_send(struct rsocket *rs, struct ibv_sge *sge, uint32_t wr_data) argument 1822 struct rs_sge sge, *sge_buf; local 2535 struct ibv_sge sge; local 2653 struct ibv_sge sge; local 2688 struct ibv_sge sge; local 3865 struct ibv_sge sge; local 4134 struct ibv_sge sge; local [all...] |
/freebsd-current/sys/modules/sge/ |
H A D | Makefile | 2 .PATH: ${SRCTOP}/sys/dev/sge
|
/freebsd-current/usr.sbin/mpsutil/ |
H A D | mps_debug.c | 133 MPI2_SGE_SIMPLE64 *sge; local 139 sge = (MPI2_SGE_SIMPLE64 *)&frame[offset * 4]; 144 flags = sge->FlagsLength >> MPI2_SGE_FLAGS_SHIFT; 148 flags, tmpbuf, sge->FlagsLength & 0xffffff, 149 mps_to_u64(&sge->Address)); 153 sge++; 156 sgc = (MPI2_SGE_CHAIN_UNION *)sge; 177 sge = (MPI2_SGE_SIMPLE64 *)frame;
|
/freebsd-current/sys/ofed/include/rdma/ |
H A D | rdmavt_mr.h | 116 struct rvt_sge sge; /* progress state for the current SGE */ member in struct:rvt_sge_state 135 rvt_put_mr(ss->sge.mr); 137 ss->sge = *ss->sg_list++;
|
/freebsd-current/contrib/ofed/librdmacm/examples/ |
H A D | rdma_xclient.c | 54 struct ibv_sge sge; local 57 sge.addr = (uint64_t) (uintptr_t) send_msg; 58 sge.length = (uint32_t) sizeof send_msg; 59 sge.lkey = 0; 62 wr.sg_list = &sge;
|
H A D | mckey.c | 178 struct ibv_sge sge; local 185 recv_wr.sg_list = &sge; 189 sge.length = message_size + sizeof(struct ibv_grh); 190 sge.lkey = node->mr->lkey; 191 sge.addr = (uintptr_t) node->mem; 206 struct ibv_sge sge; local 213 send_wr.sg_list = &sge; 224 sge.length = message_size; 225 sge.lkey = node->mr->lkey; 226 sge [all...] |
H A D | cmatose.c | 158 struct ibv_sge sge; local 165 recv_wr.sg_list = &sge; 169 sge.length = message_size; 170 sge.lkey = node->mr->lkey; 171 sge.addr = (uintptr_t) node->mem; 186 struct ibv_sge sge; local 193 send_wr.sg_list = &sge; 199 sge.length = message_size; 200 sge.lkey = node->mr->lkey; 201 sge [all...] |
H A D | udaddy.c | 173 struct ibv_sge sge; local 180 recv_wr.sg_list = &sge; 184 sge.length = message_size + sizeof(struct ibv_grh); 185 sge.lkey = node->mr->lkey; 186 sge.addr = (uintptr_t) node->mem; 201 struct ibv_sge sge; local 208 send_wr.sg_list = &sge; 219 sge.length = message_size; 220 sge.lkey = node->mr->lkey; 221 sge [all...] |
/freebsd-current/sys/dev/iser/ |
H A D | iser_memory.c | 114 reg->sge.lkey = device->mr->lkey; 116 reg->sge.length = ib_sg_dma_len(device->ib_device, &sg[0]); 117 reg->sge.addr = ib_sg_dma_address(device->ib_device, &sg[0]); 202 reg->sge.lkey = mr->lkey; 204 reg->sge.addr = mr->iova; 205 reg->sge.length = mr->length;
|
/freebsd-current/sys/dev/mana/ |
H A D | hw_channel.c | 125 struct gdma_sge *sge; local 128 sge = &req->sge; 129 sge->address = (uintptr_t)req->buf_sge_addr; 130 sge->mem_key = hwc_rxq->msg_buf->gpa_mkey; 131 sge->size = req->buf_len; 134 req->wqe_req.sgl = sge; 228 struct gdma_sge *sge; local 247 sge = (struct gdma_sge *)(wqe + 8 + dma_oob->inline_oob_size_div4 * 4); 251 rx_req_idx = (sge 596 struct gdma_sge *sge; local [all...] |
H A D | hw_channel.h | 134 struct gdma_sge sge; member in struct:hwc_work_request
|
/freebsd-current/sys/dev/cxgbe/ |
H A D | t4_netmap.c | 145 len = na->num_rx_desc * EQ_ESIZE + sc->params.sge.spg_len; 154 nm_rxq->iq_sidx = vi->qsize_rxq - sc->params.sge.spg_len / IQ_ESIZE; 224 len = na->num_tx_desc * EQ_ESIZE + sc->params.sge.spg_len; 283 struct sge_params *sp = &sc->params.sge; 354 cntxt_id = nm_rxq->iq_cntxt_id - sc->sge.iq_start; 355 if (cntxt_id >= sc->sge.iqmap_sz) { 357 __func__, cntxt_id, sc->sge.iqmap_sz - 1); 359 sc->sge.iqmap[cntxt_id] = (void *)nm_rxq; 367 cntxt_id = nm_rxq->fl_cntxt_id - sc->sge.eq_start; 368 if (cntxt_id >= sc->sge [all...] |
H A D | t4_sge.c | 841 int mask = fl_pad ? sc->params.sge.pad_boundary - 1 : 16 - 1; 853 struct sge *s = &sc->sge; 854 struct sge_params *sp = &sc->params.sge; 917 struct sge_params *sp = &sc->params.sge; 992 struct sge_params *sp = &sc->params.sge; 1080 if (sc->sge.ctrlq != NULL) { 1097 maxp = sc->params.sge.fl_pktshift + ETHER_HDR_LEN + 1284 struct sge_iq *fwq = &sc->sge.fwq; 1440 q = sc->sge [all...] |
/freebsd-current/sys/ofed/drivers/infiniband/ulp/sdp/ |
H A D | sdp_tx.c | 74 struct ib_sge *sge; local 126 sge = &ibsge[0]; 127 for (i = 0; mb != NULL; i++, mb = mb->m_next, sge++) { 134 sge->addr = addr; 135 sge->length = mb->m_len; 136 sge->lkey = ssk->sdp_dev->pd->local_dma_lkey;
|
H A D | sdp_zcopy.c | 327 static inline int sge_bytes(struct ib_sge *sge, int sge_cnt) argument 332 bytes += sge->length; 333 sge++; 525 struct ib_sge sge; local 535 sge.addr = rx_sa->umem->offset; 536 sge.length = rx_sa->umem->length; 537 sge.lkey = rx_sa->fmr->fmr->lkey; 541 wr.sg_list = &sge;
|
/freebsd-current/sys/dev/isci/ |
H A D | isci_io_request.c | 622 bus_dma_segment_t *sge = local 623 &isci_request->sge[isci_request->current_sge_index]; 626 *next_sge = sge; 646 bus_dma_segment_t *sge = (bus_dma_segment_t *)sge_address; local 648 return ((SCI_PHYSICAL_ADDRESS)sge->ds_addr); 667 bus_dma_segment_t *sge = (bus_dma_segment_t *)sge_address; local 669 return ((uint32_t)sge->ds_len); 695 io_request->sge = seg;
|
/freebsd-current/sys/dev/mps/ |
H A D | mps_table.c | 518 MPI2_SGE_SIMPLE64 *sge; local 525 sge = (MPI2_SGE_SIMPLE64 *)&frame[offset * 4]; 530 flags = le32toh(sge->FlagsLength) >> MPI2_SGE_FLAGS_SHIFT; 532 i, flags, le32toh(sge->FlagsLength) & 0xffffff, 533 mps_to_u64(&sge->Address)); 537 sge++; 540 sgc = (MPI2_SGE_CHAIN32 *)sge; 549 sge = (MPI2_SGE_SIMPLE64 *)frame;
|
/freebsd-current/sys/dev/qlnx/qlnxe/ |
H A D | storage_common.h | 111 struct scsi_sge sge[4] /* Cached SGEs section */; member in struct:scsi_cached_sges
|
/freebsd-current/sys/dev/irdma/ |
H A D | irdma_uk.c | 44 * @sge: sge length and stag 48 irdma_set_fragment(__le64 * wqe, u32 offset, struct ib_sge *sge, argument 51 if (sge) { 53 FIELD_PREP(IRDMAQPSQ_FRAG_TO, sge->addr)); 56 FIELD_PREP(IRDMAQPSQ_FRAG_LEN, sge->length) | 57 FIELD_PREP(IRDMAQPSQ_FRAG_STAG, sge->lkey)); 69 * @sge: sge length and stag 74 struct ib_sge *sge, u 73 irdma_set_fragment_gen_1(__le64 * wqe, u32 offset, struct ib_sge *sge, u8 valid) argument 881 struct ib_sge sge = {0}; local 1460 irdma_get_wqe_shift(struct irdma_uk_attrs *uk_attrs, u32 sge, u32 inline_data, u8 *shift) argument [all...] |
/freebsd-current/contrib/ofed/libirdma/ |
H A D | irdma_uk.c | 44 * @sge: sge length and stag 48 irdma_set_fragment(__le64 * wqe, u32 offset, struct ibv_sge *sge, argument 51 if (sge) { 53 FIELD_PREP(IRDMAQPSQ_FRAG_TO, sge->addr)); 56 FIELD_PREP(IRDMAQPSQ_FRAG_LEN, sge->length) | 57 FIELD_PREP(IRDMAQPSQ_FRAG_STAG, sge->lkey)); 69 * @sge: sge length and stag 74 struct ibv_sge *sge, u 73 irdma_set_fragment_gen_1(__le64 * wqe, u32 offset, struct ibv_sge *sge, u8 valid) argument 913 struct ibv_sge sge = {0}; local 1566 irdma_get_wqe_shift(struct irdma_uk_attrs *uk_attrs, u32 sge, u32 inline_data, u8 *shift) argument [all...] |
/freebsd-current/contrib/ofed/libibverbs/examples/ |
H A D | xsrq_pingpong.c | 737 struct ibv_sge sge; local 740 sge.addr = (uintptr_t) ctx.buf; 741 sge.length = ctx.size; 742 sge.lkey = ctx.mr->lkey; 746 wr.sg_list = &sge; 764 struct ibv_sge sge; local 768 sge.addr = (uintptr_t) ctx.buf; 769 sge.length = ctx.size; 770 sge.lkey = ctx.mr->lkey; 774 wr.sg_list = &sge; [all...] |
/freebsd-current/sys/dev/ocs_fc/ |
H A D | sli4.c | 6605 sli4_sge_t *sge = sgl->virt; local 6617 els->els_request_payload.u.data.buffer_address_low = sge[0].buffer_address_low; 6618 els->els_request_payload.u.data.buffer_address_high = sge[0].buffer_address_high; 6775 sli4_sge_t *sge = NULL; local 6784 sge = sgl->virt; 6792 icmnd->bde.buffer_length = sge[0].buffer_length; 6793 icmnd->bde.u.data.buffer_address_low = sge[0].buffer_address_low; 6794 icmnd->bde.u.data.buffer_address_high = sge[0].buffer_address_high; 6805 icmnd->payload_offset_length = sge[0].buffer_length + sge[ 6860 sli4_sge_t *sge = NULL; local 6964 sli4_sge_t *sge = NULL; local 7074 sli4_sge_t *sge = NULL; local 7268 sli4_sge_t *sge = sgl->virt; local 7355 sli4_sge_t *sge = NULL; local 7486 sli4_sge_t *sge = NULL; local [all...] |
/freebsd-current/sys/dev/mpr/ |
H A D | mpr_table.c | 541 MPI2_SGE_SIMPLE64 *sge; local 548 sge = (MPI2_SGE_SIMPLE64 *)&frame[offset * 4]; 578 flags = le32toh(sge->FlagsLength) >> MPI2_SGE_FLAGS_SHIFT; 580 flags, le32toh(sge->FlagsLength) & 0xffffff, 581 mpr_to_u64(&sge->Address)); 585 sge++;
|
H A D | mpr.c | 3448 mpr_push_sge(struct mpr_command *cm, MPI2_SGE_SIMPLE64 *sge, size_t len, argument 3476 * here. Save the pre-filled sge values. These will be used 3484 saved_buf_len = sge->FlagsLength & 0x00FFFFFF; 3485 saved_address_low = sge->Address.Low; 3486 saved_address_high = sge->Address.High; 3488 sge->FlagsLength = cm->cm_out_len | 3496 sge_flags = sge->FlagsLength; 3497 sge->FlagsLength = htole32(sge_flags); 3498 bcopy(sge, cm->cm_sge, len); 3501 sge 3537 MPI2_IEEE_SGE_SIMPLE64 *sge = sgep; local 3612 MPI2_SGE_SIMPLE64 sge; local [all...] |