Home
last modified time | relevance | path

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

/linux-6.1.9/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.c408 struct qed_hw_sriov_info *p_iov = p_hwfn->cdev->p_iov_info; in qed_sp_pf_start() local
410 p_ramrod->base_vf_id = (u8)p_iov->first_vf_in_pf; in qed_sp_pf_start()
411 p_ramrod->num_vfs = (u8)p_iov->total_vfs; in qed_sp_pf_start()
Dqed_l2.c1606 struct qed_vf_iov *p_iov = p_hwfn->vf_iov_info; in __qed_get_vport_pstats_addrlen() local
1607 struct pfvf_acquire_resp_tlv *p_resp = &p_iov->acquire_resp; in __qed_get_vport_pstats_addrlen()
1655 struct qed_vf_iov *p_iov = p_hwfn->vf_iov_info; in __qed_get_vport_tstats() local
1656 struct pfvf_acquire_resp_tlv *p_resp = &p_iov->acquire_resp; in __qed_get_vport_tstats()
1682 struct qed_vf_iov *p_iov = p_hwfn->vf_iov_info; in __qed_get_vport_ustats_addrlen() local
1683 struct pfvf_acquire_resp_tlv *p_resp = &p_iov->acquire_resp; in __qed_get_vport_ustats_addrlen()
1723 struct qed_vf_iov *p_iov = p_hwfn->vf_iov_info; in __qed_get_vport_mstats_addrlen() local
1724 struct pfvf_acquire_resp_tlv *p_resp = &p_iov->acquire_resp; in __qed_get_vport_mstats_addrlen()
Dqed_int.c2202 struct qed_hw_sriov_info *p_iov = p_hwfn->cdev->p_iov_info; in qed_int_igu_read_cam() local
2204 min_vf = p_iov->first_vf_in_pf; in qed_int_igu_read_cam()
2205 max_vf = p_iov->first_vf_in_pf + p_iov->total_vfs; in qed_int_igu_read_cam()
Dqed_cxt.c1517 struct qed_hw_sriov_info *p_iov = p_hwfn->cdev->p_iov_info; in qed_ilt_vf_bounds_init() local
1521 p_iov->first_vf_in_pf); in qed_ilt_vf_bounds_init()
1524 p_iov->first_vf_in_pf + p_iov->total_vfs); in qed_ilt_vf_bounds_init()
Dqed_sriov.c407 struct qed_hw_sriov_info *p_iov = p_hwfn->cdev->p_iov_info; in qed_iov_setup_vfdb() local
429 for (idx = 0; idx < p_iov->total_vfs; idx++) { in qed_iov_setup_vfdb()
448 vf->abs_vf_id = idx + p_iov->first_vf_in_pf; in qed_iov_setup_vfdb()
4095 struct qed_hw_sriov_info *p_iov = p_hwfn->cdev->p_iov_info; in qed_iov_get_next_active_vf() local
4098 if (!p_iov) in qed_iov_get_next_active_vf()
4101 for (i = rel_vf_id; i < p_iov->total_vfs; i++) in qed_iov_get_next_active_vf()