• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/infiniband/hw/cxgb3/

Lines Matching refs:wqe

140 	struct t3_modify_qp_wr *wqe;
141 struct sk_buff *skb = alloc_skb(sizeof(*wqe), GFP_KERNEL);
146 wqe = (struct t3_modify_qp_wr *) skb_put(skb, sizeof(*wqe));
147 memset(wqe, 0, sizeof(*wqe));
148 build_fw_riwrh((struct fw_riwrh *) wqe, T3_WR_QP_MOD,
151 wqe->flags = cpu_to_be32(MODQP_WRITE_EC);
153 wqe->sge_cmd = cpu_to_be64(sge_cmd);
516 struct t3_modify_qp_wr *wqe;
519 skb = alloc_skb(sizeof(*wqe), GFP_KERNEL);
562 wqe = (struct t3_modify_qp_wr *) skb_put(skb, sizeof(*wqe));
563 memset(wqe, 0, sizeof(*wqe));
564 build_fw_riwrh((struct fw_riwrh *) wqe, T3_WR_QP_MOD, 0, 0,
566 wqe->flags = cpu_to_be32(MODQP_WRITE_EC);
568 wqe->sge_cmd = cpu_to_be64(sge_cmd);
569 wqe->ctx1 = cpu_to_be64(ctx1);
570 wqe->ctx0 = cpu_to_be64(ctx0);
601 __be64 *wqe;
626 wqe = (__be64 *)(rdev_p->ctrl_qp.workq + (rdev_p->ctrl_qp.wptr %
649 wqe += (sizeof(struct t3_bypass_wr) >> 3);
653 *wqe = cpu_to_be64(utx_cmd);
654 wqe++;
660 memcpy(wqe, copy_data, copy_len);
662 memset(wqe, 0, copy_len);
664 memset(((u8 *) wqe) + copy_len, 0,
668 wqe = (__be64 *)(rdev_p->ctrl_qp.workq + (rdev_p->ctrl_qp.wptr %
672 ((union t3_wrid *)(wqe+1))->id0.low = rdev_p->ctrl_qp.wptr;
678 build_fw_riwrh((struct fw_riwrh *) wqe, T3_WR_BP, flag,
835 struct t3_rdma_init_wr *wqe;
836 struct sk_buff *skb = alloc_skb(sizeof(*wqe), GFP_ATOMIC);
840 wqe = (struct t3_rdma_init_wr *) __skb_put(skb, sizeof(*wqe));
841 wqe->wrh.op_seop_flags = cpu_to_be32(V_FW_RIWR_OP(T3_WR_INIT));
842 wqe->wrh.gen_tid_len = cpu_to_be32(V_FW_RIWR_TID(attr->tid) |
843 V_FW_RIWR_LEN(sizeof(*wqe) >> 3));
844 wqe->wrid.id1 = 0;
845 wqe->qpid = cpu_to_be32(attr->qpid);
846 wqe->pdid = cpu_to_be32(attr->pdid);
847 wqe->scqid = cpu_to_be32(attr->scqid);
848 wqe->rcqid = cpu_to_be32(attr->rcqid);
849 wqe->rq_addr = cpu_to_be32(attr->rq_addr - rdev_p->rnic_info.rqt_base);
850 wqe->rq_size = cpu_to_be32(attr->rq_size);
851 wqe->mpaattrs = attr->mpaattrs;
852 wqe->qpcaps = attr->qpcaps;
853 wqe->ulpdu_size = cpu_to_be16(attr->tcp_emss);
854 wqe->rqe_count = cpu_to_be16(attr->rqe_count);
855 wqe->flags_rtr_type = cpu_to_be16(attr->flags |
858 wqe->ord = cpu_to_be32(attr->ord);
859 wqe->ird = cpu_to_be32(attr->ird);
860 wqe->qp_dma_addr = cpu_to_be64(attr->qp_dma_addr);
861 wqe->qp_dma_size = cpu_to_be32(attr->qp_dma_size);
862 wqe->irs = cpu_to_be32(attr->irs);