Home
last modified time | relevance | path

Searched refs:p_iov (Results 1 – 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/
Dqed_vf.c15 struct qed_vf_iov *p_iov = p_hwfn->vf_iov_info; in qed_vf_pf_prep() local
23 mutex_lock(&(p_iov->mutex)); in qed_vf_pf_prep()
31 p_iov->offset = (u8 *)p_iov->vf2pf_request; in qed_vf_pf_prep()
34 memset(p_iov->vf2pf_request, 0, sizeof(union vfpf_tlvs)); in qed_vf_pf_prep()
35 memset(p_iov->pf2vf_reply, 0, sizeof(union pfvf_tlvs)); in qed_vf_pf_prep()
38 p_tlv = qed_add_tlv(p_hwfn, &p_iov->offset, type, length); in qed_vf_pf_prep()
42 (u64)p_iov->pf2vf_reply_phys; in qed_vf_pf_prep()
146 struct qed_vf_iov *p_iov = p_hwfn->vf_iov_info; in qed_vf_pf_add_qid() local
150 if (!(p_iov->acquire_resp.pfdev_info.capabilities & in qed_vf_pf_add_qid()
154 p_qid_tlv = qed_add_tlv(p_hwfn, &p_iov->offset, in qed_vf_pf_add_qid()
[all …]
Dqed_sp_commands.c401 struct qed_hw_sriov_info *p_iov = p_hwfn->cdev->p_iov_info; in qed_sp_pf_start() local
403 p_ramrod->base_vf_id = (u8) p_iov->first_vf_in_pf; in qed_sp_pf_start()
404 p_ramrod->num_vfs = (u8) p_iov->total_vfs; in qed_sp_pf_start()
Dqed_l2.c1605 struct qed_vf_iov *p_iov = p_hwfn->vf_iov_info; in __qed_get_vport_pstats_addrlen() local
1606 struct pfvf_acquire_resp_tlv *p_resp = &p_iov->acquire_resp; in __qed_get_vport_pstats_addrlen()
1654 struct qed_vf_iov *p_iov = p_hwfn->vf_iov_info; in __qed_get_vport_tstats() local
1655 struct pfvf_acquire_resp_tlv *p_resp = &p_iov->acquire_resp; in __qed_get_vport_tstats()
1681 struct qed_vf_iov *p_iov = p_hwfn->vf_iov_info; in __qed_get_vport_ustats_addrlen() local
1682 struct pfvf_acquire_resp_tlv *p_resp = &p_iov->acquire_resp; in __qed_get_vport_ustats_addrlen()
1722 struct qed_vf_iov *p_iov = p_hwfn->vf_iov_info; in __qed_get_vport_mstats_addrlen() local
1723 struct pfvf_acquire_resp_tlv *p_resp = &p_iov->acquire_resp; in __qed_get_vport_mstats_addrlen()
Dqed_int.c2182 struct qed_hw_sriov_info *p_iov = p_hwfn->cdev->p_iov_info; in qed_int_igu_read_cam() local
2184 min_vf = p_iov->first_vf_in_pf; in qed_int_igu_read_cam()
2185 max_vf = p_iov->first_vf_in_pf + p_iov->total_vfs; in qed_int_igu_read_cam()
Dqed_cxt.c1531 struct qed_hw_sriov_info *p_iov = p_hwfn->cdev->p_iov_info; in qed_ilt_vf_bounds_init() local
1535 p_iov->first_vf_in_pf); in qed_ilt_vf_bounds_init()
1538 p_iov->first_vf_in_pf + p_iov->total_vfs); in qed_ilt_vf_bounds_init()
Dqed_sriov.c405 struct qed_hw_sriov_info *p_iov = p_hwfn->cdev->p_iov_info; in qed_iov_setup_vfdb() local
427 for (idx = 0; idx < p_iov->total_vfs; idx++) { in qed_iov_setup_vfdb()
446 vf->abs_vf_id = idx + p_iov->first_vf_in_pf; in qed_iov_setup_vfdb()
4070 struct qed_hw_sriov_info *p_iov = p_hwfn->cdev->p_iov_info; in qed_iov_get_next_active_vf() local
4073 if (!p_iov) in qed_iov_get_next_active_vf()
4076 for (i = rel_vf_id; i < p_iov->total_vfs; i++) in qed_iov_get_next_active_vf()