Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/qlogic/qed/
H A Dqed_sriov.c144 if ((rel_vf_id >= p_hwfn->cdev->p_iov_info->total_vfs) || in qed_iov_is_valid_vfid()
342 struct qed_hw_sriov_info *iov = cdev->p_iov_info; in qed_iov_pci_cfg_info()
407 struct qed_hw_sriov_info *p_iov = p_hwfn->cdev->p_iov_info; in qed_iov_setup_vfdb()
408 struct qed_pf_iov *p_iov_info = p_hwfn->pf_iov_info; in qed_iov_setup_vfdb() local
415 memset(p_iov_info->vfs_array, 0, sizeof(p_iov_info->vfs_array)); in qed_iov_setup_vfdb()
417 p_req_virt_addr = p_iov_info->mbx_msg_virt_addr; in qed_iov_setup_vfdb()
418 req_p = p_iov_info->mbx_msg_phys_addr; in qed_iov_setup_vfdb()
419 p_reply_virt_addr = p_iov_info->mbx_reply_virt_addr; in qed_iov_setup_vfdb()
420 rply_p = p_iov_info->mbx_reply_phys_addr; in qed_iov_setup_vfdb()
421 p_bulletin_virt = p_iov_info->p_bulletins; in qed_iov_setup_vfdb()
[all …]
H A Dqed_sp_commands.c407 if (p_hwfn->cdev->p_iov_info) { in qed_sp_pf_start()
408 struct qed_hw_sriov_info *p_iov = p_hwfn->cdev->p_iov_info; in qed_sp_pf_start()
H A Dqed_sriov.h19 #define IS_PF_SRIOV(p_hwfn) (!!((p_hwfn)->cdev->p_iov_info))
H A Dqed_cxt.c1156 if (p_hwfn->cdev->p_iov_info) { in qed_cxt_mngr_alloc()
1157 p_mngr->vf_count = p_hwfn->cdev->p_iov_info->total_vfs; in qed_cxt_mngr_alloc()
1159 p_hwfn->cdev->p_iov_info->first_vf_in_pf; in qed_cxt_mngr_alloc()
1517 if (p_hwfn->cdev->p_iov_info) { in qed_ilt_vf_bounds_init()
1518 struct qed_hw_sriov_info *p_iov = p_hwfn->cdev->p_iov_info; in qed_ilt_vf_bounds_init()
1680 (p_hwfn->cdev->p_iov_info->first_vf_in_pf + i); in qed_tm_init_pf()
1714 (p_hwfn->cdev->p_iov_info->first_vf_in_pf + i); in qed_tm_init_pf()
H A Dqed.h779 struct qed_hw_sriov_info *p_iov_info; member
780 #define IS_QED_SRIOV(cdev) (!!(cdev)->p_iov_info)
H A Dqed_int.c2059 u16 vfs = p_hwfn->cdev->p_iov_info->total_vfs; in qed_int_igu_reset_cam()
2125 p_hwfn->cdev->p_iov_info->first_vf_in_pf + in qed_int_igu_reset_cam()
2201 if (p_hwfn->cdev->p_iov_info) { in qed_int_igu_read_cam()
2202 struct qed_hw_sriov_info *p_iov = p_hwfn->cdev->p_iov_info; in qed_int_igu_read_cam()
H A Dqed_l2.c2239 max_vf_vlan_filters = cdev->p_iov_info->total_vfs * in qed_fill_eth_dev_info()
2241 max_vf_mac_filters = cdev->p_iov_info->total_vfs * in qed_fill_eth_dev_info()
H A Dqed_dev.c1468 p_hwfn->cdev->p_iov_info->total_vfs : 0; in qed_init_qm_get_num_vfs()