swqe 385 drivers/infiniband/hw/hfi1/tid_rdma.c priv->tid_req.e.swqe = wqe; swqe 2494 drivers/infiniband/hw/hfi1/tid_rdma.c len = restart_sge(&ss, req->e.swqe, ipsn, pmtu); swqe 2521 drivers/infiniband/hw/hfi1/tid_rdma.c trace_hfi1_tid_req_rcv_read_resp(qp, 0, req->e.swqe->wr.opcode, swqe 2522 drivers/infiniband/hw/hfi1/tid_rdma.c req->e.swqe->psn, req->e.swqe->lpsn, swqe 101 drivers/infiniband/hw/hfi1/tid_rdma.h struct rvt_swqe *swqe; swqe 73 drivers/infiniband/hw/hfi1/ud.c static void ud_loopback(struct rvt_qp *sqp, struct rvt_swqe *swqe) swqe 90 drivers/infiniband/hw/hfi1/ud.c rvt_get_swqe_remote_qpn(swqe)); swqe 108 drivers/infiniband/hw/hfi1/ud.c ah_attr = rvt_get_swqe_ah_attr(swqe); swqe 138 drivers/infiniband/hw/hfi1/ud.c qkey = (int)rvt_get_swqe_remote_qkey(swqe) < 0 ? swqe 139 drivers/infiniband/hw/hfi1/ud.c sqp->qkey : rvt_get_swqe_remote_qkey(swqe); swqe 148 drivers/infiniband/hw/hfi1/ud.c length = swqe->length; swqe 152 drivers/infiniband/hw/hfi1/ud.c if (swqe->wr.opcode == IB_WR_SEND_WITH_IMM) { swqe 154 drivers/infiniband/hw/hfi1/ud.c wc.ex.imm_data = swqe->wr.ex.imm_data; swqe 220 drivers/infiniband/hw/hfi1/ud.c ssge.sg_list = swqe->sg_list + 1; swqe 221 drivers/infiniband/hw/hfi1/ud.c ssge.sge = *swqe->sg_list; swqe 222 drivers/infiniband/hw/hfi1/ud.c ssge.num_sge = swqe->wr.num_sge; swqe 243 drivers/infiniband/hw/hfi1/ud.c wc.pkey_index = rvt_get_swqe_pkey_index(swqe); swqe 258 drivers/infiniband/hw/hfi1/ud.c rvt_recv_cq(qp, &wc, swqe->wr.send_flags & IB_SEND_SOLICITED); swqe 3058 drivers/infiniband/hw/qedr/verbs.c struct rdma_sq_send_wqe_1st *swqe, swqe 3068 drivers/infiniband/hw/qedr/verbs.c return qedr_prepare_sq_inline_data(dev, qp, &swqe->wqe_size, wr, swqe 3069 drivers/infiniband/hw/qedr/verbs.c bad_wr, &swqe->flags, flags); swqe 3072 drivers/infiniband/hw/qedr/verbs.c return qedr_prepare_sq_sges(qp, &swqe->wqe_size, wr); swqe 3188 drivers/infiniband/hw/qedr/verbs.c struct rdma_sq_send_wqe_1st *swqe; swqe 3224 drivers/infiniband/hw/qedr/verbs.c swqe = (struct rdma_sq_send_wqe_1st *)wqe; swqe 3225 drivers/infiniband/hw/qedr/verbs.c swqe->wqe_size = 2; swqe 3228 drivers/infiniband/hw/qedr/verbs.c swqe->inv_key_or_imm_data = cpu_to_le32(be32_to_cpu(wr->ex.imm_data)); swqe 3229 drivers/infiniband/hw/qedr/verbs.c length = qedr_prepare_sq_send_data(dev, qp, swqe, swqe2, swqe 3231 drivers/infiniband/hw/qedr/verbs.c swqe->length = cpu_to_le32(length); swqe 3232 drivers/infiniband/hw/qedr/verbs.c qp->wqe_wr_id[qp->sq.prod].wqe_size = swqe->wqe_size; swqe 3233 drivers/infiniband/hw/qedr/verbs.c qp->prev_wqe_size = swqe->wqe_size; swqe 3234 drivers/infiniband/hw/qedr/verbs.c qp->wqe_wr_id[qp->sq.prod].bytes_len = swqe->length; swqe 3238 drivers/infiniband/hw/qedr/verbs.c swqe = (struct rdma_sq_send_wqe_1st *)wqe; swqe 3240 drivers/infiniband/hw/qedr/verbs.c swqe->wqe_size = 2; swqe 3242 drivers/infiniband/hw/qedr/verbs.c length = qedr_prepare_sq_send_data(dev, qp, swqe, swqe2, swqe 3244 drivers/infiniband/hw/qedr/verbs.c swqe->length = cpu_to_le32(length); swqe 3245 drivers/infiniband/hw/qedr/verbs.c qp->wqe_wr_id[qp->sq.prod].wqe_size = swqe->wqe_size; swqe 3246 drivers/infiniband/hw/qedr/verbs.c qp->prev_wqe_size = swqe->wqe_size; swqe 3247 drivers/infiniband/hw/qedr/verbs.c qp->wqe_wr_id[qp->sq.prod].bytes_len = swqe->length; swqe 3251 drivers/infiniband/hw/qedr/verbs.c swqe = (struct rdma_sq_send_wqe_1st *)wqe; swqe 3253 drivers/infiniband/hw/qedr/verbs.c swqe->wqe_size = 2; swqe 3254 drivers/infiniband/hw/qedr/verbs.c swqe->inv_key_or_imm_data = cpu_to_le32(wr->ex.invalidate_rkey); swqe 3255 drivers/infiniband/hw/qedr/verbs.c length = qedr_prepare_sq_send_data(dev, qp, swqe, swqe2, swqe 3257 drivers/infiniband/hw/qedr/verbs.c swqe->length = cpu_to_le32(length); swqe 3258 drivers/infiniband/hw/qedr/verbs.c qp->wqe_wr_id[qp->sq.prod].wqe_size = swqe->wqe_size; swqe 3259 drivers/infiniband/hw/qedr/verbs.c qp->prev_wqe_size = swqe->wqe_size; swqe 3260 drivers/infiniband/hw/qedr/verbs.c qp->wqe_wr_id[qp->sq.prod].bytes_len = swqe->length; swqe 51 drivers/infiniband/hw/qib/qib_ud.c static void qib_ud_loopback(struct rvt_qp *sqp, struct rvt_swqe *swqe) swqe 67 drivers/infiniband/hw/qib/qib_ud.c qp = rvt_lookup_qpn(rdi, &ibp->rvp, rvt_get_swqe_remote_qpn(swqe)); swqe 84 drivers/infiniband/hw/qib/qib_ud.c ah_attr = rvt_get_swqe_ah_attr(swqe); swqe 114 drivers/infiniband/hw/qib/qib_ud.c qkey = (int)rvt_get_swqe_remote_qkey(swqe) < 0 ? swqe 115 drivers/infiniband/hw/qib/qib_ud.c sqp->qkey : rvt_get_swqe_remote_qkey(swqe); swqe 124 drivers/infiniband/hw/qib/qib_ud.c length = swqe->length; swqe 128 drivers/infiniband/hw/qib/qib_ud.c if (swqe->wr.opcode == IB_WR_SEND_WITH_IMM) { swqe 130 drivers/infiniband/hw/qib/qib_ud.c wc.ex.imm_data = swqe->wr.ex.imm_data; swqe 171 drivers/infiniband/hw/qib/qib_ud.c ssge.sg_list = swqe->sg_list + 1; swqe 172 drivers/infiniband/hw/qib/qib_ud.c ssge.sge = *swqe->sg_list; swqe 173 drivers/infiniband/hw/qib/qib_ud.c ssge.num_sge = swqe->wr.num_sge; swqe 207 drivers/infiniband/hw/qib/qib_ud.c rvt_get_swqe_pkey_index(swqe) : 0; swqe 214 drivers/infiniband/hw/qib/qib_ud.c rvt_recv_cq(qp, &wc, swqe->wr.send_flags & IB_SEND_SOLICITED); swqe 765 drivers/net/ethernet/ibm/ehea/ehea_main.c struct ehea_swqe *swqe; swqe 772 drivers/net/ethernet/ibm/ehea/ehea_main.c swqe = ehea_get_swqe(pr->qp, &swqe_index); swqe 773 drivers/net/ethernet/ibm/ehea/ehea_main.c memset(swqe, 0, SWQE_HEADER_SIZE); swqe 776 drivers/net/ethernet/ibm/ehea/ehea_main.c swqe->tx_control |= EHEA_SWQE_PURGE; swqe 777 drivers/net/ethernet/ibm/ehea/ehea_main.c swqe->wr_id = SWQE_RESTART_CHECK; swqe 778 drivers/net/ethernet/ibm/ehea/ehea_main.c swqe->tx_control |= EHEA_SWQE_SIGNALLED_COMPLETION; swqe 779 drivers/net/ethernet/ibm/ehea/ehea_main.c swqe->tx_control |= EHEA_SWQE_IMM_DATA_PRESENT; swqe 780 drivers/net/ethernet/ibm/ehea/ehea_main.c swqe->immediate_data_length = 80; swqe 782 drivers/net/ethernet/ibm/ehea/ehea_main.c ehea_post_swqe(pr->qp, swqe); swqe 1600 drivers/net/ethernet/ibm/ehea/ehea_main.c static void write_swqe2_immediate(struct sk_buff *skb, struct ehea_swqe *swqe, swqe 1604 drivers/net/ethernet/ibm/ehea/ehea_main.c u8 *imm_data = &swqe->u.immdata_desc.immediate_data[0]; swqe 1605 drivers/net/ethernet/ibm/ehea/ehea_main.c struct ehea_vsgentry *sg1entry = &swqe->u.immdata_desc.sg_entry; swqe 1608 drivers/net/ethernet/ibm/ehea/ehea_main.c swqe->descriptors = 0; swqe 1611 drivers/net/ethernet/ibm/ehea/ehea_main.c swqe->tx_control |= EHEA_SWQE_TSO; swqe 1612 drivers/net/ethernet/ibm/ehea/ehea_main.c swqe->mss = skb_shinfo(skb)->gso_size; swqe 1622 drivers/net/ethernet/ibm/ehea/ehea_main.c swqe->immediate_data_length = immediate_len; swqe 1629 drivers/net/ethernet/ibm/ehea/ehea_main.c swqe->descriptors++; swqe 1633 drivers/net/ethernet/ibm/ehea/ehea_main.c swqe->immediate_data_length = skb_data_size; swqe 1638 drivers/net/ethernet/ibm/ehea/ehea_main.c struct ehea_swqe *swqe, u32 lkey) swqe 1645 drivers/net/ethernet/ibm/ehea/ehea_main.c sg1entry = &swqe->u.immdata_desc.sg_entry; swqe 1646 drivers/net/ethernet/ibm/ehea/ehea_main.c sg_list = (struct ehea_vsgentry *)&swqe->u.immdata_desc.sg_list; swqe 1649 drivers/net/ethernet/ibm/ehea/ehea_main.c write_swqe2_immediate(skb, swqe, lkey); swqe 1653 drivers/net/ethernet/ibm/ehea/ehea_main.c if (swqe->descriptors == 0) { swqe 1662 drivers/net/ethernet/ibm/ehea/ehea_main.c swqe->descriptors++; swqe 1674 drivers/net/ethernet/ibm/ehea/ehea_main.c swqe->descriptors++; swqe 1953 drivers/net/ethernet/ibm/ehea/ehea_main.c static void xmit_common(struct sk_buff *skb, struct ehea_swqe *swqe) swqe 1955 drivers/net/ethernet/ibm/ehea/ehea_main.c swqe->tx_control |= EHEA_SWQE_IMM_DATA_PRESENT | EHEA_SWQE_CRC; swqe 1961 drivers/net/ethernet/ibm/ehea/ehea_main.c swqe->tx_control |= EHEA_SWQE_IP_CHECKSUM; swqe 1963 drivers/net/ethernet/ibm/ehea/ehea_main.c swqe->ip_start = skb_network_offset(skb); swqe 1964 drivers/net/ethernet/ibm/ehea/ehea_main.c swqe->ip_end = swqe->ip_start + ip_hdrlen(skb) - 1; swqe 1969 drivers/net/ethernet/ibm/ehea/ehea_main.c swqe->tx_control |= EHEA_SWQE_TCP_CHECKSUM; swqe 1971 drivers/net/ethernet/ibm/ehea/ehea_main.c swqe->tcp_offset = swqe->ip_end + 1 + swqe 1977 drivers/net/ethernet/ibm/ehea/ehea_main.c swqe->tx_control |= EHEA_SWQE_TCP_CHECKSUM; swqe 1979 drivers/net/ethernet/ibm/ehea/ehea_main.c swqe->tcp_offset = swqe->ip_end + 1 + swqe 1986 drivers/net/ethernet/ibm/ehea/ehea_main.c struct ehea_swqe *swqe, u32 lkey) swqe 1988 drivers/net/ethernet/ibm/ehea/ehea_main.c swqe->tx_control |= EHEA_SWQE_DESCRIPTORS_PRESENT; swqe 1990 drivers/net/ethernet/ibm/ehea/ehea_main.c xmit_common(skb, swqe); swqe 1992 drivers/net/ethernet/ibm/ehea/ehea_main.c write_swqe2_data(skb, dev, swqe, lkey); swqe 1996 drivers/net/ethernet/ibm/ehea/ehea_main.c struct ehea_swqe *swqe) swqe 1998 drivers/net/ethernet/ibm/ehea/ehea_main.c u8 *imm_data = &swqe->u.immdata_nodesc.immediate_data[0]; swqe 2000 drivers/net/ethernet/ibm/ehea/ehea_main.c xmit_common(skb, swqe); swqe 2007 drivers/net/ethernet/ibm/ehea/ehea_main.c swqe->immediate_data_length = skb->len; swqe 2014 drivers/net/ethernet/ibm/ehea/ehea_main.c struct ehea_swqe *swqe; swqe 2023 drivers/net/ethernet/ibm/ehea/ehea_main.c swqe = ehea_get_swqe(pr->qp, &swqe_index); swqe 2024 drivers/net/ethernet/ibm/ehea/ehea_main.c memset(swqe, 0, SWQE_HEADER_SIZE); swqe 2028 drivers/net/ethernet/ibm/ehea/ehea_main.c swqe->tx_control |= EHEA_SWQE_VLAN_INSERT; swqe 2029 drivers/net/ethernet/ibm/ehea/ehea_main.c swqe->vlan_tag = skb_vlan_tag_get(skb); swqe 2038 drivers/net/ethernet/ibm/ehea/ehea_main.c ehea_xmit3(skb, dev, swqe); swqe 2039 drivers/net/ethernet/ibm/ehea/ehea_main.c swqe->wr_id = EHEA_BMASK_SET(EHEA_WR_ID_TYPE, EHEA_SWQE3_TYPE) swqe 2042 drivers/net/ethernet/ibm/ehea/ehea_main.c swqe->wr_id |= EHEA_BMASK_SET(EHEA_WR_ID_REFILL, swqe 2044 drivers/net/ethernet/ibm/ehea/ehea_main.c swqe->tx_control |= EHEA_SWQE_SIGNALLED_COMPLETION; swqe 2049 drivers/net/ethernet/ibm/ehea/ehea_main.c swqe->wr_id = swqe 2060 drivers/net/ethernet/ibm/ehea/ehea_main.c ehea_xmit2(skb, dev, swqe, lkey); swqe 2061 drivers/net/ethernet/ibm/ehea/ehea_main.c swqe->tx_control |= EHEA_SWQE_SIGNALLED_COMPLETION; swqe 2068 drivers/net/ethernet/ibm/ehea/ehea_main.c ehea_dump(swqe, 512, "swqe"); swqe 2072 drivers/net/ethernet/ibm/ehea/ehea_main.c swqe->tx_control |= EHEA_SWQE_PURGE; swqe 2075 drivers/net/ethernet/ibm/ehea/ehea_main.c ehea_post_swqe(pr->qp, swqe); swqe 2475 drivers/net/ethernet/ibm/ehea/ehea_main.c struct ehea_swqe *swqe; swqe 2480 drivers/net/ethernet/ibm/ehea/ehea_main.c swqe = ehea_get_swqe(&qp, &wqe_index); swqe 2481 drivers/net/ethernet/ibm/ehea/ehea_main.c swqe->tx_control |= EHEA_SWQE_PURGE; swqe 319 drivers/net/ethernet/ibm/ehea/ehea_qmr.h static inline void ehea_post_swqe(struct ehea_qp *my_qp, struct ehea_swqe *swqe) swqe 227 include/rdma/rdmavt_qp.h static inline struct rvt_ah *rvt_get_swqe_ah(struct rvt_swqe *swqe) swqe 229 include/rdma/rdmavt_qp.h return ibah_to_rvtah(swqe->ud_wr.wr.ah); swqe 237 include/rdma/rdmavt_qp.h static inline struct rdma_ah_attr *rvt_get_swqe_ah_attr(struct rvt_swqe *swqe) swqe 239 include/rdma/rdmavt_qp.h return swqe->ud_wr.attr; swqe 247 include/rdma/rdmavt_qp.h static inline u32 rvt_get_swqe_remote_qpn(struct rvt_swqe *swqe) swqe 249 include/rdma/rdmavt_qp.h return swqe->ud_wr.wr.remote_qpn; swqe 257 include/rdma/rdmavt_qp.h static inline u32 rvt_get_swqe_remote_qkey(struct rvt_swqe *swqe) swqe 259 include/rdma/rdmavt_qp.h return swqe->ud_wr.wr.remote_qkey; swqe 267 include/rdma/rdmavt_qp.h static inline u16 rvt_get_swqe_pkey_index(struct rvt_swqe *swqe) swqe 269 include/rdma/rdmavt_qp.h return swqe->ud_wr.wr.pkey_index;