Home
last modified time | relevance | path

Searched refs:swqe (Results 1 – 5 of 5) sorted by relevance

/Linux-v4.19/drivers/net/ethernet/ibm/ehea/
Dehea_main.c779 struct ehea_swqe *swqe; in check_sqs() local
787 swqe = ehea_get_swqe(pr->qp, &swqe_index); in check_sqs()
788 memset(swqe, 0, SWQE_HEADER_SIZE); in check_sqs()
791 swqe->tx_control |= EHEA_SWQE_PURGE; in check_sqs()
792 swqe->wr_id = SWQE_RESTART_CHECK; in check_sqs()
793 swqe->tx_control |= EHEA_SWQE_SIGNALLED_COMPLETION; in check_sqs()
794 swqe->tx_control |= EHEA_SWQE_IMM_DATA_PRESENT; in check_sqs()
795 swqe->immediate_data_length = 80; in check_sqs()
797 ehea_post_swqe(pr->qp, swqe); in check_sqs()
1619 static void write_swqe2_immediate(struct sk_buff *skb, struct ehea_swqe *swqe, in write_swqe2_immediate() argument
[all …]
Dehea_qmr.h333 static inline void ehea_post_swqe(struct ehea_qp *my_qp, struct ehea_swqe *swqe) in ehea_post_swqe() argument
/Linux-v4.19/drivers/infiniband/hw/qib/
Dqib_ud.c50 static void qib_ud_loopback(struct rvt_qp *sqp, struct rvt_swqe *swqe) in qib_ud_loopback() argument
66 qp = rvt_lookup_qpn(rdi, &ibp->rvp, swqe->ud_wr.remote_qpn); in qib_ud_loopback()
83 ah_attr = &ibah_to_rvtah(swqe->ud_wr.ah)->attr; in qib_ud_loopback()
113 qkey = (int)swqe->ud_wr.remote_qkey < 0 ? in qib_ud_loopback()
114 sqp->qkey : swqe->ud_wr.remote_qkey; in qib_ud_loopback()
123 length = swqe->length; in qib_ud_loopback()
127 if (swqe->wr.opcode == IB_WR_SEND_WITH_IMM) { in qib_ud_loopback()
129 wc.ex.imm_data = swqe->wr.ex.imm_data; in qib_ud_loopback()
170 ssge.sg_list = swqe->sg_list + 1; in qib_ud_loopback()
171 ssge.sge = *swqe->sg_list; in qib_ud_loopback()
[all …]
/Linux-v4.19/drivers/infiniband/hw/hfi1/
Dud.c72 static void ud_loopback(struct rvt_qp *sqp, struct rvt_swqe *swqe) in ud_loopback() argument
89 swqe->ud_wr.remote_qpn); in ud_loopback()
107 ah_attr = &ibah_to_rvtah(swqe->ud_wr.ah)->attr; in ud_loopback()
137 qkey = (int)swqe->ud_wr.remote_qkey < 0 ? in ud_loopback()
138 sqp->qkey : swqe->ud_wr.remote_qkey; in ud_loopback()
147 length = swqe->length; in ud_loopback()
151 if (swqe->wr.opcode == IB_WR_SEND_WITH_IMM) { in ud_loopback()
153 wc.ex.imm_data = swqe->wr.ex.imm_data; in ud_loopback()
219 ssge.sg_list = swqe->sg_list + 1; in ud_loopback()
220 ssge.sge = *swqe->sg_list; in ud_loopback()
[all …]
/Linux-v4.19/drivers/infiniband/hw/qedr/
Dverbs.c3171 struct rdma_sq_send_wqe_1st *swqe, in qedr_prepare_sq_send_data() argument
3181 return qedr_prepare_sq_inline_data(dev, qp, &swqe->wqe_size, wr, in qedr_prepare_sq_send_data()
3182 bad_wr, &swqe->flags, flags); in qedr_prepare_sq_send_data()
3185 return qedr_prepare_sq_sges(qp, &swqe->wqe_size, wr); in qedr_prepare_sq_send_data()
3301 struct rdma_sq_send_wqe_1st *swqe; in __qedr_post_send() local
3337 swqe = (struct rdma_sq_send_wqe_1st *)wqe; in __qedr_post_send()
3338 swqe->wqe_size = 2; in __qedr_post_send()
3341 swqe->inv_key_or_imm_data = cpu_to_le32(be32_to_cpu(wr->ex.imm_data)); in __qedr_post_send()
3342 length = qedr_prepare_sq_send_data(dev, qp, swqe, swqe2, in __qedr_post_send()
3344 swqe->length = cpu_to_le32(length); in __qedr_post_send()
[all …]