Searched refs:first_wr (Results 1 – 7 of 7) sorted by relevance
/linux-6.6.21/drivers/infiniband/core/ |
D | rw.c | 500 struct ib_send_wr *first_wr, *last_wr; in rdma_rw_ctx_wrs() local 513 first_wr = &ctx->reg[0].inv_wr; in rdma_rw_ctx_wrs() 515 first_wr = &ctx->reg[0].reg_wr.wr; in rdma_rw_ctx_wrs() 519 first_wr = &ctx->map.wrs[0].wr; in rdma_rw_ctx_wrs() 523 first_wr = &ctx->single.wr.wr; in rdma_rw_ctx_wrs() 537 return first_wr; in rdma_rw_ctx_wrs() 558 struct ib_send_wr *first_wr; in rdma_rw_ctx_post() local 560 first_wr = rdma_rw_ctx_wrs(ctx, qp, port_num, cqe, chain_wr); in rdma_rw_ctx_post() 561 return ib_post_send(qp, first_wr, NULL); in rdma_rw_ctx_post()
|
/linux-6.6.21/net/sunrpc/xprtrdma/ |
D | svc_rdma_rw.c | 366 struct ib_send_wr *first_wr; in svc_rdma_post_chunk_ctxt() local 377 first_wr = NULL; in svc_rdma_post_chunk_ctxt() 383 first_wr = rdma_rw_ctx_wrs(&ctxt->rw_ctx, rdma->sc_qp, in svc_rdma_post_chunk_ctxt() 384 rdma->sc_port_num, cqe, first_wr); in svc_rdma_post_chunk_ctxt() 392 ret = ib_post_send(rdma->sc_qp, first_wr, &bad_wr); in svc_rdma_post_chunk_ctxt() 410 if (bad_wr != first_wr) in svc_rdma_post_chunk_ctxt()
|
/linux-6.6.21/drivers/infiniband/ulp/iser/ |
D | iser_verbs.c | 860 struct ib_send_wr *first_wr; in iser_post_send() local 875 first_wr = &tx_desc->inv_wr; in iser_post_send() 877 first_wr = &tx_desc->reg_wr.wr; in iser_post_send() 879 first_wr = wr; in iser_post_send() 881 ret = ib_post_send(ib_conn->qp, first_wr, NULL); in iser_post_send()
|
/linux-6.6.21/drivers/infiniband/ulp/srpt/ |
D | ib_srpt.c | 2750 struct ib_send_wr *first_wr = NULL; in srpt_write_pending() local 2775 first_wr = rdma_rw_ctx_wrs(&ctx->rw, ch->qp, ch->sport->port, in srpt_write_pending() 2776 cqe, first_wr); in srpt_write_pending() 2780 ret = ib_post_send(ch->qp, first_wr, NULL); in srpt_write_pending() 2818 struct ib_send_wr send_wr, *first_wr = &send_wr; in srpt_queue_response() local 2849 first_wr = rdma_rw_ctx_wrs(&ctx->rw, ch->qp, in srpt_queue_response() 2850 ch->sport->port, NULL, first_wr); in srpt_queue_response() 2888 ret = ib_post_send(ch->qp, first_wr, NULL); in srpt_queue_response()
|
/linux-6.6.21/fs/smb/server/ |
D | transport_rdma.c | 1363 struct ib_send_wr *first_wr; in smb_direct_rdma_xmit() local 1458 first_wr = NULL; in smb_direct_rdma_xmit() 1460 first_wr = rdma_rw_ctx_wrs(&msg->rw_ctx, t->qp, t->qp->port, in smb_direct_rdma_xmit() 1461 &msg->cqe, first_wr); in smb_direct_rdma_xmit() 1464 ret = ib_post_send(t->qp, first_wr, NULL); in smb_direct_rdma_xmit()
|
/linux-6.6.21/drivers/nvme/target/ |
D | rdma.c | 721 struct ib_send_wr *first_wr; in nvmet_rdma_queue_response() local 732 first_wr = rdma_rw_ctx_wrs(&rsp->rw, cm_id->qp, in nvmet_rdma_queue_response() 735 first_wr = rdma_rw_ctx_wrs(&rsp->rw, cm_id->qp, in nvmet_rdma_queue_response() 738 first_wr = &rsp->send_wr; in nvmet_rdma_queue_response() 747 if (unlikely(ib_post_send(cm_id->qp, first_wr, NULL))) { in nvmet_rdma_queue_response()
|
/linux-6.6.21/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()
|