Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/qlogic/qed/
Dqed_vf.c41 struct qed_vf_iov *p_iov = p_hwfn->vf_iov_info; in qed_vf_pf_prep() local
49 mutex_lock(&(p_iov->mutex)); in qed_vf_pf_prep()
57 p_iov->offset = (u8 *)p_iov->vf2pf_request; in qed_vf_pf_prep()
60 memset(p_iov->vf2pf_request, 0, sizeof(union vfpf_tlvs)); in qed_vf_pf_prep()
61 memset(p_iov->pf2vf_reply, 0, sizeof(union pfvf_tlvs)); in qed_vf_pf_prep()
64 p_tlv = qed_add_tlv(p_hwfn, &p_iov->offset, type, length); in qed_vf_pf_prep()
68 (u64)p_iov->pf2vf_reply_phys; in qed_vf_pf_prep()
159 struct qed_vf_iov *p_iov = p_hwfn->vf_iov_info; in qed_vf_pf_add_qid() local
163 if (!(p_iov->acquire_resp.pfdev_info.capabilities & in qed_vf_pf_add_qid()
167 p_qid_tlv = qed_add_tlv(p_hwfn, &p_iov->offset, in qed_vf_pf_add_qid()
[all …]
Dqed_sp_commands.c425 struct qed_hw_sriov_info *p_iov = p_hwfn->cdev->p_iov_info; in qed_sp_pf_start() local
427 p_ramrod->base_vf_id = (u8) p_iov->first_vf_in_pf; in qed_sp_pf_start()
428 p_ramrod->num_vfs = (u8) p_iov->total_vfs; in qed_sp_pf_start()
Dqed_l2.c1626 struct qed_vf_iov *p_iov = p_hwfn->vf_iov_info; in __qed_get_vport_pstats_addrlen() local
1627 struct pfvf_acquire_resp_tlv *p_resp = &p_iov->acquire_resp; in __qed_get_vport_pstats_addrlen()
1675 struct qed_vf_iov *p_iov = p_hwfn->vf_iov_info; in __qed_get_vport_tstats() local
1676 struct pfvf_acquire_resp_tlv *p_resp = &p_iov->acquire_resp; in __qed_get_vport_tstats()
1702 struct qed_vf_iov *p_iov = p_hwfn->vf_iov_info; in __qed_get_vport_ustats_addrlen() local
1703 struct pfvf_acquire_resp_tlv *p_resp = &p_iov->acquire_resp; in __qed_get_vport_ustats_addrlen()
1743 struct qed_vf_iov *p_iov = p_hwfn->vf_iov_info; in __qed_get_vport_mstats_addrlen() local
1744 struct pfvf_acquire_resp_tlv *p_resp = &p_iov->acquire_resp; in __qed_get_vport_mstats_addrlen()
Dqed_int.c2176 struct qed_hw_sriov_info *p_iov = p_hwfn->cdev->p_iov_info; in qed_int_igu_read_cam() local
2178 min_vf = p_iov->first_vf_in_pf; in qed_int_igu_read_cam()
2179 max_vf = p_iov->first_vf_in_pf + p_iov->total_vfs; in qed_int_igu_read_cam()
Dqed_cxt.c1620 struct qed_hw_sriov_info *p_iov = p_hwfn->cdev->p_iov_info; in qed_ilt_vf_bounds_init() local
1624 p_iov->first_vf_in_pf); in qed_ilt_vf_bounds_init()
1627 p_iov->first_vf_in_pf + p_iov->total_vfs); in qed_ilt_vf_bounds_init()
Dqed_sriov.c429 struct qed_hw_sriov_info *p_iov = p_hwfn->cdev->p_iov_info; in qed_iov_setup_vfdb() local
451 for (idx = 0; idx < p_iov->total_vfs; idx++) { in qed_iov_setup_vfdb()
470 vf->abs_vf_id = idx + p_iov->first_vf_in_pf; in qed_iov_setup_vfdb()
4082 struct qed_hw_sriov_info *p_iov = p_hwfn->cdev->p_iov_info; in qed_iov_get_next_active_vf() local
4085 if (!p_iov) in qed_iov_get_next_active_vf()
4088 for (i = rel_vf_id; i < p_iov->total_vfs; i++) in qed_iov_get_next_active_vf()