Lines Matching refs:cids

186 		if (p_queue->cids[i].p_cid && !p_queue->cids[i].b_is_tx)  in qed_iov_get_vf_rx_queue_cid()
187 return p_queue->cids[i].p_cid; in qed_iov_get_vf_rx_queue_cid()
213 p_qcid = &p_vf->vf_queues[qid].cids[i]; in qed_iov_validate_queue_mode()
988 u32 cids; in qed_iov_init_hw_for_vf() local
1036 qed_cxt_get_proto_cid_count(p_hwfn, PROTOCOLID_ETH, &cids); in qed_iov_init_hw_for_vf()
1040 vf->relative_vf_id, p_params->num_queues, (u16)cids); in qed_iov_init_hw_for_vf()
1041 num_irqs = min_t(u16, p_params->num_queues, ((u16)cids)); in qed_iov_init_hw_for_vf()
1367 if (!p_queue->cids[j].p_cid) in qed_iov_vf_cleanup()
1371 p_queue->cids[j].p_cid); in qed_iov_vf_cleanup()
1372 p_queue->cids[j].p_cid = NULL; in qed_iov_vf_cleanup()
2113 if (p_queue->cids[qid_usage_idx].p_cid) in qed_iov_vf_mbx_start_rxq()
2156 p_queue->cids[qid_usage_idx].p_cid = p_cid; in qed_iov_vf_mbx_start_rxq()
2157 p_queue->cids[qid_usage_idx].b_is_tx = false; in qed_iov_vf_mbx_start_rxq()
2449 if (p_queue->cids[qid_usage_idx].p_cid) in qed_iov_vf_mbx_start_txq()
2484 p_queue->cids[qid_usage_idx].p_cid = p_cid; in qed_iov_vf_mbx_start_txq()
2485 p_queue->cids[qid_usage_idx].b_is_tx = true; in qed_iov_vf_mbx_start_txq()
2514 if (!p_queue->cids[qid_usage_idx].p_cid || in qed_iov_vf_stop_rxqs()
2515 p_queue->cids[qid_usage_idx].b_is_tx) { in qed_iov_vf_stop_rxqs()
2529 p_queue->cids[qid_usage_idx].p_cid, in qed_iov_vf_stop_rxqs()
2534 p_queue->cids[qid_usage_idx].p_cid = NULL; in qed_iov_vf_stop_rxqs()
2551 if (!p_queue->cids[qid_usage_idx].p_cid || in qed_iov_vf_stop_txqs()
2552 !p_queue->cids[qid_usage_idx].b_is_tx) in qed_iov_vf_stop_txqs()
2555 rc = qed_eth_tx_queue_stop(p_hwfn, p_queue->cids[qid_usage_idx].p_cid); in qed_iov_vf_stop_txqs()
2559 p_queue->cids[qid_usage_idx].p_cid = NULL; in qed_iov_vf_stop_txqs()
2679 !vf->vf_queues[i].cids[qid_usage_idx].p_cid || in qed_iov_vf_mbx_update_rxqs()
2680 vf->vf_queues[i].cids[qid_usage_idx].b_is_tx) { in qed_iov_vf_mbx_update_rxqs()
2693 handlers[i] = vf->vf_queues[qid].cids[qid_usage_idx].p_cid; in qed_iov_vf_mbx_update_rxqs()
3458 if ((!p_queue->cids[i].p_cid) || in qed_iov_vf_pf_get_coalesce()
3459 (!p_queue->cids[i].b_is_tx)) in qed_iov_vf_pf_get_coalesce()
3462 p_cid = p_queue->cids[i].p_cid; in qed_iov_vf_pf_get_coalesce()
3541 if (!p_queue->cids[i].p_cid) in qed_iov_vf_pf_set_coalesce()
3544 if (!p_queue->cids[i].b_is_tx) in qed_iov_vf_pf_set_coalesce()
3548 p_queue->cids[i].p_cid); in qed_iov_vf_pf_set_coalesce()