Home
last modified time | relevance | path

Searched refs:wr_id (Results 1 – 25 of 63) 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.h95 __field(u64, wr_id)
116 __entry->wr_id = wqe->wr.wr_id;
137 __entry->wr_id,
163 __field(u64, wr_id)
175 __entry->wr_id = wqe->wr.wr_id;
191 __entry->wr_id,
Dtrace_cq.h116 __field(u64, wr_id)
127 __entry->wr_id = wc->wr_id;
140 __entry->wr_id,
Dsrq.c243 p->wr_id = wqe->wr_id; in rvt_modify_srq()
Dqp.c1340 wc.wr_id = qp->r_wr_id; in rvt_error_qp()
1369 wc.wr_id = rvt_get_rwqe_ptr(&qp->r_rq, tail)->wr_id; in rvt_error_qp()
1843 wc.wr_id = wr->wr_id; in rvt_post_recv()
1848 wqe->wr_id = wr->wr_id; in rvt_post_recv()
2254 wqe->wr_id = wr->wr_id; in rvt_post_srq_recv()
2326 wc.wr_id = wqe->wr_id; in init_sge()
2458 qp->r_wr_id = wqe->wr_id; in rvt_get_rwqe()
3160 wc.wr_id = qp->r_wr_id; in rvt_ruc_loopback()
/drivers/infiniband/hw/mlx5/
Dgsi.c101 u64 wr_id; in handle_single_completion() local
106 wr_id = wr->wc.wr_id; in handle_single_completion()
108 wr->wc.wr_id = wr_id; in handle_single_completion()
432 gsi_wr->wc.wr_id = wr->wr.wr_id; in mlx5_ib_add_outstanding_wr()
449 { .wr_id = wr->wr.wr_id }, in mlx5_ib_gsi_silent_drop()
Dcq.c188 wc->wr_id = srq->wrid[wqe_ctr]; in handle_responder()
195 wc->wr_id = wq->wrid[wq->tail & (wq->wqe_cnt - 1)]; in handle_responder()
386 wc->wr_id = wq->wrid[wq->tail & (wq->wqe_cnt - 1)]; in sw_comp()
479 wc->wr_id = wq->wrid[idx]; in mlx5_poll_one()
505 wc->wr_id = wq->wrid[idx]; in mlx5_poll_one()
513 wc->wr_id = srq->wrid[wqe_ctr]; in mlx5_poll_one()
517 wc->wr_id = wq->wrid[wq->tail & (wq->wqe_cnt - 1)]; in mlx5_poll_one()
/drivers/infiniband/hw/i40iw/
Di40iw_uk.c138 u64 wr_id in i40iw_qp_get_next_send_wqe() argument
193 qp->sq_wrtrk_array[*wqe_idx].wrid = wr_id; in i40iw_qp_get_next_send_wqe()
274 wqe = i40iw_qp_get_next_send_wqe(qp, &wqe_idx, wqe_size, total_size, info->wr_id); in i40iw_rdma_write()
331 wqe = i40iw_qp_get_next_send_wqe(qp, &wqe_idx, wqe_size, op_info->lo_addr.len, info->wr_id); in i40iw_rdma_read()
385 wqe = i40iw_qp_get_next_send_wqe(qp, &wqe_idx, wqe_size, total_size, info->wr_id); in i40iw_send()
444 wqe = i40iw_qp_get_next_send_wqe(qp, &wqe_idx, wqe_size, op_info->len, info->wr_id); in i40iw_inline_rdma_write()
520 wqe = i40iw_qp_get_next_send_wqe(qp, &wqe_idx, wqe_size, op_info->len, info->wr_id); in i40iw_inline_send()
582 wqe = i40iw_qp_get_next_send_wqe(qp, &wqe_idx, I40IW_QP_WQE_MIN_SIZE, 0, info->wr_id); in i40iw_stag_local_invalidate()
624 wqe = i40iw_qp_get_next_send_wqe(qp, &wqe_idx, I40IW_QP_WQE_MIN_SIZE, 0, info->wr_id); in i40iw_mw_bind()
673 qp->rq_wrid_array[wqe_idx] = info->wr_id; in i40iw_post_receive()
[all …]
Di40iw_user.h238 u64 wr_id; member
258 u64 wr_id; member
264 u64 wr_id; member
410 u64 wr_id
421 enum i40iw_status_code i40iw_nop(struct i40iw_qp_uk *qp, u64 wr_id,
/drivers/infiniband/hw/bnxt_re/
Dqplib_fp.c696 srqe->wr_id[0] = cpu_to_le32((u32)next); in bnxt_qplib_post_srq_recv()
697 srq->swq[next].wr_id = wqe->wr_id; in bnxt_qplib_post_srq_recv()
1555 swq->wr_id = wqe->wr_id; in bnxt_qplib_post_send()
1780 swq->wr_id = wqe->wr_id; in bnxt_qplib_post_send()
1846 rq->swq[sw_prod].wr_id = wqe->wr_id; in bnxt_qplib_post_recv()
1871 rqe->wr_id[0] = cpu_to_le32(sw_prod); in bnxt_qplib_post_recv()
1877 rq->swq[sw_prod].wr_id = wqe->wr_id; in bnxt_qplib_post_recv()
2031 if (sq->swq[sw_cons].wr_id == BNXT_QPLIB_FENCE_WRID) { in __flush_sq()
2039 cqe->wr_id = sq->swq[sw_cons].wr_id; in __flush_sq()
2088 cqe->wr_id = rq->swq[sw_cons].wr_id; in __flush_rq()
[all …]
Dib_verbs.c413 wqe->wr_id = BNXT_QPLIB_FENCE_WRID; in bnxt_re_create_fence_wqe()
1488 wqe.wr_id = wr->wr_id; in bnxt_re_post_srq_recv()
2043 sqp_entry->wrid = wqe->wr_id; in bnxt_re_build_qp1_shadow_qp_recv()
2045 wqe->wr_id = rq_prod_index; in bnxt_re_build_qp1_shadow_qp_recv()
2302 wqe.wr_id = wr->wr_id; in bnxt_re_post_send_shadow_qp()
2351 wqe.wr_id = wr->wr_id; in bnxt_re_post_send()
2443 wqe.wr_id = wr->wr_id; in bnxt_re_post_recv_shadow_qp()
2483 wqe.wr_id = wr->wr_id; in bnxt_re_post_recv()
2877 tbl_idx = cqe->wr_id; in bnxt_re_process_raw_qp_pkt_rx()
2942 rwr.wr_id = tbl_idx; in bnxt_re_process_raw_qp_pkt_rx()
[all …]
Dqplib_fp.h101 u64 wr_id; member
114 u64 wr_id; member
351 u64 wr_id; member
/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.c716 swsqe->wr_id = wr->wr_id; in post_write_cmpl()
740 swsqe->wr_id = wr->next->wr_id; in post_write_cmpl()
994 cqe.u.drain_cookie = wr->wr_id; in complete_sq_drain_wr()
1045 cqe.u.drain_cookie = wr->wr_id; in complete_rq_drain_wr()
1233 swsqe->wr_id = wr->wr_id; in c4iw_post_send()
1243 (unsigned long long)wr->wr_id, qhp->wq.sq.pidx, in c4iw_post_send()
1307 qhp->wq.rq.sw_rq[qhp->wq.rq.pidx].wr_id = wr->wr_id; in c4iw_post_receive()
1324 (unsigned long long)wr->wr_id, qhp->wq.rq.pidx); in c4iw_post_receive()
1341 u64 wr_id, u8 len16) in defer_srq_wr() argument
1348 (unsigned long long)wr_id, srq->pending_cidx, in defer_srq_wr()
[all …]
/drivers/infiniband/hw/mlx4/
Dmad.c645 wr.wr.wr_id = ((u64) tun_tx_ix) | MLX4_TUN_SET_WRID_QPN(dest_qpt); in mlx4_ib_send_to_slave()
1329 recv_wr.wr_id = (u64) index | MLX4_TUN_WRID_RECV | in mlx4_ib_post_pv_qp_buf()
1445 wr.wr.wr_id = ((u64) wire_tx_ix) | MLX4_TUN_SET_WRID_QPN(src_qpnum); in mlx4_ib_send_to_wire()
1484 struct mlx4_ib_demux_pv_qp *tun_qp = &ctx->qp[MLX4_TUN_WRID_QPN(wc->wr_id)]; in mlx4_ib_multiplex_mad()
1485 int wr_ix = wc->wr_id & (MLX4_NUM_TUNNEL_BUFS - 1); in mlx4_ib_multiplex_mad()
1742 tun_qp = &ctx->qp[MLX4_TUN_WRID_QPN(wc.wr_id)]; in mlx4_ib_tunnel_comp_worker()
1748 wc.wr_id & in mlx4_ib_tunnel_comp_worker()
1752 "buf:%lld\n", wc.wr_id); in mlx4_ib_tunnel_comp_worker()
1757 wc.wr_id, wc.status); in mlx4_ib_tunnel_comp_worker()
1758 rdma_destroy_ah(tun_qp->tx_ring[wc.wr_id & in mlx4_ib_tunnel_comp_worker()
[all …]
Dcq.c626 wc->wr_id = wq->wrid[wq->tail & (wq->wqe_cnt - 1)]; in mlx4_ib_qp_sw_comp()
742 wc->wr_id = wq->wrid[wq->tail & (wq->wqe_cnt - 1)]; in mlx4_ib_poll_one()
747 wc->wr_id = srq->wrid[wqe_ctr]; in mlx4_ib_poll_one()
752 wc->wr_id = srq->wrid[wqe_ctr]; in mlx4_ib_poll_one()
757 wc->wr_id = wq->wrid[tail]; in mlx4_ib_poll_one()
/drivers/infiniband/hw/qedr/
Dqedr_roce_cm.c586 qp->wqe_wr_id[qp->sq.prod].wr_id = wr->wr_id; in qedr_gsi_post_send()
590 wr->opcode, in_irq(), irqs_disabled(), wr->wr_id); in qedr_gsi_post_send()
656 qp->rqe_wr_id[qp->rq.prod].wr_id = wr->wr_id; in qedr_gsi_post_recv()
687 wc[i].wr_id = qp->rqe_wr_id[qp->rq.cons].wr_id; in qedr_gsi_poll_cq()
715 wc[i].wr_id = qp->wqe_wr_id[qp->sq.cons].wr_id; in qedr_gsi_poll_cq()
Dverbs.c2985 DMA_REGPAIR_LE(hdr->wr_id, vwr_id); \
3409 qp->wqe_wr_id[qp->sq.prod].wr_id = wr->wr_id; in qedr_post_send()
3485 SRQ_HDR_SET(hdr, wr->wr_id, num_sge); in qedr_post_srq_recv()
3493 wr->num_sge, hw_srq->wqe_prod, wr->wr_id); in qedr_post_srq_recv()
3606 qp->rqe_wr_id[qp->rq.prod].wr_id = wr->wr_id; in qedr_post_recv()
3702 wc->wr_id = qp->wqe_wr_id[qp->sq.cons].wr_id; in process_req()
3895 struct rdma_cqe_responder *resp, u64 wr_id) in __process_resp_one() argument
3919 wc->wr_id = wr_id; in __process_resp_one()
3927 u64 wr_id; in process_resp_one_srq() local
3929 wr_id = HILO_GEN(le32_to_cpu(resp->srq_wr_id.hi), in process_resp_one_srq()
[all …]
/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/hw/cxgb3/
Diwch_qp.c282 qhp->wq.rq_size_log2)].wr_id = wr->wr_id; in build_rdma_recv()
345 qhp->wq.rq_size_log2)].wr_id = wr->wr_id; in build_zero_stag_recv()
437 sqp->wr_id = wr->wr_id; in iwch_post_send()
448 __func__, (unsigned long long)wr->wr_id, idx, in iwch_post_send()
512 __func__, (unsigned long long)wr->wr_id, in iwch_post_receive()
/drivers/infiniband/sw/rxe/
Drxe_comp.c410 wc->wr_id = wqe->wr.wr_id; in make_send_cqe()
421 uwc->wr_id = wqe->wr.wr_id; in make_send_cqe()
/drivers/infiniband/sw/siw/
Dsiw_cq.c58 wc->wr_id = cqe->id; in siw_reap_cqe()

123