Home
last modified time | relevance | path

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

/drivers/net/ethernet/qlogic/qed/
Dqed_l2.c152 struct qed_queue_cid *p_cid) in qed_eth_queue_qid_usage_add() argument
155 u16 queue_id = p_cid->rel.queue_id; in qed_eth_queue_qid_usage_add()
177 p_cid->qid_usage_idx = first; in qed_eth_queue_qid_usage_add()
185 struct qed_queue_cid *p_cid) in qed_eth_queue_qid_usage_del() argument
189 clear_bit(p_cid->qid_usage_idx, in qed_eth_queue_qid_usage_del()
190 p_hwfn->p_l2_info->pp_qid_usage[p_cid->rel.queue_id]); in qed_eth_queue_qid_usage_del()
196 struct qed_queue_cid *p_cid) in qed_eth_queue_cid_release() argument
198 bool b_legacy_vf = !!(p_cid->vf_legacy & QED_QCID_LEGACY_VF_CID); in qed_eth_queue_cid_release()
201 _qed_cxt_release_cid(p_hwfn, p_cid->cid, p_cid->vfid); in qed_eth_queue_cid_release()
204 if (p_cid->vfid == QED_QUEUE_CID_SELF) in qed_eth_queue_cid_release()
[all …]
Dqed_l2.h388 struct qed_queue_cid *p_cid);
415 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.c157 struct qed_queue_cid *p_cid) in qed_vf_pf_add_qid() argument
169 p_qid_tlv->qid = p_cid->qid_usage_idx; in qed_vf_pf_add_qid()
732 struct qed_queue_cid *p_cid, in qed_vf_pf_rxq_start() argument
741 u8 rx_qid = p_cid->rel.queue_id; in qed_vf_pf_rxq_start()
751 req->hw_sb = p_cid->sb_igu_id; in qed_vf_pf_rxq_start()
752 req->sb_index = p_cid->sb_idx; in qed_vf_pf_rxq_start()
773 qed_vf_pf_add_qid(p_hwfn, p_cid); in qed_vf_pf_rxq_start()
809 struct qed_queue_cid *p_cid, bool cqe_completion) in qed_vf_pf_rxq_stop() argument
819 req->rx_qid = p_cid->rel.queue_id; in qed_vf_pf_rxq_stop()
823 qed_vf_pf_add_qid(p_hwfn, p_cid); in qed_vf_pf_rxq_stop()
[all …]
Dqed_vf.h729 u16 tx_coal, struct qed_queue_cid *p_cid);
740 u16 *p_coal, struct qed_queue_cid *p_cid);
876 struct qed_queue_cid *p_cid,
898 struct qed_queue_cid *p_cid,
912 struct qed_queue_cid *p_cid, bool cqe_completion);
922 int qed_vf_pf_txq_stop(struct qed_hwfn *p_hwfn, struct qed_queue_cid *p_cid);
1125 struct qed_queue_cid *p_cid, in qed_vf_pf_rxq_start() argument
1135 struct qed_queue_cid *p_cid, in qed_vf_pf_txq_start() argument
1143 struct qed_queue_cid *p_cid, in qed_vf_pf_rxq_stop() argument
1150 struct qed_queue_cid *p_cid) in qed_vf_pf_txq_stop() argument
Dqed_sriov.c208 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()
[all …]
Dqed_cxt.h216 enum protocol_type type, u32 *p_cid);
230 enum protocol_type type, u32 *p_cid, u8 vfid);
Dqed_sriov.h158 struct qed_queue_cid *p_cid; member
Dqed_dev.c4967 struct qed_queue_cid *p_cid = p_handle; in qed_set_queue_coalesce() local
4972 p_hwfn = p_cid->p_owner; in qed_set_queue_coalesce()
4975 return qed_vf_pf_set_coalesce(p_hwfn, rx_coal, tx_coal, p_cid); in qed_set_queue_coalesce()
4982 rc = qed_set_rxq_coalesce(p_hwfn, p_ptt, rx_coal, p_cid); in qed_set_queue_coalesce()
4989 rc = qed_set_txq_coalesce(p_hwfn, p_ptt, tx_coal, p_cid); in qed_set_queue_coalesce()
5001 u16 coalesce, struct qed_queue_cid *p_cid) in qed_set_rxq_coalesce() argument
5022 p_cid->sb_igu_id, false); in qed_set_rxq_coalesce()
5027 USTORM_ETH_QUEUE_ZONE_OFFSET(p_cid->abs.queue_id); in qed_set_rxq_coalesce()
5040 u16 coalesce, struct qed_queue_cid *p_cid) in qed_set_txq_coalesce() argument
5061 p_cid->sb_igu_id, true); in qed_set_txq_coalesce()
[all …]
Dqed_cxt.c1900 enum protocol_type type, u32 *p_cid, u8 vfid) in _qed_cxt_acquire_cid() argument
1936 *p_cid = rel_cid + p_map->start_cid; in _qed_cxt_acquire_cid()
1940 *p_cid, rel_cid, vfid, type); in _qed_cxt_acquire_cid()
1946 enum protocol_type type, u32 *p_cid) in qed_cxt_acquire_cid() argument
1948 return _qed_cxt_acquire_cid(p_hwfn, type, p_cid, QED_CXT_PF_CID); in qed_cxt_acquire_cid()