/kernel/linux/linux-5.10/drivers/infiniband/core/ |
H A 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()
|
/kernel/linux/linux-6.6/drivers/infiniband/core/ |
H A 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()
|
/kernel/linux/linux-5.10/net/sunrpc/xprtrdma/ |
H A 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()
|
/kernel/linux/linux-6.6/net/sunrpc/xprtrdma/ |
H A 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()
|
/kernel/linux/linux-5.10/drivers/infiniband/ulp/iser/ |
H A D | iser_verbs.c | 898 struct ib_send_wr *first_wr; in iser_post_send() local 913 first_wr = &tx_desc->inv_wr; in iser_post_send() 915 first_wr = &tx_desc->reg_wr.wr; in iser_post_send() 917 first_wr = wr; in iser_post_send() 919 ib_ret = ib_post_send(ib_conn->qp, first_wr, NULL); in iser_post_send()
|
/kernel/linux/linux-6.6/drivers/infiniband/ulp/iser/ |
H A 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()
|
/kernel/linux/linux-5.10/drivers/nvme/target/ |
H A 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()
|
/kernel/linux/linux-6.6/fs/smb/server/ |
H A 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()
|
/kernel/linux/linux-6.6/drivers/nvme/target/ |
H A 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()
|
/kernel/linux/linux-5.10/drivers/infiniband/ulp/srpt/ |
H A 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() 2880 ret = ib_post_send(ch->qp, first_wr, NULL); in srpt_queue_response()
|
/kernel/linux/linux-6.6/drivers/infiniband/ulp/srpt/ |
H A 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()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/ |
H A D | chcr_ktls.c | 852 bool first_wr = ((tx_info->prev_ack == 0) && (tx_info->prev_win == 0)); in chcr_ktls_xmit_tcb_cpls() local 882 if (first_wr || tcp_seq != tx_info->prev_seq) { in chcr_ktls_xmit_tcb_cpls() 904 if (first_wr || tx_info->prev_ack != tcp_ack) { in chcr_ktls_xmit_tcb_cpls() 913 if (first_wr || tx_info->prev_win != tcp_win) { in chcr_ktls_xmit_tcb_cpls()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/ |
H A 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()
|