wqe_hdr 593 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c static int set_reg_seg(struct pvrdma_sq_wqe_hdr *wqe_hdr, wqe_hdr 598 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c wqe_hdr->wr.fast_reg.iova_start = mr->ibmr.iova; wqe_hdr 599 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c wqe_hdr->wr.fast_reg.pl_pdir_dma = mr->pdir.dir_dma; wqe_hdr 600 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c wqe_hdr->wr.fast_reg.page_shift = mr->page_shift; wqe_hdr 601 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c wqe_hdr->wr.fast_reg.page_list_len = mr->npages; wqe_hdr 602 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c wqe_hdr->wr.fast_reg.length = mr->ibmr.length; wqe_hdr 603 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c wqe_hdr->wr.fast_reg.access_flags = wr->access; wqe_hdr 604 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c wqe_hdr->wr.fast_reg.rkey = wr->key; wqe_hdr 624 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c struct pvrdma_sq_wqe_hdr *wqe_hdr; wqe_hdr 705 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c wqe_hdr = (struct pvrdma_sq_wqe_hdr *)get_sq_wqe(qp, tail); wqe_hdr 706 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c memset(wqe_hdr, 0, sizeof(*wqe_hdr)); wqe_hdr 707 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c wqe_hdr->wr_id = wr->wr_id; wqe_hdr 708 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c wqe_hdr->num_sge = wr->num_sge; wqe_hdr 709 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c wqe_hdr->opcode = ib_wr_opcode_to_pvrdma(wr->opcode); wqe_hdr 710 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c wqe_hdr->send_flags = ib_send_flags_to_pvrdma(wr->send_flags); wqe_hdr 713 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c wqe_hdr->ex.imm_data = wr->ex.imm_data; wqe_hdr 715 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c if (unlikely(wqe_hdr->opcode == PVRDMA_WR_ERROR)) { wqe_hdr 736 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c wqe_hdr->wr.ud.remote_qpn = ud_wr(wr)->remote_qpn; wqe_hdr 737 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c wqe_hdr->wr.ud.remote_qkey = wqe_hdr 740 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c wqe_hdr->wr.ud.av = to_vah(ud_wr(wr)->ah)->av; wqe_hdr 748 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c wqe_hdr->wr.rdma.remote_addr = wqe_hdr 750 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c wqe_hdr->wr.rdma.rkey = rdma_wr(wr)->rkey; wqe_hdr 754 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c wqe_hdr->ex.invalidate_rkey = wqe_hdr 759 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c wqe_hdr->wr.atomic.remote_addr = wqe_hdr 761 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c wqe_hdr->wr.atomic.rkey = atomic_wr(wr)->rkey; wqe_hdr 762 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c wqe_hdr->wr.atomic.compare_add = wqe_hdr 765 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c wqe_hdr->wr.atomic.swap = wqe_hdr 769 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c ret = set_reg_seg(wqe_hdr, reg_wr(wr)); wqe_hdr 790 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c sge = (struct pvrdma_sge *)(wqe_hdr + 1); wqe_hdr 834 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c struct pvrdma_rq_wqe_hdr *wqe_hdr; wqe_hdr 877 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c wqe_hdr = (struct pvrdma_rq_wqe_hdr *)get_rq_wqe(qp, tail); wqe_hdr 878 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c wqe_hdr->wr_id = wr->wr_id; wqe_hdr 879 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c wqe_hdr->num_sge = wr->num_sge; wqe_hdr 880 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c wqe_hdr->total_len = 0; wqe_hdr 882 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c sge = (struct pvrdma_sge *)(wqe_hdr + 1);