Home
last modified time | relevance | path

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

/Linux-v5.10/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.h363 struct qed_queue_cid *p_cid);
390 struct qed_queue_cid *p_cid,
408 struct qed_queue_cid *p_cid,
415 u16 coalesce, struct qed_queue_cid *p_cid);
419 u16 coalesce, struct qed_queue_cid *p_cid);
423 struct qed_queue_cid *p_cid, u16 *p_hw_coal);
427 struct qed_queue_cid *p_cid, u16 *p_hw_coal);
Dqed_vf.c144 struct qed_queue_cid *p_cid) in qed_vf_pf_add_qid() argument
156 p_qid_tlv->qid = p_cid->qid_usage_idx; in qed_vf_pf_add_qid()
719 struct qed_queue_cid *p_cid, in qed_vf_pf_rxq_start() argument
728 u8 rx_qid = p_cid->rel.queue_id; in qed_vf_pf_rxq_start()
738 req->hw_sb = p_cid->sb_igu_id; in qed_vf_pf_rxq_start()
739 req->sb_index = p_cid->sb_idx; in qed_vf_pf_rxq_start()
760 qed_vf_pf_add_qid(p_hwfn, p_cid); in qed_vf_pf_rxq_start()
796 struct qed_queue_cid *p_cid, bool cqe_completion) in qed_vf_pf_rxq_stop() argument
806 req->rx_qid = p_cid->rel.queue_id; in qed_vf_pf_rxq_stop()
810 qed_vf_pf_add_qid(p_hwfn, p_cid); in qed_vf_pf_rxq_stop()
[all …]
Dqed_vf.h702 u16 tx_coal, struct qed_queue_cid *p_cid);
713 u16 *p_coal, struct qed_queue_cid *p_cid);
849 struct qed_queue_cid *p_cid,
871 struct qed_queue_cid *p_cid,
885 struct qed_queue_cid *p_cid, bool cqe_completion);
895 int qed_vf_pf_txq_stop(struct qed_hwfn *p_hwfn, struct qed_queue_cid *p_cid);
1098 struct qed_queue_cid *p_cid, in qed_vf_pf_rxq_start() argument
1108 struct qed_queue_cid *p_cid, in qed_vf_pf_txq_start() argument
1116 struct qed_queue_cid *p_cid, in qed_vf_pf_rxq_stop() argument
1123 struct qed_queue_cid *p_cid) in qed_vf_pf_txq_stop() argument
Dqed_sriov.c184 if (p_queue->cids[i].p_cid && !p_queue->cids[i].b_is_tx) in qed_iov_get_vf_rx_queue_cid()
185 return p_queue->cids[i].p_cid; in qed_iov_get_vf_rx_queue_cid()
213 if (!p_qcid->p_cid) in qed_iov_validate_queue_mode()
1365 if (!p_queue->cids[j].p_cid) in qed_iov_vf_cleanup()
1369 p_queue->cids[j].p_cid); in qed_iov_vf_cleanup()
1370 p_queue->cids[j].p_cid = NULL; in qed_iov_vf_cleanup()
1852 struct qed_queue_cid *p_cid = NULL; in qed_iov_configure_vport_forced() local
1855 p_cid = qed_iov_get_vf_rx_queue_cid(p_queue); in qed_iov_configure_vport_forced()
1856 if (!p_cid) in qed_iov_configure_vport_forced()
1860 (void **)&p_cid, in qed_iov_configure_vport_forced()
[all …]
Dqed_cxt.h191 enum protocol_type type, u32 *p_cid);
205 enum protocol_type type, u32 *p_cid, u8 vfid);
Dqed_sriov.h132 struct qed_queue_cid *p_cid; member
Dqed_dev.c4816 struct qed_queue_cid *p_cid = p_handle; in qed_set_queue_coalesce() local
4821 p_hwfn = p_cid->p_owner; in qed_set_queue_coalesce()
4824 return qed_vf_pf_set_coalesce(p_hwfn, rx_coal, tx_coal, p_cid); in qed_set_queue_coalesce()
4831 rc = qed_set_rxq_coalesce(p_hwfn, p_ptt, rx_coal, p_cid); in qed_set_queue_coalesce()
4838 rc = qed_set_txq_coalesce(p_hwfn, p_ptt, tx_coal, p_cid); in qed_set_queue_coalesce()
4850 u16 coalesce, struct qed_queue_cid *p_cid) in qed_set_rxq_coalesce() argument
4871 p_cid->sb_igu_id, false); in qed_set_rxq_coalesce()
4876 USTORM_ETH_QUEUE_ZONE_OFFSET(p_cid->abs.queue_id); in qed_set_rxq_coalesce()
4889 u16 coalesce, struct qed_queue_cid *p_cid) in qed_set_txq_coalesce() argument
4910 p_cid->sb_igu_id, true); in qed_set_txq_coalesce()
[all …]
Dqed_cxt.c1811 enum protocol_type type, u32 *p_cid, u8 vfid) in _qed_cxt_acquire_cid() argument
1847 *p_cid = rel_cid + p_map->start_cid; in _qed_cxt_acquire_cid()
1851 *p_cid, rel_cid, vfid, type); in _qed_cxt_acquire_cid()
1857 enum protocol_type type, u32 *p_cid) in qed_cxt_acquire_cid() argument
1859 return _qed_cxt_acquire_cid(p_hwfn, type, p_cid, QED_CXT_PF_CID); in qed_cxt_acquire_cid()