Searched refs:total_vfs (Results 1 – 10 of 10) sorted by relevance
/freebsd/sys/dev/mlx4/mlx4_core/ |
H A D | mlx4_main.c | 3106 u8 total_vfs, int existing_vfs, int reset_flow) in mlx4_enable_sriov() argument 3112 dev->dev_vfs = kcalloc(total_vfs, sizeof(*dev->dev_vfs), in mlx4_enable_sriov() 3121 if (existing_vfs != total_vfs) { in mlx4_enable_sriov() 3123 existing_vfs, total_vfs); in mlx4_enable_sriov() 3124 total_vfs = existing_vfs; in mlx4_enable_sriov() 3128 dev->dev_vfs = kzalloc(total_vfs * sizeof(*dev->dev_vfs), GFP_KERNEL); in mlx4_enable_sriov() 3135 mlx4_warn(dev, "Enabling SR-IOV with %d VFs\n", total_vfs); in mlx4_enable_sriov() 3136 err = pci_enable_sriov(pdev, total_vfs); in mlx4_enable_sriov() 3147 dev->persist->num_vfs = total_vfs; in mlx4_enable_sriov() 3207 int total_vfs, int *nvfs, struct mlx4_priv *priv, in mlx4_load_one() argument [all …]
|
/freebsd/usr.sbin/pciconf/ |
H A D | cap.c | 1082 uint16_t iov_ctl, total_vfs, num_vfs, vf_offset, vf_stride, vf_did; 1094 total_vfs = read_config(fd, &p->pc_sel, ptr + PCIR_SRIOV_TOTAL_VFS, 2); 1097 printf("%d VFs configured out of %d supported\n", num_vfs, total_vfs); 967 uint16_t iov_ctl, total_vfs, num_vfs, vf_offset, vf_stride, vf_did; ecap_sriov() local
|
/freebsd/sys/dev/qlnx/qlnxe/ |
H A D | ecore_sriov.c | 201 if ((rel_vf_id >= p_hwfn->p_dev->p_iov_info->total_vfs) || in ecore_iov_is_valid_vfid() 410 &iov->total_vfs); in ecore_iov_pci_cfg_info() 454 iov->total_vfs, iov->initial_vfs, iov->nr_virtfn, in ecore_iov_pci_cfg_info() 459 iov->total_vfs > NUM_OF_VFS(p_dev)) { in ecore_iov_pci_cfg_info() 468 iov->total_vfs = 0; in ecore_iov_pci_cfg_info() 497 for (idx = 0; idx < p_iov->total_vfs; idx++) { in ecore_iov_setup_vfdb() 538 num_vfs = p_hwfn->p_dev->p_iov_info->total_vfs; in ecore_iov_allocate_vfdb() 690 if (!p_dev->p_iov_info->total_vfs) { in ecore_iov_hw_info() 776 for (i = 0; i < p_dev->p_iov_info->total_vfs; i++) in ecore_iov_set_vfs_to_disable() 4011 for (i = 0; i < p_hwfn->p_dev->p_iov_info->total_vfs; i++) in ecore_iov_vf_flr_cleanup() [all …]
|
H A D | ecore_iov_api.h | 166 u16 total_vfs; /* total VFs associated with the PF */ member
|
H A D | ecore_int.c | 2139 u16 vfs = p_hwfn->p_dev->p_iov_info->total_vfs; in ecore_int_igu_reset_cam() 2165 p_info->usage.iov_cnt = p_hwfn->p_dev->p_iov_info->total_vfs; in ecore_int_igu_reset_cam() 2310 max_vf = p_iov->first_vf_in_pf + p_iov->total_vfs; in ecore_int_igu_read_cam()
|
H A D | ecore_sp_commands.c | 433 p_ramrod->num_vfs = (u8)p_iov->total_vfs; in ecore_sp_pf_start()
|
H A D | ecore_cxt.c | 1331 p_mngr->vf_count = p_hwfn->p_dev->p_iov_info->total_vfs; in ecore_cxt_mngr_alloc() 1713 p_iov->first_vf_in_pf + p_iov->total_vfs); in ecore_ilt_vf_bounds_init()
|
H A D | ecore_dev.c | 1846 return IS_ECORE_SRIOV(p_hwfn->p_dev) ? p_hwfn->p_dev->p_iov_info->total_vfs : 0; in ecore_init_qm_get_num_vfs()
|
H A D | qlnx_os.c | 8335 for (i = 0; i < p_hwfn->p_dev->p_iov_info->total_vfs; i++) { in qlnx_inform_vf_link_state()
|
/freebsd/sys/dev/pci/ |
H A D | pci_iov.c | 687 uint16_t num_vfs, total_vfs; in pci_iov_config() local 710 total_vfs = IOV_READ(dinfo, PCIR_SRIOV_TOTAL_VFS, 2); in pci_iov_config() 711 if (num_vfs > total_vfs) { in pci_iov_config()
|