Searched refs:first_wr (Results 1 – 7 of 7) sorted by relevance
| /Linux-v5.15/drivers/infiniband/core/ |
| D | rw.c | 510 struct ib_send_wr *first_wr, *last_wr; in rdma_rw_ctx_wrs() local 523 first_wr = &ctx->reg[0].inv_wr; in rdma_rw_ctx_wrs() 525 first_wr = &ctx->reg[0].reg_wr.wr; in rdma_rw_ctx_wrs() 529 first_wr = &ctx->map.wrs[0].wr; in rdma_rw_ctx_wrs() 533 first_wr = &ctx->single.wr.wr; in rdma_rw_ctx_wrs() 547 return first_wr; in rdma_rw_ctx_wrs() 568 struct ib_send_wr *first_wr; in rdma_rw_ctx_post() local 570 first_wr = rdma_rw_ctx_wrs(ctx, qp, port_num, cqe, chain_wr); in rdma_rw_ctx_post() 571 return ib_post_send(qp, first_wr, NULL); in rdma_rw_ctx_post()
|
| /Linux-v5.15/net/sunrpc/xprtrdma/ |
| D | svc_rdma_rw.c | 343 struct ib_send_wr *first_wr; in svc_rdma_post_chunk_ctxt() local 352 first_wr = NULL; in svc_rdma_post_chunk_ctxt() 358 first_wr = rdma_rw_ctx_wrs(&ctxt->rw_ctx, rdma->sc_qp, in svc_rdma_post_chunk_ctxt() 359 rdma->sc_port_num, cqe, first_wr); in svc_rdma_post_chunk_ctxt() 366 ret = ib_post_send(rdma->sc_qp, first_wr, &bad_wr); in svc_rdma_post_chunk_ctxt() 384 if (bad_wr != first_wr) in svc_rdma_post_chunk_ctxt()
|
| /Linux-v5.15/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.15/drivers/nvme/target/ |
| D | rdma.c | 720 struct ib_send_wr *first_wr; in nvmet_rdma_queue_response() local 731 first_wr = rdma_rw_ctx_wrs(&rsp->rw, cm_id->qp, in nvmet_rdma_queue_response() 734 first_wr = rdma_rw_ctx_wrs(&rsp->rw, cm_id->qp, in nvmet_rdma_queue_response() 737 first_wr = &rsp->send_wr; in nvmet_rdma_queue_response() 746 if (unlikely(ib_post_send(cm_id->qp, first_wr, NULL))) { in nvmet_rdma_queue_response()
|
| /Linux-v5.15/drivers/infiniband/ulp/srpt/ |
| D | ib_srpt.c | 2741 struct ib_send_wr *first_wr = NULL; in srpt_write_pending() local 2766 first_wr = rdma_rw_ctx_wrs(&ctx->rw, ch->qp, ch->sport->port, in srpt_write_pending() 2767 cqe, first_wr); in srpt_write_pending() 2771 ret = ib_post_send(ch->qp, first_wr, NULL); in srpt_write_pending() 2809 struct ib_send_wr send_wr, *first_wr = &send_wr; in srpt_queue_response() local 2840 first_wr = rdma_rw_ctx_wrs(&ctx->rw, ch->qp, in srpt_queue_response() 2841 ch->sport->port, NULL, first_wr); in srpt_queue_response() 2879 ret = ib_post_send(ch->qp, first_wr, NULL); in srpt_queue_response()
|
| /Linux-v5.15/fs/ksmbd/ |
| D | transport_rdma.c | 1346 struct ib_send_wr *first_wr = NULL; in smb_direct_rdma_xmit() local 1388 first_wr = rdma_rw_ctx_wrs(&msg->rw_ctx, t->qp, t->qp->port, in smb_direct_rdma_xmit() 1391 ret = ib_post_send(t->qp, first_wr, NULL); in smb_direct_rdma_xmit() 1402 if (first_wr) in smb_direct_rdma_xmit()
|
| /Linux-v5.15/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/ |
| D | chcr_ktls.c | 846 bool first_wr = ((tx_info->prev_ack == 0) && (tx_info->prev_win == 0)); in chcr_ktls_xmit_tcb_cpls() local 876 if (first_wr || tcp_seq != tx_info->prev_seq) { in chcr_ktls_xmit_tcb_cpls() 898 if (first_wr || tx_info->prev_ack != tcp_ack) { in chcr_ktls_xmit_tcb_cpls() 907 if (first_wr || tx_info->prev_win != tcp_win) { in chcr_ktls_xmit_tcb_cpls()
|