Lines Matching defs:rhp
200 static int iwch_sgl2pbl_map(struct iwch_dev *rhp, struct ib_sge *sg_list,
208 mhp = get_mhp(rhp, (sg_list[i].lkey) >> 8);
240 rhp->rdev.rnic_info.pbl_base) >> 3) +
254 err = iwch_sgl2pbl_map(qhp->rhp, wr->sg_list, wr->num_sge, pbl_addr,
301 pbl_addr = cxio_hal_pblpool_alloc(&qhp->rhp->rdev, T3_STAG0_PBL_SIZE);
308 pbl_offset = (pbl_addr - qhp->rhp->rdev.rnic_info.pbl_base) >> 3;
532 struct iwch_dev *rhp;
548 rhp = qhp->rhp;
582 err = iwch_sgl2pbl_map(rhp, &sgl, 1, &pbl_addr, &page_size);
767 return iwch_cxgb3_ofld_send(qhp->rhp->rdev.t3cdev_p, skb);
799 return iwch_cxgb3_ofld_send(qhp->rhp->rdev.t3cdev_p, skb);
811 rchp = get_chp(qhp->rhp, qhp->attr.rcq);
812 schp = get_chp(qhp->rhp, qhp->attr.scq);
872 static int rdma_init(struct iwch_dev *rhp, struct iwch_qp *qhp,
919 ret = cxio_rdma_init(&rhp->rdev, &init_attr);
924 int iwch_modify_qp(struct iwch_dev *rhp, struct iwch_qp *qhp,
958 rhp->attr.max_rdma_read_qp_depth) {
966 rhp->attr.max_rdma_reads_per_qp) {
1005 ret = rdma_init(rhp, qhp, mask, attrs);
1166 qhp = get_qhp(chp->rhp, i);
1185 qhp = get_qhp(chp->rhp, i);