Lines Matching refs:rel_vf_id
136 int rel_vf_id, in qed_iov_is_valid_vfid() argument
144 if ((rel_vf_id >= p_hwfn->cdev->p_iov_info->total_vfs) || in qed_iov_is_valid_vfid()
145 (rel_vf_id < 0)) in qed_iov_is_valid_vfid()
148 if ((!p_hwfn->pf_iov_info->vfs_array[rel_vf_id].b_init) && in qed_iov_is_valid_vfid()
152 if ((p_hwfn->pf_iov_info->vfs_array[rel_vf_id].b_malicious) && in qed_iov_is_valid_vfid()
678 u16 rel_vf_id, u8 to_disable) in qed_iov_set_vf_to_disable() argument
686 vf = qed_iov_get_vf_info(p_hwfn, rel_vf_id, false); in qed_iov_set_vf_to_disable()
991 vf = qed_iov_get_vf_info(p_hwfn, p_params->rel_vf_id, false); in qed_iov_init_hw_for_vf()
999 p_params->rel_vf_id); in qed_iov_init_hw_for_vf()
1014 p_params->rel_vf_id, in qed_iov_init_hw_for_vf()
1023 qid, p_params->rel_vf_id, max_vf_qzone); in qed_iov_init_hw_for_vf()
1032 p_params->rel_vf_id, qid, i); in qed_iov_init_hw_for_vf()
1073 qed_iov_set_link(p_hwfn, p_params->rel_vf_id, in qed_iov_init_hw_for_vf()
1088 struct qed_ptt *p_ptt, u16 rel_vf_id) in qed_iov_release_hw_for_vf() argument
1095 vf = qed_iov_get_vf_info(p_hwfn, rel_vf_id, true); in qed_iov_release_hw_for_vf()
1113 qed_iov_set_link(p_hwfn, rel_vf_id, ¶ms, &link, &caps); in qed_iov_release_hw_for_vf()
3686 u16 rel_vf_id, u32 *ack_vfs) in qed_iov_execute_vf_flr_cleanup() argument
3691 p_vf = qed_iov_get_vf_info(p_hwfn, rel_vf_id, false); in qed_iov_execute_vf_flr_cleanup()
3695 if (p_hwfn->pf_iov_info->pending_flr[rel_vf_id / 64] & in qed_iov_execute_vf_flr_cleanup()
3696 (1ULL << (rel_vf_id % 64))) { in qed_iov_execute_vf_flr_cleanup()
3741 p_hwfn->pf_iov_info->pending_flr[rel_vf_id / 64] &= in qed_iov_execute_vf_flr_cleanup()
3742 ~(1ULL << (rel_vf_id % 64)); in qed_iov_execute_vf_flr_cleanup()
3799 u16 rel_vf_id = p_vf->relative_vf_id; in qed_iov_mark_vf_flr() local
3803 vfid, rel_vf_id); in qed_iov_mark_vf_flr()
3812 p_flr[rel_vf_id / 64] |= 1ULL << (rel_vf_id % 64); in qed_iov_mark_vf_flr()
4093 u16 qed_iov_get_next_active_vf(struct qed_hwfn *p_hwfn, u16 rel_vf_id) in qed_iov_get_next_active_vf() argument
4101 for (i = rel_vf_id; i < p_iov->total_vfs; i++) in qed_iov_get_next_active_vf()
4102 if (qed_iov_is_valid_vfid(p_hwfn, rel_vf_id, true, false)) in qed_iov_get_next_active_vf()
4323 static u8 *qed_iov_bulletin_get_mac(struct qed_hwfn *p_hwfn, u16 rel_vf_id) in qed_iov_bulletin_get_mac() argument
4327 p_vf = qed_iov_get_vf_info(p_hwfn, rel_vf_id, true); in qed_iov_bulletin_get_mac()
4339 u16 rel_vf_id) in qed_iov_bulletin_get_forced_mac() argument
4343 p_vf = qed_iov_get_vf_info(p_hwfn, rel_vf_id, true); in qed_iov_bulletin_get_forced_mac()
4354 qed_iov_bulletin_get_forced_vlan(struct qed_hwfn *p_hwfn, u16 rel_vf_id) in qed_iov_bulletin_get_forced_vlan() argument
4358 p_vf = qed_iov_get_vf_info(p_hwfn, rel_vf_id, true); in qed_iov_bulletin_get_forced_vlan()
4532 params->rel_vf_id = vfid; in qed_sriov_enable_qid_config()