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.c100 priv->cm.rx_wr.wr_id = id | IPOIB_OP_CM | IPOIB_OP_RECV; in ipoib_cm_post_receive_srq()
126 wr->wr_id = id | IPOIB_OP_CM | IPOIB_OP_RECV; in ipoib_cm_post_receive_nonsrq()
229 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_cq.h83 __field(u64, wr_id)
92 __entry->wr_id = wc->wr_id;
103 __entry->wr_id,
Dtrace_tx.h95 __field(u64, wr_id)
116 __entry->wr_id = wqe->wr.wr_id;
137 __entry->wr_id,
Dsrq.c252 p->wr_id = wqe->wr_id; in rvt_modify_srq()
Dqp.c1087 wc.wr_id = qp->r_wr_id; in rvt_error_qp()
1109 wc.wr_id = rvt_get_rwqe_ptr(&qp->r_rq, tail)->wr_id; in rvt_error_qp()
1581 wc.wr_id = wr->wr_id; in rvt_post_recv()
1586 wqe->wr_id = wr->wr_id; in rvt_post_recv()
1981 wqe->wr_id = wr->wr_id; in rvt_post_srq_recv()
/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.c191 wc->wr_id = srq->wrid[wqe_ctr]; in handle_responder()
198 wc->wr_id = wq->wrid[wq->tail & (wq->wqe_cnt - 1)]; in handle_responder()
458 wc->wr_id = wq->wrid[idx]; in sw_send_comp()
486 wc->wr_id = wq->wrid[wq->tail & (wq->wqe_cnt - 1)]; in sw_recv_comp()
580 wc->wr_id = wq->wrid[idx]; in mlx5_poll_one()
606 wc->wr_id = wq->wrid[idx]; in mlx5_poll_one()
614 wc->wr_id = srq->wrid[wqe_ctr]; in mlx5_poll_one()
618 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.h251 u64 wr_id; member
277 u64 wr_id; member
283 u64 wr_id; member
428 u64 wr_id
439 enum i40iw_status_code i40iw_nop(struct i40iw_qp_uk *qp, u64 wr_id,
/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()
1326 recv_wr.wr_id = (u64) index | MLX4_TUN_WRID_RECV | in mlx4_ib_post_pv_qp_buf()
1443 wr.wr.wr_id = ((u64) wire_tx_ix) | MLX4_TUN_SET_WRID_QPN(src_qpnum); in mlx4_ib_send_to_wire()
1488 struct mlx4_ib_demux_pv_qp *tun_qp = &ctx->qp[MLX4_TUN_WRID_QPN(wc->wr_id)]; in mlx4_ib_multiplex_mad()
1489 int wr_ix = wc->wr_id & (MLX4_NUM_TUNNEL_BUFS - 1); in mlx4_ib_multiplex_mad()
1745 tun_qp = &ctx->qp[MLX4_TUN_WRID_QPN(wc.wr_id)]; in mlx4_ib_tunnel_comp_worker()
1751 wc.wr_id & in mlx4_ib_tunnel_comp_worker()
1755 "buf:%lld\n", wc.wr_id); in mlx4_ib_tunnel_comp_worker()
1760 wc.wr_id, wc.status); in mlx4_ib_tunnel_comp_worker()
1761 rdma_destroy_ah(tun_qp->tx_ring[wc.wr_id & in mlx4_ib_tunnel_comp_worker()
[all …]
Dcq.c625 wc->wr_id = wq->wrid[wq->tail & (wq->wqe_cnt - 1)]; in mlx4_ib_qp_sw_comp()
741 wc->wr_id = wq->wrid[wq->tail & (wq->wqe_cnt - 1)]; in mlx4_ib_poll_one()
746 wc->wr_id = srq->wrid[wqe_ctr]; in mlx4_ib_poll_one()
751 wc->wr_id = srq->wrid[wqe_ctr]; in mlx4_ib_poll_one()
756 wc->wr_id = wq->wrid[tail]; in mlx4_ib_poll_one()
/drivers/infiniband/hw/qedr/
Dqedr_cm.c605 qp->wqe_wr_id[qp->sq.prod].wr_id = wr->wr_id; in qedr_gsi_post_send()
609 wr->opcode, in_irq(), irqs_disabled(), wr->wr_id); in qedr_gsi_post_send()
675 qp->rqe_wr_id[qp->rq.prod].wr_id = wr->wr_id; in qedr_gsi_post_recv()
706 wc[i].wr_id = qp->rqe_wr_id[qp->rq.cons].wr_id; in qedr_gsi_poll_cq()
734 wc[i].wr_id = qp->wqe_wr_id[qp->sq.cons].wr_id; in qedr_gsi_poll_cq()
Dqedr.h373 u64 wr_id; member
385 u64 wr_id; member
Dverbs.c2640 DMA_REGPAIR_LE(hdr->wr_id, vwr_id); \
3063 qp->wqe_wr_id[qp->sq.prod].wr_id = wr->wr_id; in qedr_post_send()
3160 qp->rqe_wr_id[qp->rq.prod].wr_id = wr->wr_id; in qedr_post_recv()
3249 wc->wr_id = qp->wqe_wr_id[qp->sq.cons].wr_id; in process_req()
3442 struct rdma_cqe_responder *resp, u64 wr_id) in __process_resp_one() argument
3466 wc->wr_id = wr_id; in __process_resp_one()
3473 u64 wr_id = qp->rqe_wr_id[qp->rq.cons].wr_id; in process_resp_one() local
3475 __process_resp_one(dev, qp, cq, wc, resp, wr_id); in process_resp_one()
3496 wc->wr_id = qp->rqe_wr_id[qp->rq.cons].wr_id; in process_resp_flush()
/drivers/infiniband/hw/bnxt_re/
Dqplib_fp.c1301 swq->wr_id = wqe->wr_id; in bnxt_qplib_post_send()
1513 swq->wr_id = wqe->wr_id; in bnxt_qplib_post_send()
1583 rq->swq[sw_prod].wr_id = wqe->wr_id; in bnxt_qplib_post_recv()
1608 rqe->wr_id[0] = cpu_to_le32(sw_prod); in bnxt_qplib_post_recv()
1614 rq->swq[sw_prod].wr_id = wqe->wr_id; in bnxt_qplib_post_recv()
1771 if (sq->swq[sw_cons].wr_id == BNXT_QPLIB_FENCE_WRID) { in __flush_sq()
1779 cqe->wr_id = sq->swq[sw_cons].wr_id; in __flush_sq()
1827 cqe->wr_id = rq->swq[sw_cons].wr_id; in __flush_rq()
1920 sq->swq[peek_sq_cons_idx].wr_id == in do_wa9060()
2004 cqe->wr_id = swq->wr_id; in bnxt_qplib_cq_process_req()
[all …]
Dqplib_fp.h81 u64 wr_id; member
92 u64 wr_id; member
328 u64 wr_id; member
Dib_verbs.c418 wqe->wr_id = BNXT_QPLIB_FENCE_WRID; in bnxt_re_create_fence_wqe()
1851 sqp_entry->wrid = wqe->wr_id; in bnxt_re_build_qp1_shadow_qp_recv()
1853 wqe->wr_id = rq_prod_index; in bnxt_re_build_qp1_shadow_qp_recv()
2109 wqe.wr_id = wr->wr_id; in bnxt_re_post_send_shadow_qp()
2158 wqe.wr_id = wr->wr_id; in bnxt_re_post_send()
2251 wqe.wr_id = wr->wr_id; in bnxt_re_post_recv_shadow_qp()
2291 wqe.wr_id = wr->wr_id; in bnxt_re_post_recv()
2700 tbl_idx = cqe->wr_id; in bnxt_re_process_raw_qp_pkt_rx()
2765 rwr.wr_id = tbl_idx; in bnxt_re_process_raw_qp_pkt_rx()
2777 swr->wr_id = tbl_idx; in bnxt_re_process_raw_qp_pkt_rx()
[all …]
/drivers/net/ethernet/ibm/ehea/
Dehea_qmr.h101 u64 wr_id; member
140 u64 wr_id; /* work request ID */ member
163 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.c411 wc->wr_id = wqe->wr.wr_id; in make_send_cqe()
422 uwc->wr_id = wqe->wr.wr_id; in make_send_cqe()
/drivers/infiniband/hw/qib/
Dqib_ruc.c82 wc.wr_id = wqe->wr_id; in qib_init_sge()
154 qp->r_wr_id = wqe->wr_id; in qib_get_rwqe()
542 wc.wr_id = qp->r_wr_id; in qib_ruc_loopback()
/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_cq.c382 wc->wr_id = cqe->wr_id; in pvrdma_poll_one()

123