Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/net/ethernet/ibm/ehea/
Dehea_main.c780 struct ehea_swqe *swqe; in check_sqs() local
788 swqe = ehea_get_swqe(pr->qp, &swqe_index); in check_sqs()
789 memset(swqe, 0, SWQE_HEADER_SIZE); in check_sqs()
792 swqe->tx_control |= EHEA_SWQE_PURGE; in check_sqs()
793 swqe->wr_id = SWQE_RESTART_CHECK; in check_sqs()
794 swqe->tx_control |= EHEA_SWQE_SIGNALLED_COMPLETION; in check_sqs()
795 swqe->tx_control |= EHEA_SWQE_IMM_DATA_PRESENT; in check_sqs()
796 swqe->immediate_data_length = 80; in check_sqs()
798 ehea_post_swqe(pr->qp, swqe); in check_sqs()
1632 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-4.4.14/drivers/infiniband/hw/qib/
Dqib_ud.c49 static void qib_ud_loopback(struct qib_qp *sqp, struct qib_swqe *swqe) in qib_ud_loopback() argument
62 qp = qib_lookup_qpn(ibp, swqe->ud_wr.remote_qpn); in qib_ud_loopback()
79 ah_attr = &to_iah(swqe->ud_wr.ah)->attr; in qib_ud_loopback()
109 qkey = (int)swqe->ud_wr.remote_qkey < 0 ? in qib_ud_loopback()
110 sqp->qkey : swqe->ud_wr.remote_qkey; in qib_ud_loopback()
129 length = swqe->length; in qib_ud_loopback()
133 if (swqe->wr.opcode == IB_WR_SEND_WITH_IMM) { in qib_ud_loopback()
135 wc.ex.imm_data = swqe->wr.ex.imm_data; in qib_ud_loopback()
172 ssge.sg_list = swqe->sg_list + 1; in qib_ud_loopback()
173 ssge.sge = *swqe->sg_list; in qib_ud_loopback()
[all …]
/linux-4.4.14/drivers/staging/rdma/ipath/
Dipath_ud.c49 static void ipath_ud_loopback(struct ipath_qp *sqp, struct ipath_swqe *swqe) in ipath_ud_loopback() argument
67 qp = ipath_lookup_qpn(&dev->qp_table, swqe->ud_wr.remote_qpn); in ipath_ud_loopback()
79 ((int) swqe->ud_wr.remote_qkey < 0 ? in ipath_ud_loopback()
80 sqp->qkey : swqe->ud_wr.remote_qkey) != qp->qkey)) { in ipath_ud_loopback()
91 length = swqe->length; in ipath_ud_loopback()
95 if (swqe->wr.opcode == IB_WR_SEND_WITH_IMM) { in ipath_ud_loopback()
97 wc.ex.imm_data = swqe->wr.ex.imm_data; in ipath_ud_loopback()
177 ah_attr = &to_iah(swqe->ud_wr.ah)->attr; in ipath_ud_loopback()
183 sge = swqe->sg_list; in ipath_ud_loopback()
197 if (--swqe->wr.num_sge) in ipath_ud_loopback()
[all …]
/linux-4.4.14/drivers/staging/rdma/hfi1/
Dud.c68 static void ud_loopback(struct hfi1_qp *sqp, struct hfi1_swqe *swqe) in ud_loopback() argument
83 qp = hfi1_lookup_qpn(ibp, swqe->ud_wr.remote_qpn); in ud_loopback()
101 ah_attr = &to_iah(swqe->ud_wr.ah)->attr; in ud_loopback()
131 qkey = (int)swqe->ud_wr.remote_qkey < 0 ? in ud_loopback()
132 sqp->qkey : swqe->ud_wr.remote_qkey; in ud_loopback()
151 length = swqe->length; in ud_loopback()
155 if (swqe->wr.opcode == IB_WR_SEND_WITH_IMM) { in ud_loopback()
157 wc.ex.imm_data = swqe->wr.ex.imm_data; in ud_loopback()
194 ssge.sg_list = swqe->sg_list + 1; in ud_loopback()
195 ssge.sge = *swqe->sg_list; in ud_loopback()
[all …]