Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/ibm/ehea/
Dehea_main.c768 struct ehea_swqe *swqe; in check_sqs() local
775 swqe = ehea_get_swqe(pr->qp, &swqe_index); in check_sqs()
776 memset(swqe, 0, SWQE_HEADER_SIZE); in check_sqs()
779 swqe->tx_control |= EHEA_SWQE_PURGE; in check_sqs()
780 swqe->wr_id = SWQE_RESTART_CHECK; in check_sqs()
781 swqe->tx_control |= EHEA_SWQE_SIGNALLED_COMPLETION; in check_sqs()
782 swqe->tx_control |= EHEA_SWQE_IMM_DATA_PRESENT; in check_sqs()
783 swqe->immediate_data_length = 80; in check_sqs()
785 ehea_post_swqe(pr->qp, swqe); in check_sqs()
1603 static void write_swqe2_immediate(struct sk_buff *skb, struct ehea_swqe *swqe, in write_swqe2_immediate() argument
[all …]
Dehea_qmr.h319 static inline void ehea_post_swqe(struct ehea_qp *my_qp, struct ehea_swqe *swqe) in ehea_post_swqe() argument
/linux-6.1.9/drivers/infiniband/hw/qib/
Dqib_ud.c51 static void qib_ud_loopback(struct rvt_qp *sqp, struct rvt_swqe *swqe) in qib_ud_loopback() argument
67 qp = rvt_lookup_qpn(rdi, &ibp->rvp, rvt_get_swqe_remote_qpn(swqe)); in qib_ud_loopback()
84 ah_attr = rvt_get_swqe_ah_attr(swqe); in qib_ud_loopback()
114 qkey = (int)rvt_get_swqe_remote_qkey(swqe) < 0 ? in qib_ud_loopback()
115 sqp->qkey : rvt_get_swqe_remote_qkey(swqe); in qib_ud_loopback()
124 length = swqe->length; in qib_ud_loopback()
128 if (swqe->wr.opcode == IB_WR_SEND_WITH_IMM) { in qib_ud_loopback()
130 wc.ex.imm_data = swqe->wr.ex.imm_data; in qib_ud_loopback()
171 ssge.sg_list = swqe->sg_list + 1; in qib_ud_loopback()
172 ssge.sge = *swqe->sg_list; in qib_ud_loopback()
[all …]
/linux-6.1.9/include/rdma/
Drdmavt_qp.h212 static inline struct rvt_ah *rvt_get_swqe_ah(struct rvt_swqe *swqe) in rvt_get_swqe_ah() argument
214 return ibah_to_rvtah(swqe->ud_wr.wr.ah); in rvt_get_swqe_ah()
222 static inline struct rdma_ah_attr *rvt_get_swqe_ah_attr(struct rvt_swqe *swqe) in rvt_get_swqe_ah_attr() argument
224 return swqe->ud_wr.attr; in rvt_get_swqe_ah_attr()
232 static inline u32 rvt_get_swqe_remote_qpn(struct rvt_swqe *swqe) in rvt_get_swqe_remote_qpn() argument
234 return swqe->ud_wr.wr.remote_qpn; in rvt_get_swqe_remote_qpn()
242 static inline u32 rvt_get_swqe_remote_qkey(struct rvt_swqe *swqe) in rvt_get_swqe_remote_qkey() argument
244 return swqe->ud_wr.wr.remote_qkey; in rvt_get_swqe_remote_qkey()
252 static inline u16 rvt_get_swqe_pkey_index(struct rvt_swqe *swqe) in rvt_get_swqe_pkey_index() argument
254 return swqe->ud_wr.wr.pkey_index; in rvt_get_swqe_pkey_index()
/linux-6.1.9/drivers/infiniband/hw/hfi1/
Dud.c31 static void ud_loopback(struct rvt_qp *sqp, struct rvt_swqe *swqe) in ud_loopback() argument
48 rvt_get_swqe_remote_qpn(swqe)); in ud_loopback()
66 ah_attr = rvt_get_swqe_ah_attr(swqe); in ud_loopback()
96 qkey = (int)rvt_get_swqe_remote_qkey(swqe) < 0 ? in ud_loopback()
97 sqp->qkey : rvt_get_swqe_remote_qkey(swqe); in ud_loopback()
106 length = swqe->length; in ud_loopback()
110 if (swqe->wr.opcode == IB_WR_SEND_WITH_IMM) { in ud_loopback()
112 wc.ex.imm_data = swqe->wr.ex.imm_data; in ud_loopback()
178 ssge.sg_list = swqe->sg_list + 1; in ud_loopback()
179 ssge.sge = *swqe->sg_list; in ud_loopback()
[all …]
Dtid_rdma.h101 struct rvt_swqe *swqe; member
Dtid_rdma.c386 priv->tid_req.e.swqe = wqe; in hfi1_qp_priv_init()
2501 len = restart_sge(&ss, req->e.swqe, ipsn, pmtu); in hfi1_rc_rcv_tid_rdma_read_resp()
2528 trace_hfi1_tid_req_rcv_read_resp(qp, 0, req->e.swqe->wr.opcode, in hfi1_rc_rcv_tid_rdma_read_resp()
2529 req->e.swqe->psn, req->e.swqe->lpsn, in hfi1_rc_rcv_tid_rdma_read_resp()
/linux-6.1.9/drivers/infiniband/hw/qedr/
Dverbs.c3412 struct rdma_sq_send_wqe_1st *swqe, in qedr_prepare_sq_send_data() argument
3422 return qedr_prepare_sq_inline_data(dev, qp, &swqe->wqe_size, wr, in qedr_prepare_sq_send_data()
3423 bad_wr, &swqe->flags, flags); in qedr_prepare_sq_send_data()
3426 return qedr_prepare_sq_sges(qp, &swqe->wqe_size, wr); in qedr_prepare_sq_send_data()
3542 struct rdma_sq_send_wqe_1st *swqe; in __qedr_post_send() local
3578 swqe = (struct rdma_sq_send_wqe_1st *)wqe; in __qedr_post_send()
3579 swqe->wqe_size = 2; in __qedr_post_send()
3582 swqe->inv_key_or_imm_data = cpu_to_le32(be32_to_cpu(wr->ex.imm_data)); in __qedr_post_send()
3583 length = qedr_prepare_sq_send_data(dev, qp, swqe, swqe2, in __qedr_post_send()
3585 swqe->length = cpu_to_le32(length); in __qedr_post_send()
[all …]