Home
last modified time | relevance | path

Searched refs:wr_id (Results 1 – 25 of 61) sorted by relevance

123

/drivers/infiniband/ulp/ipoib/
Dipoib_ib.c106 priv->rx_wr.wr_id = id | IPOIB_OP_RECV; in ipoib_ib_post_receive()
176 unsigned int wr_id = wc->wr_id & ~IPOIB_OP_RECV; in ipoib_ib_handle_rx_wc() local
183 wr_id, wc->status); in ipoib_ib_handle_rx_wc()
185 if (unlikely(wr_id >= ipoib_recvq_size)) { in ipoib_ib_handle_rx_wc()
187 wr_id, ipoib_recvq_size); in ipoib_ib_handle_rx_wc()
191 skb = priv->rx_ring[wr_id].skb; in ipoib_ib_handle_rx_wc()
197 wc->status, wr_id, wc->vendor_err); in ipoib_ib_handle_rx_wc()
198 ipoib_ud_dma_unmap_rx(priv, priv->rx_ring[wr_id].mapping); in ipoib_ib_handle_rx_wc()
200 priv->rx_ring[wr_id].skb = NULL; in ipoib_ib_handle_rx_wc()
204 memcpy(mapping, priv->rx_ring[wr_id].mapping, in ipoib_ib_handle_rx_wc()
[all …]
Dipoib_cm.c99 priv->cm.rx_wr.wr_id = id | IPOIB_OP_CM | IPOIB_OP_RECV; in ipoib_cm_post_receive_srq()
124 wr->wr_id = id | IPOIB_OP_CM | IPOIB_OP_RECV; in ipoib_cm_post_receive_nonsrq()
226 ipoib_cm_rx_drain_wr.wr_id = IPOIB_CM_RX_DRAIN_WRID; in ipoib_cm_start_rx_drain()
564 unsigned int wr_id = wc->wr_id & ~(IPOIB_OP_CM | IPOIB_OP_RECV); in ipoib_cm_handle_rx_wc() local
574 wr_id, wc->status); in ipoib_cm_handle_rx_wc()
576 if (unlikely(wr_id >= ipoib_recvq_size)) { in ipoib_cm_handle_rx_wc()
577 if (wr_id == (IPOIB_CM_RX_DRAIN_WRID & ~(IPOIB_OP_CM | IPOIB_OP_RECV))) { in ipoib_cm_handle_rx_wc()
585 wr_id, ipoib_recvq_size); in ipoib_cm_handle_rx_wc()
594 skb = rx_ring[wr_id].skb; in ipoib_cm_handle_rx_wc()
599 wc->status, wr_id, wc->vendor_err); in ipoib_cm_handle_rx_wc()
[all …]
/drivers/infiniband/sw/rdmavt/
Dtrace_tx.h53 __field(u64, wr_id)
74 __entry->wr_id = wqe->wr.wr_id;
95 __entry->wr_id,
121 __field(u64, wr_id)
133 __entry->wr_id = wqe->wr.wr_id;
149 __entry->wr_id,
Dtrace_cq.h74 __field(u64, wr_id)
85 __entry->wr_id = wc->wr_id;
98 __entry->wr_id,
Dsrq.c201 p->wr_id = wqe->wr_id; in rvt_modify_srq()
Dqp.c1320 wc.wr_id = qp->r_wr_id; in rvt_error_qp()
1349 wc.wr_id = rvt_get_rwqe_ptr(&qp->r_rq, tail)->wr_id; in rvt_error_qp()
1821 wc.wr_id = wr->wr_id; in rvt_post_recv()
1826 wqe->wr_id = wr->wr_id; in rvt_post_recv()
2233 wqe->wr_id = wr->wr_id; in rvt_post_srq_recv()
2305 wc.wr_id = wqe->wr_id; in init_sge()
2412 qp->r_wr_id = wqe->wr_id; in rvt_get_rwqe()
3118 wc.wr_id = qp->r_wr_id; in rvt_ruc_loopback()
/drivers/infiniband/hw/mlx5/
Dgsi.c74 u64 wr_id; in handle_single_completion() local
79 wr_id = wr->wc.wr_id; in handle_single_completion()
81 wr->wc.wr_id = wr_id; in handle_single_completion()
378 gsi_wr->wc.wr_id = wr->wr.wr_id; in mlx5_ib_add_outstanding_wr()
394 { .wr_id = wr->wr.wr_id }, in mlx5_ib_gsi_silent_drop()
Dmem.c104 static int post_send_nop(struct mlx5_ib_dev *dev, struct ib_qp *ibqp, u64 wr_id, in post_send_nop() argument
130 qp->sq.wrid[idx] = wr_id; in post_send_nop()
181 if (wc.wr_id != WR_ID_BF) in test_wc_poll_cq_result()
Dcq.c190 wc->wr_id = srq->wrid[wqe_ctr]; in handle_responder()
197 wc->wr_id = wq->wrid[wq->tail & (wq->wqe_cnt - 1)]; in handle_responder()
408 wc->wr_id = wq->wrid[idx]; in sw_comp()
501 wc->wr_id = wq->wrid[idx]; in mlx5_poll_one()
527 wc->wr_id = wq->wrid[idx]; in mlx5_poll_one()
535 wc->wr_id = srq->wrid[wqe_ctr]; in mlx5_poll_one()
539 wc->wr_id = wq->wrid[wq->tail & (wq->wqe_cnt - 1)]; in mlx5_poll_one()
Dwr.c983 unsigned int idx, u64 wr_id, int nreq, u8 fence, in finish_wqe() argument
995 qp->sq.wrid[idx] = wr_id; in finish_wqe()
1060 finish_wqe(qp, *ctrl, *seg, *size, *cur_edge, *idx, wr->wr_id, nreq, in handle_psv()
1101 finish_wqe(qp, *ctrl, *seg, *size, *cur_edge, *idx, wr->wr_id, in handle_reg_mr_integrity()
1133 finish_wqe(qp, *ctrl, *seg, *size, *cur_edge, *idx, wr->wr_id, nreq, in handle_reg_mr_integrity()
1421 finish_wqe(qp, ctrl, seg, size, cur_edge, idx, wr->wr_id, nreq, in mlx5_ib_post_send()
1519 qp->rq.wrid[ind] = wr->wr_id; in mlx5_ib_post_recv()
/drivers/infiniband/hw/cxgb4/
Dcq.c469 srq->sw_rq[srq->pidx].wr_id = pwr->wr_id; in post_pending_srq_wrs()
476 (unsigned long long)pwr->wr_id); in post_pending_srq_wrs()
494 u64 wr_id; in reap_srq_cqe() local
497 wr_id = srq->sw_rq[rel_idx].wr_id; in reap_srq_cqe()
503 (unsigned long long)srq->sw_rq[rel_idx].wr_id); in reap_srq_cqe()
511 srq->sw_rq[srq->cidx].wr_id); in reap_srq_cqe()
522 (unsigned long long)srq->sw_rq[rel_idx].wr_id); in reap_srq_cqe()
525 return wr_id; in reap_srq_cqe()
717 *cookie = wq->sq.sw_sq[wq->sq.cidx].wr_id; in poll_cq()
724 *cookie = wq->rq.sw_rq[wq->rq.cidx].wr_id; in poll_cq()
[all …]
Dqp.c717 swsqe->wr_id = wr->wr_id; in post_write_cmpl()
741 swsqe->wr_id = wr->next->wr_id; in post_write_cmpl()
995 cqe.u.drain_cookie = wr->wr_id; in complete_sq_drain_wr()
1046 cqe.u.drain_cookie = wr->wr_id; in complete_rq_drain_wr()
1234 swsqe->wr_id = wr->wr_id; in c4iw_post_send()
1244 (unsigned long long)wr->wr_id, qhp->wq.sq.pidx, in c4iw_post_send()
1308 qhp->wq.rq.sw_rq[qhp->wq.rq.pidx].wr_id = wr->wr_id; in c4iw_post_receive()
1325 (unsigned long long)wr->wr_id, qhp->wq.rq.pidx); in c4iw_post_receive()
1342 u64 wr_id, u8 len16) in defer_srq_wr() argument
1349 (unsigned long long)wr_id, srq->pending_cidx, in defer_srq_wr()
[all …]
/drivers/infiniband/hw/bnxt_re/
Dqplib_fp.c791 srqe->wr_id[0] = cpu_to_le32((u32)next); in bnxt_qplib_post_srq_recv()
792 srq->swq[next].wr_id = wqe->wr_id; in bnxt_qplib_post_srq_recv()
1769 swq->wr_id = wqe->wr_id; in bnxt_qplib_post_send()
2010 swq->wr_id = wqe->wr_id; in bnxt_qplib_post_recv()
2038 base_hdr->wr_id[0] = cpu_to_le32(wqe_idx); in bnxt_qplib_post_recv()
2166 if (sq->swq[last].wr_id == BNXT_QPLIB_FENCE_WRID) { in __flush_sq()
2174 cqe->wr_id = sq->swq[last].wr_id; in __flush_sq()
2224 cqe->wr_id = rq->swq[last].wr_id; in __flush_rq()
2319 sq->swq[peek_sq_cons_idx].wr_id == in do_wa9060()
2393 cqe->wr_id = swq->wr_id; in bnxt_qplib_cq_process_req()
[all …]
Dib_verbs.c396 wqe->wr_id = BNXT_QPLIB_FENCE_WRID; in bnxt_re_create_fence_wqe()
1767 wqe.wr_id = wr->wr_id; in bnxt_re_post_srq_recv()
2327 sqp_entry->wrid = wqe->wr_id; in bnxt_re_build_qp1_shadow_qp_recv()
2329 wqe->wr_id = rq_prod_index; in bnxt_re_build_qp1_shadow_qp_recv()
2583 wqe.wr_id = wr->wr_id; in bnxt_re_post_send_shadow_qp()
2632 wqe.wr_id = wr->wr_id; in bnxt_re_post_send()
2724 wqe.wr_id = wr->wr_id; in bnxt_re_post_recv_shadow_qp()
2764 wqe.wr_id = wr->wr_id; in bnxt_re_post_recv()
3163 tbl_idx = cqe->wr_id; in bnxt_re_process_raw_qp_pkt_rx()
3228 rwr.wr_id = tbl_idx; in bnxt_re_process_raw_qp_pkt_rx()
[all …]
Dqplib_fp.h118 u64 wr_id; member
133 u64 wr_id; member
375 u64 wr_id; member
/drivers/infiniband/hw/irdma/
Duser.h192 u64 wr_id; member
231 u64 wr_id; member
257 u64 wr_id; member
290 enum irdma_status_code irdma_uk_post_nop(struct irdma_qp_uk *qp, u64 wr_id,
427 enum irdma_status_code irdma_nop(struct irdma_qp_uk *qp, u64 wr_id,
Duk.c235 qp->sq_wrtrk_array[*wqe_idx].wrid = info->wr_id; in irdma_qp_get_next_send_wqe()
949 qp->rq_wrid_array[wqe_idx] = info->wr_id; in irdma_uk_post_receive()
1194 info->wr_id = qp->rq_wrid_array[qp->rq_ring.tail]; in irdma_uk_cq_poll_cmpl()
1197 info->wr_id = qp->rq_wrid_array[array_idx]; in irdma_uk_cq_poll_cmpl()
1242 info->wr_id = qp->sq_wrtrk_array[wqe_idx].wrid; in irdma_uk_cq_poll_cmpl()
1268 info->wr_id = qp->sq_wrtrk_array[tail].wrid; in irdma_uk_cq_poll_cmpl()
1572 enum irdma_status_code irdma_nop(struct irdma_qp_uk *qp, u64 wr_id, in irdma_nop() argument
1581 info.wr_id = wr_id; in irdma_nop()
/drivers/infiniband/hw/qedr/
Dqedr_roce_cm.c585 qp->wqe_wr_id[qp->sq.prod].wr_id = wr->wr_id; in qedr_gsi_post_send()
589 wr->wr_id); in qedr_gsi_post_send()
655 qp->rqe_wr_id[qp->rq.prod].wr_id = wr->wr_id; in qedr_gsi_post_recv()
686 wc[i].wr_id = qp->rqe_wr_id[qp->rq.cons].wr_id; in qedr_gsi_poll_cq()
714 wc[i].wr_id = qp->wqe_wr_id[qp->sq.cons].wr_id; in qedr_gsi_poll_cq()
Dverbs.c3373 DMA_REGPAIR_LE(hdr->wr_id, vwr_id); \
3797 qp->wqe_wr_id[qp->sq.prod].wr_id = wr->wr_id; in qedr_post_send()
3873 SRQ_HDR_SET(hdr, wr->wr_id, num_sge); in qedr_post_srq_recv()
3881 wr->num_sge, hw_srq->wqe_prod, wr->wr_id); in qedr_post_srq_recv()
3986 qp->rqe_wr_id[qp->rq.prod].wr_id = wr->wr_id; in qedr_post_recv()
4082 wc->wr_id = qp->wqe_wr_id[qp->sq.cons].wr_id; in process_req()
4275 struct rdma_cqe_responder *resp, u64 wr_id) in __process_resp_one() argument
4299 wc->wr_id = wr_id; in __process_resp_one()
4307 u64 wr_id; in process_resp_one_srq() local
4309 wr_id = HILO_GEN(le32_to_cpu(resp->srq_wr_id.hi), in process_resp_one_srq()
[all …]
/drivers/infiniband/hw/mlx4/
Dmad.c663 wr.wr.wr_id = ((u64) tun_tx_ix) | MLX4_TUN_SET_WRID_QPN(dest_qpt); in mlx4_ib_send_to_slave()
1333 recv_wr.wr_id = (u64) index | MLX4_TUN_WRID_RECV | in mlx4_ib_post_pv_qp_buf()
1441 wr.wr.wr_id = ((u64) wire_tx_ix) | MLX4_TUN_SET_WRID_QPN(src_qpnum); in mlx4_ib_send_to_wire()
1480 struct mlx4_ib_demux_pv_qp *tun_qp = &ctx->qp[MLX4_TUN_WRID_QPN(wc->wr_id)]; in mlx4_ib_multiplex_mad()
1481 int wr_ix = wc->wr_id & (MLX4_NUM_TUNNEL_BUFS - 1); in mlx4_ib_multiplex_mad()
1746 tun_qp = &ctx->qp[MLX4_TUN_WRID_QPN(wc.wr_id)]; in mlx4_ib_tunnel_comp_worker()
1752 wc.wr_id & in mlx4_ib_tunnel_comp_worker()
1756 "buf:%lld\n", wc.wr_id); in mlx4_ib_tunnel_comp_worker()
1759 rdma_destroy_ah(tun_qp->tx_ring[wc.wr_id & in mlx4_ib_tunnel_comp_worker()
1761 tun_qp->tx_ring[wc.wr_id & (MLX4_NUM_TUNNEL_BUFS - 1)].ah in mlx4_ib_tunnel_comp_worker()
[all …]
Dcq.c621 wc->wr_id = wq->wrid[wq->tail & (wq->wqe_cnt - 1)]; in mlx4_ib_qp_sw_comp()
737 wc->wr_id = wq->wrid[wq->tail & (wq->wqe_cnt - 1)]; in mlx4_ib_poll_one()
742 wc->wr_id = srq->wrid[wqe_ctr]; in mlx4_ib_poll_one()
747 wc->wr_id = srq->wrid[wqe_ctr]; in mlx4_ib_poll_one()
752 wc->wr_id = wq->wrid[tail]; in mlx4_ib_poll_one()
/drivers/net/ethernet/ibm/ehea/
Dehea_qmr.h87 u64 wr_id; member
126 u64 wr_id; /* work request ID */ member
149 u64 wr_id; /* work request ID from WQE */ member
/drivers/net/ethernet/cisco/enic/
Dvnic_rq.h76 uint64_t wr_id; member
130 buf->wr_id = wrid; in vnic_rq_post()
Dvnic_wq.h61 uint64_t wr_id; /* Cookie */ member
146 buf->wr_id = wrid; in vnic_wq_post()
/drivers/infiniband/sw/rxe/
Drxe_comp.c388 wc->wr_id = wqe->wr.wr_id; in make_send_cqe()
399 uwc->wr_id = wqe->wr.wr_id; in make_send_cqe()

123