~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to drivers/infiniband/hw/cxgb3/iwch_qp.c

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
738
738
        }
739
739
}
740
740
 
741
 
int iwch_post_zb_read(struct iwch_qp *qhp)
 
741
int iwch_post_zb_read(struct iwch_ep *ep)
742
742
{
743
743
        union t3_wr *wqe;
744
744
        struct sk_buff *skb;
761
761
        wqe->read.local_len = cpu_to_be32(0);
762
762
        wqe->read.local_to = cpu_to_be64(1);
763
763
        wqe->send.wrh.op_seop_flags = cpu_to_be32(V_FW_RIWR_OP(T3_WR_READ));
764
 
        wqe->send.wrh.gen_tid_len = cpu_to_be32(V_FW_RIWR_TID(qhp->ep->hwtid)|
 
764
        wqe->send.wrh.gen_tid_len = cpu_to_be32(V_FW_RIWR_TID(ep->hwtid)|
765
765
                                                V_FW_RIWR_LEN(flit_cnt));
766
766
        skb->priority = CPL_PRIORITY_DATA;
767
 
        return iwch_cxgb3_ofld_send(qhp->rhp->rdev.t3cdev_p, skb);
 
767
        return iwch_cxgb3_ofld_send(ep->com.qp->rhp->rdev.t3cdev_p, skb);
768
768
}
769
769
 
770
770
/*