Lines Matching refs:p_queue

181 qed_iov_get_vf_rx_queue_cid(struct qed_vf_queue *p_queue)  in qed_iov_get_vf_rx_queue_cid()  argument
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()
1056 struct qed_vf_queue *p_queue = &vf->vf_queues[i]; in qed_iov_init_hw_for_vf() local
1058 p_queue->fw_rx_qid = p_params->req_rx_queue[i]; in qed_iov_init_hw_for_vf()
1059 p_queue->fw_tx_qid = p_params->req_tx_queue[i]; in qed_iov_init_hw_for_vf()
1064 p_queue->fw_rx_qid, p_queue->fw_tx_qid); in qed_iov_init_hw_for_vf()
1364 struct qed_vf_queue *p_queue = &p_vf->vf_queues[i]; in qed_iov_vf_cleanup() local
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()
1853 struct qed_vf_queue *p_queue = &p_vf->vf_queues[i]; in qed_iov_configure_vport_forced() local
1857 p_cid = qed_iov_get_vf_rx_queue_cid(p_queue); in qed_iov_configure_vport_forced()
2096 struct qed_vf_queue *p_queue; in qed_iov_vf_mbx_start_rxq() local
2112 p_queue = &vf->vf_queues[req->rx_qid]; in qed_iov_vf_mbx_start_rxq()
2113 if (p_queue->cids[qid_usage_idx].p_cid) in qed_iov_vf_mbx_start_rxq()
2120 params.queue_id = p_queue->fw_rx_qid; 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()
2428 struct qed_vf_queue *p_queue; in qed_iov_vf_mbx_start_txq() local
2448 p_queue = &vf->vf_queues[req->tx_qid]; in qed_iov_vf_mbx_start_txq()
2449 if (p_queue->cids[qid_usage_idx].p_cid) in qed_iov_vf_mbx_start_txq()
2455 params.queue_id = p_queue->fw_tx_qid; 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()
2498 struct qed_vf_queue *p_queue; in qed_iov_vf_stop_rxqs() local
2509 p_queue = &vf->vf_queues[rxq_id]; in qed_iov_vf_stop_rxqs()
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()
2518 p_cid = qed_iov_get_vf_rx_queue_cid(p_queue); 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()
2544 struct qed_vf_queue *p_queue; in qed_iov_vf_stop_txqs() local
2550 p_queue = &vf->vf_queues[txq_id]; in qed_iov_vf_stop_txqs()
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()
3423 struct qed_vf_queue *p_queue; in qed_iov_vf_pf_get_coalesce() local
3457 p_queue = &p_vf->vf_queues[qid]; in qed_iov_vf_pf_get_coalesce()
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()
3538 struct qed_vf_queue *p_queue = &vf->vf_queues[qid]; in qed_iov_vf_pf_set_coalesce() local
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()