Lines Matching full:resp

49 	union pfvf_tlvs *resp = p_hwfn->vf_iov_info->pf2vf_reply;  in qed_vf_pf_req_end()  local
53 req_status, resp->default_resp.hdr.status); in qed_vf_pf_req_end()
159 struct pfvf_def_resp_tlv *resp; in _qed_vf_pf_release() local
171 resp = &p_iov->pf2vf_reply->default_resp; in _qed_vf_pf_release()
172 rc = qed_send_msg2pf(p_hwfn, &resp->hdr.status); in _qed_vf_pf_release()
174 if (!rc && resp->hdr.status != PFVF_STATUS_SUCCESS) in _qed_vf_pf_release()
245 struct pfvf_acquire_resp_tlv *resp = &p_iov->pf2vf_reply->acquire_resp; in qed_vf_pf_acquire() local
246 struct pf_vf_pfdev_info *pfdev_info = &resp->pfdev_info; in qed_vf_pf_acquire()
301 rc = qed_send_msg2pf(p_hwfn, &resp->hdr.status); in qed_vf_pf_acquire()
315 memcpy(&p_iov->acquire_resp, resp, sizeof(p_iov->acquire_resp)); in qed_vf_pf_acquire()
319 if (resp->hdr.status == PFVF_STATUS_SUCCESS) { in qed_vf_pf_acquire()
321 if (!(resp->pfdev_info.capabilities & in qed_vf_pf_acquire()
332 } else if (resp->hdr.status == PFVF_STATUS_NO_RESOURCE && in qed_vf_pf_acquire()
335 &resp->resc); in qed_vf_pf_acquire()
336 } else if (resp->hdr.status == PFVF_STATUS_NOT_SUPPORTED) { in qed_vf_pf_acquire()
375 resp->hdr.status); in qed_vf_pf_acquire()
389 if (!(resp->pfdev_info.capabilities & PFVF_ACQUIRE_CAP_QUEUE_QIDS)) in qed_vf_pf_acquire()
390 resp->resc.num_cids = resp->resc.num_rxqs + resp->resc.num_txqs; in qed_vf_pf_acquire()
393 p_iov->bulletin.size = resp->bulletin_size; in qed_vf_pf_acquire()
396 p_hwfn->cdev->type = resp->pfdev_info.dev_type; in qed_vf_pf_acquire()
397 p_hwfn->cdev->chip_rev = resp->pfdev_info.chip_rev; in qed_vf_pf_acquire()
403 if (resp->pfdev_info.capabilities & PFVF_ACQUIRE_CAP_100G) { in qed_vf_pf_acquire()
410 (resp->pfdev_info.minor_fp_hsi < ETH_HSI_VER_MINOR)) { in qed_vf_pf_acquire()
413 ETH_HSI_VER_MAJOR, resp->pfdev_info.minor_fp_hsi); in qed_vf_pf_acquire()
731 struct pfvf_start_queue_resp_tlv *resp; in qed_vf_pf_rxq_start() local
771 resp = &p_iov->pf2vf_reply->queue_start; in qed_vf_pf_rxq_start()
772 rc = qed_send_msg2pf(p_hwfn, &resp->hdr.status); in qed_vf_pf_rxq_start()
776 if (resp->hdr.status != PFVF_STATUS_SUCCESS) { in qed_vf_pf_rxq_start()
785 *pp_prod = (u8 __iomem *)p_hwfn->regview + resp->offset; in qed_vf_pf_rxq_start()
788 rx_qid, *pp_prod, resp->offset); in qed_vf_pf_rxq_start()
805 struct pfvf_def_resp_tlv *resp; in qed_vf_pf_rxq_stop() local
821 resp = &p_iov->pf2vf_reply->default_resp; in qed_vf_pf_rxq_stop()
822 rc = qed_send_msg2pf(p_hwfn, &resp->hdr.status); in qed_vf_pf_rxq_stop()
826 if (resp->hdr.status != PFVF_STATUS_SUCCESS) { in qed_vf_pf_rxq_stop()
844 struct pfvf_start_queue_resp_tlv *resp; in qed_vf_pf_txq_start() local
866 resp = &p_iov->pf2vf_reply->queue_start; in qed_vf_pf_txq_start()
867 rc = qed_send_msg2pf(p_hwfn, &resp->hdr.status); in qed_vf_pf_txq_start()
871 if (resp->hdr.status != PFVF_STATUS_SUCCESS) { in qed_vf_pf_txq_start()
880 *pp_doorbell = (u8 __iomem *)p_hwfn->doorbells + resp->offset; in qed_vf_pf_txq_start()
891 qid, p_cid->qid_usage_idx, *pp_doorbell, resp->offset); in qed_vf_pf_txq_start()
902 struct pfvf_def_resp_tlv *resp; in qed_vf_pf_txq_stop() local
917 resp = &p_iov->pf2vf_reply->default_resp; in qed_vf_pf_txq_stop()
918 rc = qed_send_msg2pf(p_hwfn, &resp->hdr.status); in qed_vf_pf_txq_stop()
922 if (resp->hdr.status != PFVF_STATUS_SUCCESS) { in qed_vf_pf_txq_stop()
942 struct pfvf_def_resp_tlv *resp; in qed_vf_pf_vport_start() local
967 resp = &p_iov->pf2vf_reply->default_resp; in qed_vf_pf_vport_start()
968 rc = qed_send_msg2pf(p_hwfn, &resp->hdr.status); in qed_vf_pf_vport_start()
972 if (resp->hdr.status != PFVF_STATUS_SUCCESS) { in qed_vf_pf_vport_start()
986 struct pfvf_def_resp_tlv *resp = &p_iov->pf2vf_reply->default_resp; in qed_vf_pf_vport_stop() local
997 rc = qed_send_msg2pf(p_hwfn, &resp->hdr.status); in qed_vf_pf_vport_stop()
1001 if (resp->hdr.status != PFVF_STATUS_SUCCESS) { in qed_vf_pf_vport_stop()
1073 struct pfvf_def_resp_tlv *resp; in qed_vf_pf_vport_update() local
1078 resp = &p_iov->pf2vf_reply->default_resp; in qed_vf_pf_vport_update()
1205 rc = qed_send_msg2pf(p_hwfn, &resp->hdr.status); in qed_vf_pf_vport_update()
1209 if (resp->hdr.status != PFVF_STATUS_SUCCESS) { in qed_vf_pf_vport_update()
1225 struct pfvf_def_resp_tlv *resp; in qed_vf_pf_reset() local
1236 resp = &p_iov->pf2vf_reply->default_resp; in qed_vf_pf_reset()
1237 rc = qed_send_msg2pf(p_hwfn, &resp->hdr.status); in qed_vf_pf_reset()
1241 if (resp->hdr.status != PFVF_STATUS_SUCCESS) { in qed_vf_pf_reset()
1280 struct pfvf_def_resp_tlv *resp; in qed_vf_pf_filter_ucast() local
1294 resp = &p_iov->pf2vf_reply->default_resp; in qed_vf_pf_filter_ucast()
1295 rc = qed_send_msg2pf(p_hwfn, &resp->hdr.status); in qed_vf_pf_filter_ucast()
1299 if (resp->hdr.status != PFVF_STATUS_SUCCESS) { in qed_vf_pf_filter_ucast()
1313 struct pfvf_def_resp_tlv *resp = &p_iov->pf2vf_reply->default_resp; in qed_vf_pf_int_cleanup() local
1324 rc = qed_send_msg2pf(p_hwfn, &resp->hdr.status); in qed_vf_pf_int_cleanup()
1328 if (resp->hdr.status != PFVF_STATUS_SUCCESS) { in qed_vf_pf_int_cleanup()
1343 struct pfvf_read_coal_resp_tlv *resp; in qed_vf_pf_get_coalesce() local
1354 resp = &p_iov->pf2vf_reply->read_coal_resp; in qed_vf_pf_get_coalesce()
1356 rc = qed_send_msg2pf(p_hwfn, &resp->hdr.status); in qed_vf_pf_get_coalesce()
1360 if (resp->hdr.status != PFVF_STATUS_SUCCESS) in qed_vf_pf_get_coalesce()
1363 *p_coal = resp->coal; in qed_vf_pf_get_coalesce()
1405 struct pfvf_def_resp_tlv *resp; in qed_vf_pf_set_coalesce() local
1424 resp = &p_iov->pf2vf_reply->default_resp; in qed_vf_pf_set_coalesce()
1425 rc = qed_send_msg2pf(p_hwfn, &resp->hdr.status); in qed_vf_pf_set_coalesce()
1429 if (resp->hdr.status != PFVF_STATUS_SUCCESS) in qed_vf_pf_set_coalesce()