Home
last modified time | relevance | path

Searched refs:p_cid (Results 1 – 9 of 9) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/qlogic/qed/
Dqed_l2.c128 struct qed_queue_cid *p_cid) in qed_eth_queue_qid_usage_add() argument
131 u16 queue_id = p_cid->rel.queue_id; in qed_eth_queue_qid_usage_add()
153 p_cid->qid_usage_idx = first; in qed_eth_queue_qid_usage_add()
161 struct qed_queue_cid *p_cid) in qed_eth_queue_qid_usage_del() argument
165 clear_bit(p_cid->qid_usage_idx, in qed_eth_queue_qid_usage_del()
166 p_hwfn->p_l2_info->pp_qid_usage[p_cid->rel.queue_id]); in qed_eth_queue_qid_usage_del()
172 struct qed_queue_cid *p_cid) in qed_eth_queue_cid_release() argument
174 bool b_legacy_vf = !!(p_cid->vf_legacy & QED_QCID_LEGACY_VF_CID); in qed_eth_queue_cid_release()
177 _qed_cxt_release_cid(p_hwfn, p_cid->cid, p_cid->vfid); in qed_eth_queue_cid_release()
180 if (p_cid->vfid == QED_QUEUE_CID_SELF) in qed_eth_queue_cid_release()
[all …]
Dqed_l2.h386 struct qed_queue_cid *p_cid);
414 struct qed_queue_cid *p_cid,
433 struct qed_queue_cid *p_cid,
440 u16 coalesce, struct qed_queue_cid *p_cid);
444 u16 coalesce, struct qed_queue_cid *p_cid);
448 struct qed_queue_cid *p_cid, u16 *p_hw_coal);
452 struct qed_queue_cid *p_cid, u16 *p_hw_coal);
Dqed_vf.c141 struct qed_queue_cid *p_cid) in qed_vf_pf_add_qid() argument
153 p_qid_tlv->qid = p_cid->qid_usage_idx; in qed_vf_pf_add_qid()
724 struct qed_queue_cid *p_cid, in qed_vf_pf_rxq_start() argument
733 u8 rx_qid = p_cid->rel.queue_id; in qed_vf_pf_rxq_start()
743 req->hw_sb = p_cid->sb_igu_id; in qed_vf_pf_rxq_start()
744 req->sb_index = p_cid->sb_idx; in qed_vf_pf_rxq_start()
765 qed_vf_pf_add_qid(p_hwfn, p_cid); in qed_vf_pf_rxq_start()
801 struct qed_queue_cid *p_cid, bool cqe_completion) in qed_vf_pf_rxq_stop() argument
811 req->rx_qid = p_cid->rel.queue_id; in qed_vf_pf_rxq_stop()
815 qed_vf_pf_add_qid(p_hwfn, p_cid); in qed_vf_pf_rxq_stop()
[all …]
Dqed_vf.h705 u16 tx_coal, struct qed_queue_cid *p_cid);
717 u16 *p_coal, struct qed_queue_cid *p_cid);
876 struct qed_queue_cid *p_cid,
896 struct qed_queue_cid *p_cid,
910 struct qed_queue_cid *p_cid, bool cqe_completion);
920 int qed_vf_pf_txq_stop(struct qed_hwfn *p_hwfn, struct qed_queue_cid *p_cid);
1135 struct qed_queue_cid *p_cid, in qed_vf_pf_rxq_start() argument
1145 struct qed_queue_cid *p_cid, in qed_vf_pf_txq_start() argument
1153 struct qed_queue_cid *p_cid, in qed_vf_pf_rxq_stop() argument
1160 struct qed_queue_cid *p_cid) in qed_vf_pf_txq_stop() argument
Dqed_sriov.c186 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()
215 if (!p_qcid->p_cid) in qed_iov_validate_queue_mode()
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()
1854 struct qed_queue_cid *p_cid = NULL; 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()
1858 if (!p_cid) in qed_iov_configure_vport_forced()
1862 (void **)&p_cid, in qed_iov_configure_vport_forced()
[all …]
Dqed_cxt.h203 enum protocol_type type, u32 *p_cid);
217 enum protocol_type type, u32 *p_cid, u8 vfid);
Dqed_sriov.h133 struct qed_queue_cid *p_cid; member
Dqed_dev.c4913 struct qed_queue_cid *p_cid = p_handle; in qed_set_queue_coalesce() local
4918 p_hwfn = p_cid->p_owner; in qed_set_queue_coalesce()
4921 return qed_vf_pf_set_coalesce(p_hwfn, rx_coal, tx_coal, p_cid); in qed_set_queue_coalesce()
4928 rc = qed_set_rxq_coalesce(p_hwfn, p_ptt, rx_coal, p_cid); in qed_set_queue_coalesce()
4935 rc = qed_set_txq_coalesce(p_hwfn, p_ptt, tx_coal, p_cid); in qed_set_queue_coalesce()
4947 u16 coalesce, struct qed_queue_cid *p_cid) in qed_set_rxq_coalesce() argument
4968 p_cid->sb_igu_id, false); in qed_set_rxq_coalesce()
4973 USTORM_ETH_QUEUE_ZONE_GTT_OFFSET(p_cid->abs.queue_id); in qed_set_rxq_coalesce()
4986 u16 coalesce, struct qed_queue_cid *p_cid) in qed_set_txq_coalesce() argument
5007 p_cid->sb_igu_id, true); in qed_set_txq_coalesce()
[all …]
Dqed_cxt.c1798 enum protocol_type type, u32 *p_cid, u8 vfid) in _qed_cxt_acquire_cid() argument
1834 *p_cid = rel_cid + p_map->start_cid; in _qed_cxt_acquire_cid()
1838 *p_cid, rel_cid, vfid, type); in _qed_cxt_acquire_cid()
1844 enum protocol_type type, u32 *p_cid) in qed_cxt_acquire_cid() argument
1846 return _qed_cxt_acquire_cid(p_hwfn, type, p_cid, QED_CXT_PF_CID); in qed_cxt_acquire_cid()