Searched refs:first_wr (Results 1 – 6 of 6) sorted by relevance
| /Linux-v5.10/drivers/infiniband/core/ |
| D | rw.c | 507 struct ib_send_wr *first_wr, *last_wr; in rdma_rw_ctx_wrs() local 520 first_wr = &ctx->reg[0].inv_wr; in rdma_rw_ctx_wrs() 522 first_wr = &ctx->reg[0].reg_wr.wr; in rdma_rw_ctx_wrs() 526 first_wr = &ctx->map.wrs[0].wr; in rdma_rw_ctx_wrs() 530 first_wr = &ctx->single.wr.wr; in rdma_rw_ctx_wrs() 544 return first_wr; in rdma_rw_ctx_wrs() 565 struct ib_send_wr *first_wr; in rdma_rw_ctx_post() local 567 first_wr = rdma_rw_ctx_wrs(ctx, qp, port_num, cqe, chain_wr); in rdma_rw_ctx_post() 568 return ib_post_send(qp, first_wr, NULL); in rdma_rw_ctx_post()
|
| /Linux-v5.10/net/sunrpc/xprtrdma/ |
| D | svc_rdma_rw.c | 338 struct ib_send_wr *first_wr; in svc_rdma_post_chunk_ctxt() local 347 first_wr = NULL; in svc_rdma_post_chunk_ctxt() 353 first_wr = rdma_rw_ctx_wrs(&ctxt->rw_ctx, rdma->sc_qp, in svc_rdma_post_chunk_ctxt() 354 rdma->sc_port_num, cqe, first_wr); in svc_rdma_post_chunk_ctxt() 362 ret = ib_post_send(rdma->sc_qp, first_wr, &bad_wr); in svc_rdma_post_chunk_ctxt() 379 if (bad_wr != first_wr) in svc_rdma_post_chunk_ctxt()
|
| /Linux-v5.10/drivers/infiniband/ulp/iser/ |
| D | iser_verbs.c | 899 struct ib_send_wr *first_wr; in iser_post_send() local 914 first_wr = &tx_desc->inv_wr; in iser_post_send() 916 first_wr = &tx_desc->reg_wr.wr; in iser_post_send() 918 first_wr = wr; in iser_post_send() 920 ib_ret = ib_post_send(ib_conn->qp, first_wr, NULL); in iser_post_send()
|
| /Linux-v5.10/drivers/nvme/target/ |
| D | rdma.c | 719 struct ib_send_wr *first_wr; in nvmet_rdma_queue_response() local 730 first_wr = rdma_rw_ctx_wrs(&rsp->rw, cm_id->qp, in nvmet_rdma_queue_response() 733 first_wr = rdma_rw_ctx_wrs(&rsp->rw, cm_id->qp, in nvmet_rdma_queue_response() 736 first_wr = &rsp->send_wr; in nvmet_rdma_queue_response() 745 if (unlikely(ib_post_send(cm_id->qp, first_wr, NULL))) { in nvmet_rdma_queue_response()
|
| /Linux-v5.10/drivers/infiniband/ulp/srpt/ |
| D | ib_srpt.c | 2736 struct ib_send_wr *first_wr = NULL; in srpt_write_pending() local 2761 first_wr = rdma_rw_ctx_wrs(&ctx->rw, ch->qp, ch->sport->port, in srpt_write_pending() 2762 cqe, first_wr); in srpt_write_pending() 2766 ret = ib_post_send(ch->qp, first_wr, NULL); in srpt_write_pending() 2804 struct ib_send_wr send_wr, *first_wr = &send_wr; in srpt_queue_response() local 2835 first_wr = rdma_rw_ctx_wrs(&ctx->rw, ch->qp, in srpt_queue_response() 2836 ch->sport->port, NULL, first_wr); in srpt_queue_response() 2875 ret = ib_post_send(ch->qp, first_wr, NULL); in srpt_queue_response()
|
| /Linux-v5.10/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/ |
| D | chcr_ktls.c | 838 bool first_wr = ((tx_info->prev_ack == 0) && (tx_info->prev_win == 0)); in chcr_ktls_xmit_tcb_cpls() local 868 if (first_wr || tcp_seq != tx_info->prev_seq) { in chcr_ktls_xmit_tcb_cpls() 890 if (first_wr || tx_info->prev_ack != tcp_ack) { in chcr_ktls_xmit_tcb_cpls() 899 if (first_wr || tx_info->prev_win != tcp_win) { in chcr_ktls_xmit_tcb_cpls()
|