Lines Matching refs:vsi

44 irdma_ieq_receive(struct irdma_sc_vsi *vsi,
46 static void irdma_ieq_tx_compl(struct irdma_sc_vsi *vsi, void *sqwrid);
83 buf->vsi = rsrc->vsi; in irdma_puda_get_bufpool()
376 rsrc = (cq_type == IRDMA_CQ_TYPE_ILQ) ? cq->vsi->ilq : in irdma_puda_poll_cmpl()
377 cq->vsi->ieq; in irdma_puda_poll_cmpl()
424 rsrc->receive(rsrc->vsi, buf); in irdma_puda_poll_cmpl()
438 rsrc->xmit_complete(rsrc->vsi, buf); in irdma_puda_poll_cmpl()
711 qp->vsi = rsrc->vsi; in irdma_puda_qp_create()
731 ret = rsrc->dev->ws_add(qp->vsi, qp->user_pri); in irdma_puda_qp_create()
746 rsrc->dev->ws_remove(qp->vsi, qp->user_pri); in irdma_puda_qp_create()
780 FIELD_PREP(IRDMA_CQPSQ_VSIIDX, cq->vsi->vsi_idx)); in irdma_puda_cq_wqe()
822 cq->vsi = rsrc->vsi; in irdma_puda_cq_create()
844 info.vsi = rsrc->vsi; in irdma_puda_cq_create()
874 rsrc->dev->ws_remove(rsrc->qp.vsi, rsrc->qp.user_pri); in irdma_puda_free_qp()
890 rsrc->dev->ws_remove(rsrc->qp.vsi, rsrc->qp.user_pri); in irdma_puda_free_qp()
928 irdma_puda_dele_rsrc(struct irdma_sc_vsi *vsi, enum puda_rsrc_type type, in irdma_puda_dele_rsrc() argument
931 struct irdma_sc_dev *dev = vsi->dev; in irdma_puda_dele_rsrc()
938 ceq = vsi->dev->ceq[0]; in irdma_puda_dele_rsrc()
942 rsrc = vsi->ilq; in irdma_puda_dele_rsrc()
943 vmem = &vsi->ilq_mem; in irdma_puda_dele_rsrc()
944 vsi->ilq = NULL; in irdma_puda_dele_rsrc()
949 rsrc = vsi->ieq; in irdma_puda_dele_rsrc()
950 vmem = &vsi->ieq_mem; in irdma_puda_dele_rsrc()
951 vsi->ieq = NULL; in irdma_puda_dele_rsrc()
1097 irdma_puda_create_rsrc(struct irdma_sc_vsi *vsi, in irdma_puda_create_rsrc() argument
1100 struct irdma_sc_dev *dev = vsi->dev; in irdma_puda_create_rsrc()
1113 vmem = &vsi->ilq_mem; in irdma_puda_create_rsrc()
1116 vmem = &vsi->ieq_mem; in irdma_puda_create_rsrc()
1130 vsi->ilq = vmem->va; in irdma_puda_create_rsrc()
1131 vsi->ilq_count = info->count; in irdma_puda_create_rsrc()
1136 vsi->ieq_count = info->count; in irdma_puda_create_rsrc()
1137 vsi->ieq = vmem->va; in irdma_puda_create_rsrc()
1166 rsrc->vsi = vsi; in irdma_puda_create_rsrc()
1206 irdma_puda_dele_rsrc(vsi, info->type, false); in irdma_puda_create_rsrc()
1318 if (buf->vsi->dev->hw_attrs.uk_attrs.hw_rev >= IRDMA_GEN_2) { in irdma_ieq_setup_tx_buf()
1373 if (buf->vsi->dev->hw_attrs.uk_attrs.hw_rev >= IRDMA_GEN_2) { in irdma_ieq_compl_pfpdu()
1689 return irdma_puda_create_ah(qp->vsi->dev, &ah_info, false, in irdma_ieq_create_ah()
1742 (ieq->vsi->mtu - IRDMA_MTU_TO_MSS_IPV4) : in irdma_ieq_handle_exception()
1743 (ieq->vsi->mtu - IRDMA_MTU_TO_MSS_IPV6); in irdma_ieq_handle_exception()
1799 irdma_ieq_receive(struct irdma_sc_vsi *vsi, in irdma_ieq_receive() argument
1802 struct irdma_puda_rsrc *ieq = vsi->ieq; in irdma_ieq_receive()
1806 qp = irdma_ieq_get_qp(vsi->dev, buf); in irdma_ieq_receive()
1827 irdma_ieq_tx_compl(struct irdma_sc_vsi *vsi, void *sqwrid) in irdma_ieq_tx_compl() argument
1829 struct irdma_puda_rsrc *ieq = vsi->ieq; in irdma_ieq_tx_compl()