• Home
  • Raw
  • Download

Lines Matching refs:p_cid

208 		if (p_queue->cids[i].p_cid && !p_queue->cids[i].b_is_tx)  in qed_iov_get_vf_rx_queue_cid()
209 return p_queue->cids[i].p_cid; in qed_iov_get_vf_rx_queue_cid()
237 if (!p_qcid->p_cid) in qed_iov_validate_queue_mode()
1385 if (!p_queue->cids[j].p_cid) in qed_iov_vf_cleanup()
1389 p_queue->cids[j].p_cid); in qed_iov_vf_cleanup()
1390 p_queue->cids[j].p_cid = NULL; in qed_iov_vf_cleanup()
1872 struct qed_queue_cid *p_cid = NULL; in qed_iov_configure_vport_forced() local
1875 p_cid = qed_iov_get_vf_rx_queue_cid(p_queue); in qed_iov_configure_vport_forced()
1876 if (!p_cid) in qed_iov_configure_vport_forced()
1880 (void **)&p_cid, in qed_iov_configure_vport_forced()
1887 p_cid->rel.queue_id); in qed_iov_configure_vport_forced()
2115 struct qed_queue_cid *p_cid; in qed_iov_vf_mbx_start_rxq() local
2131 if (p_queue->cids[qid_usage_idx].p_cid) in qed_iov_vf_mbx_start_rxq()
2152 p_cid = qed_eth_queue_to_cid(p_hwfn, vf->opaque_fid, in qed_iov_vf_mbx_start_rxq()
2154 if (!p_cid) in qed_iov_vf_mbx_start_rxq()
2166 rc = qed_eth_rxq_start_ramrod(p_hwfn, p_cid, in qed_iov_vf_mbx_start_rxq()
2172 qed_eth_queue_cid_release(p_hwfn, p_cid); in qed_iov_vf_mbx_start_rxq()
2174 p_queue->cids[qid_usage_idx].p_cid = p_cid; in qed_iov_vf_mbx_start_rxq()
2447 struct qed_queue_cid *p_cid; in qed_iov_vf_mbx_start_txq() local
2467 if (p_queue->cids[qid_usage_idx].p_cid) in qed_iov_vf_mbx_start_txq()
2489 p_cid = qed_eth_queue_to_cid(p_hwfn, vf->opaque_fid, in qed_iov_vf_mbx_start_txq()
2491 if (!p_cid) in qed_iov_vf_mbx_start_txq()
2495 rc = qed_eth_txq_start_ramrod(p_hwfn, p_cid, in qed_iov_vf_mbx_start_txq()
2499 qed_eth_queue_cid_release(p_hwfn, p_cid); in qed_iov_vf_mbx_start_txq()
2502 p_queue->cids[qid_usage_idx].p_cid = p_cid; in qed_iov_vf_mbx_start_txq()
2504 cid = p_cid->cid; in qed_iov_vf_mbx_start_txq()
2532 if (!p_queue->cids[qid_usage_idx].p_cid || in qed_iov_vf_stop_rxqs()
2534 struct qed_queue_cid *p_cid; in qed_iov_vf_stop_rxqs() local
2536 p_cid = qed_iov_get_vf_rx_queue_cid(p_queue); in qed_iov_vf_stop_rxqs()
2541 rxq_id, qid_usage_idx, rxq_id, p_cid->qid_usage_idx); in qed_iov_vf_stop_rxqs()
2547 p_queue->cids[qid_usage_idx].p_cid, in qed_iov_vf_stop_rxqs()
2552 p_queue->cids[qid_usage_idx].p_cid = NULL; in qed_iov_vf_stop_rxqs()
2569 if (!p_queue->cids[qid_usage_idx].p_cid || in qed_iov_vf_stop_txqs()
2573 rc = qed_eth_tx_queue_stop(p_hwfn, p_queue->cids[qid_usage_idx].p_cid); in qed_iov_vf_stop_txqs()
2577 p_queue->cids[qid_usage_idx].p_cid = NULL; in qed_iov_vf_stop_txqs()
2697 !vf->vf_queues[i].cids[qid_usage_idx].p_cid || in qed_iov_vf_mbx_update_rxqs()
2711 handlers[i] = vf->vf_queues[qid].cids[qid_usage_idx].p_cid; in qed_iov_vf_mbx_update_rxqs()
2925 struct qed_queue_cid *p_cid; in qed_iov_vp_update_rss_param() local
2938 p_cid = qed_iov_get_vf_rx_queue_cid(&vf->vf_queues[q_idx]); in qed_iov_vp_update_rss_param()
2939 p_rss->rss_ind_table[i] = p_cid; in qed_iov_vp_update_rss_param()
3433 struct qed_queue_cid *p_cid; in qed_iov_vf_pf_get_coalesce() local
3453 p_cid = qed_iov_get_vf_rx_queue_cid(&p_vf->vf_queues[qid]); in qed_iov_vf_pf_get_coalesce()
3454 rc = qed_get_rxq_coalesce(p_hwfn, p_ptt, p_cid, &coal); in qed_iov_vf_pf_get_coalesce()
3467 if ((!p_queue->cids[i].p_cid) || in qed_iov_vf_pf_get_coalesce()
3471 p_cid = p_queue->cids[i].p_cid; in qed_iov_vf_pf_get_coalesce()
3473 rc = qed_get_txq_coalesce(p_hwfn, p_ptt, p_cid, &coal); in qed_iov_vf_pf_get_coalesce()
3500 struct qed_queue_cid *p_cid; in qed_iov_vf_pf_set_coalesce() local
3533 p_cid = qed_iov_get_vf_rx_queue_cid(&vf->vf_queues[qid]); in qed_iov_vf_pf_set_coalesce()
3535 rc = qed_set_rxq_coalesce(p_hwfn, p_ptt, rx_coal, p_cid); in qed_iov_vf_pf_set_coalesce()
3550 if (!p_queue->cids[i].p_cid) in qed_iov_vf_pf_set_coalesce()
3557 p_queue->cids[i].p_cid); in qed_iov_vf_pf_set_coalesce()