Home
last modified time | relevance | path

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

/freebsd/sys/dev/qlnx/qlnxe/
H A Decore_l2.c163 struct ecore_queue_cid *p_cid) in ecore_eth_queue_qid_usage_add() argument
166 u16 queue_id = p_cid->rel.queue_id; in ecore_eth_queue_qid_usage_add()
188 p_cid->qid_usage_idx = first; in ecore_eth_queue_qid_usage_add()
196 struct ecore_queue_cid *p_cid) in ecore_eth_queue_qid_usage_del() argument
200 OSAL_CLEAR_BIT(p_cid->qid_usage_idx, in ecore_eth_queue_qid_usage_del()
201 p_hwfn->p_l2_info->pp_qid_usage[p_cid->rel.queue_id]); in ecore_eth_queue_qid_usage_del()
207 struct ecore_queue_cid *p_cid) in ecore_eth_queue_cid_release() argument
209 bool b_legacy_vf = !!(p_cid->vf_legacy & in ecore_eth_queue_cid_release()
216 _ecore_cxt_release_cid(p_hwfn, p_cid->cid, p_cid->vfid); in ecore_eth_queue_cid_release()
219 if (p_cid->vfid == ECORE_QUEUE_CID_PF) in ecore_eth_queue_cid_release()
[all …]
H A Decore_l2.h115 struct ecore_queue_cid *p_cid);
141 struct ecore_queue_cid *p_cid,
160 struct ecore_queue_cid *p_cid,
169 struct ecore_queue_cid *p_cid);
174 struct ecore_queue_cid *p_cid);
178 struct ecore_queue_cid *p_cid,
183 struct ecore_queue_cid *p_cid,
H A Decore_vf.h97 struct ecore_queue_cid *p_cid);
110 struct ecore_queue_cid *p_cid);
138 struct ecore_queue_cid *p_cid,
159 struct ecore_queue_cid *p_cid,
173 struct ecore_queue_cid *p_cid,
185 struct ecore_queue_cid *p_cid);
343 …truct ecore_hwfn OSAL_UNUSED *p_hwfn, struct ecore_queue_cid OSAL_UNUSED *p_cid, u16 OSAL_UNUSED b… in ecore_vf_pf_rxq_start() argument
344 …truct ecore_hwfn OSAL_UNUSED *p_hwfn, struct ecore_queue_cid OSAL_UNUSED *p_cid, dma_addr_t OSAL_U… in ecore_vf_pf_txq_start() argument
345 …truct ecore_hwfn OSAL_UNUSED *p_hwfn, struct ecore_queue_cid OSAL_UNUSED *p_cid, bool OSAL_UNUSED … in ecore_vf_pf_rxq_stop() argument
346 …truct ecore_hwfn OSAL_UNUSED *p_hwfn, struct ecore_queue_cid OSAL_UNUSED *p_cid) {return ECORE_INV… in ecore_vf_pf_txq_stop() argument
H A Decore_sriov.c243 if (p_queue->cids[i].p_cid && in ecore_iov_get_vf_rx_queue_cid()
245 return p_queue->cids[i].p_cid; in ecore_iov_get_vf_rx_queue_cid()
272 if (p_qcid->p_cid == OSAL_NULL) in ecore_iov_validate_queue_mode()
1583 if (!p_queue->cids[j].p_cid) in ecore_iov_vf_cleanup()
1587 p_queue->cids[j].p_cid); in ecore_iov_vf_cleanup()
1588 p_queue->cids[j].p_cid = OSAL_NULL; in ecore_iov_vf_cleanup()
2088 struct ecore_queue_cid *p_cid = OSAL_NULL; in ecore_iov_configure_vport_forced() local
2091 p_cid = ecore_iov_get_vf_rx_queue_cid(p_queue); in ecore_iov_configure_vport_forced()
2092 if (p_cid == OSAL_NULL) in ecore_iov_configure_vport_forced()
2096 (void **)&p_cid, in ecore_iov_configure_vport_forced()
[all …]
H A Decore_vf.c194 struct ecore_queue_cid *p_cid) in ecore_vf_pf_add_qid() argument
206 p_qid_tlv->qid = p_cid->qid_usage_idx; in ecore_vf_pf_add_qid()
829 struct ecore_queue_cid *p_cid, in ecore_vf_pf_rxq_start() argument
839 u16 rx_qid = p_cid->rel.queue_id; in ecore_vf_pf_rxq_start()
849 req->hw_sb = p_cid->sb_igu_id; in ecore_vf_pf_rxq_start()
850 req->sb_index = p_cid->sb_idx; in ecore_vf_pf_rxq_start()
871 ecore_vf_pf_add_qid(p_hwfn, p_cid); in ecore_vf_pf_rxq_start()
913 struct ecore_queue_cid *p_cid, in ecore_vf_pf_rxq_stop() argument
924 req->rx_qid = p_cid->rel.queue_id; in ecore_vf_pf_rxq_stop()
928 ecore_vf_pf_add_qid(p_hwfn, p_cid); in ecore_vf_pf_rxq_stop()
[all …]
H A Decore_cxt.h200 u32 *p_cid);
215 u32 *p_cid, u8 vfid);
H A Decore_sriov.h95 struct ecore_queue_cid *p_cid; member
H A Decore_cxt.c1993 u32 *p_cid, u8 vfid) in _ecore_cxt_acquire_cid() argument
2031 *p_cid = rel_cid + p_map->start_cid; in _ecore_cxt_acquire_cid()
2035 *p_cid, rel_cid, vfid, type); in _ecore_cxt_acquire_cid()
2042 u32 *p_cid) in ecore_cxt_acquire_cid() argument
2044 return _ecore_cxt_acquire_cid(p_hwfn, type, p_cid, ECORE_CXT_PF_CID); in ecore_cxt_acquire_cid()
H A Decore_dev.c6471 struct ecore_queue_cid *p_cid = (struct ecore_queue_cid *)p_handle; in ecore_set_queue_coalesce() local
6483 tx_coal, p_cid); in ecore_set_queue_coalesce()
6491 rc = ecore_set_rxq_coalesce(p_hwfn, p_ptt, rx_coal, p_cid); in ecore_set_queue_coalesce()
6498 rc = ecore_set_txq_coalesce(p_hwfn, p_ptt, tx_coal, p_cid); in ecore_set_queue_coalesce()
6512 struct ecore_queue_cid *p_cid) in ecore_set_rxq_coalesce() argument
6533 p_cid->sb_igu_id, false); in ecore_set_rxq_coalesce()
6538 USTORM_ETH_QUEUE_ZONE_OFFSET(p_cid->abs.queue_id); in ecore_set_rxq_coalesce()
6552 struct ecore_queue_cid *p_cid) in ecore_set_txq_coalesce() argument
6573 p_cid->sb_igu_id, true); in ecore_set_txq_coalesce()
6578 XSTORM_ETH_QUEUE_ZONE_OFFSET(p_cid->abs.queue_id); in ecore_set_txq_coalesce()