Home
last modified time | relevance | path

Searched refs:p_iov_info (Results 1 – 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/
Dqed_sriov.c142 if ((rel_vf_id >= p_hwfn->cdev->p_iov_info->total_vfs) || in qed_iov_is_valid_vfid()
340 struct qed_hw_sriov_info *iov = cdev->p_iov_info; in qed_iov_pci_cfg_info()
405 struct qed_hw_sriov_info *p_iov = p_hwfn->cdev->p_iov_info; in qed_iov_setup_vfdb()
406 struct qed_pf_iov *p_iov_info = p_hwfn->pf_iov_info; in qed_iov_setup_vfdb() local
413 memset(p_iov_info->vfs_array, 0, sizeof(p_iov_info->vfs_array)); in qed_iov_setup_vfdb()
415 p_req_virt_addr = p_iov_info->mbx_msg_virt_addr; in qed_iov_setup_vfdb()
416 req_p = p_iov_info->mbx_msg_phys_addr; in qed_iov_setup_vfdb()
417 p_reply_virt_addr = p_iov_info->mbx_reply_virt_addr; in qed_iov_setup_vfdb()
418 rply_p = p_iov_info->mbx_reply_phys_addr; in qed_iov_setup_vfdb()
419 p_bulletin_virt = p_iov_info->p_bulletins; in qed_iov_setup_vfdb()
[all …]
Dqed_sriov.h19 #define IS_PF_SRIOV(p_hwfn) (!!((p_hwfn)->cdev->p_iov_info))
Dqed_sp_commands.c400 if (p_hwfn->cdev->p_iov_info) { in qed_sp_pf_start()
401 struct qed_hw_sriov_info *p_iov = p_hwfn->cdev->p_iov_info; in qed_sp_pf_start()
Dqed_cxt.c1160 if (p_hwfn->cdev->p_iov_info) { in qed_cxt_mngr_alloc()
1161 p_mngr->vf_count = p_hwfn->cdev->p_iov_info->total_vfs; in qed_cxt_mngr_alloc()
1163 p_hwfn->cdev->p_iov_info->first_vf_in_pf; in qed_cxt_mngr_alloc()
1530 if (p_hwfn->cdev->p_iov_info) { in qed_ilt_vf_bounds_init()
1531 struct qed_hw_sriov_info *p_iov = p_hwfn->cdev->p_iov_info; in qed_ilt_vf_bounds_init()
1693 (p_hwfn->cdev->p_iov_info->first_vf_in_pf + i); in qed_tm_init_pf()
1727 (p_hwfn->cdev->p_iov_info->first_vf_in_pf + i); in qed_tm_init_pf()
Dqed.h789 struct qed_hw_sriov_info *p_iov_info; member
790 #define IS_QED_SRIOV(cdev) (!!(cdev)->p_iov_info)
Dqed_int.c2039 u16 vfs = p_hwfn->cdev->p_iov_info->total_vfs; in qed_int_igu_reset_cam()
2105 p_hwfn->cdev->p_iov_info->first_vf_in_pf + in qed_int_igu_reset_cam()
2181 if (p_hwfn->cdev->p_iov_info) { in qed_int_igu_read_cam()
2182 struct qed_hw_sriov_info *p_iov = p_hwfn->cdev->p_iov_info; in qed_int_igu_read_cam()
Dqed_l2.c2229 max_vf_vlan_filters = cdev->p_iov_info->total_vfs * in qed_fill_eth_dev_info()
2231 max_vf_mac_filters = cdev->p_iov_info->total_vfs * in qed_fill_eth_dev_info()
Dqed_dev.c1455 p_hwfn->cdev->p_iov_info->total_vfs : 0; in qed_init_qm_get_num_vfs()