Searched refs:total_vfs (Results 1 - 10 of 10) sorted by relevance
/freebsd-11-stable/sys/dev/mlx4/mlx4_core/ |
H A D | mlx4_main.c | 3100 u8 total_vfs, int existing_vfs, int reset_flow) 3106 dev->dev_vfs = kcalloc(total_vfs, sizeof(*dev->dev_vfs), 3115 if (existing_vfs != total_vfs) { 3117 existing_vfs, total_vfs); 3118 total_vfs = existing_vfs; 3122 dev->dev_vfs = kzalloc(total_vfs * sizeof(*dev->dev_vfs), GFP_KERNEL); 3129 mlx4_warn(dev, "Enabling SR-IOV with %d VFs\n", total_vfs); 3130 err = pci_enable_sriov(pdev, total_vfs); 3141 dev->persist->num_vfs = total_vfs; 3201 int total_vfs, in 3099 mlx4_enable_sriov(struct mlx4_dev *dev, struct pci_dev *pdev, u8 total_vfs, int existing_vfs, int reset_flow) argument 3200 mlx4_load_one(struct pci_dev *pdev, int pci_dev_data, int total_vfs, int *nvfs, struct mlx4_priv *priv, int reset_flow) argument 3604 unsigned total_vfs = 0; local 3974 int pci_dev_data, err, total_vfs; local 4102 int total_vfs; local [all...] |
/freebsd-11-stable/sys/dev/qlnx/qlnxe/ |
H A D | ecore_sriov.c | 204 if ((rel_vf_id >= p_hwfn->p_dev->p_iov_info->total_vfs) || 413 &iov->total_vfs); 457 iov->total_vfs, iov->initial_vfs, iov->nr_virtfn, 462 iov->total_vfs > NUM_OF_VFS(p_dev)) { 471 iov->total_vfs = 0; 500 for (idx = 0; idx < p_iov->total_vfs; idx++) { 541 num_vfs = p_hwfn->p_dev->p_iov_info->total_vfs; 693 if (!p_dev->p_iov_info->total_vfs) { 779 for (i = 0; i < p_dev->p_iov_info->total_vfs; i++) 4014 for (i = 0; i < p_hwfn->p_dev->p_iov_info->total_vfs; [all...] |
H A D | ecore_iov_api.h | 168 u16 total_vfs; /* total VFs associated with the PF */ member in struct:ecore_hw_sriov_info
|
H A D | ecore_int.c | 2143 u16 vfs = p_hwfn->p_dev->p_iov_info->total_vfs; 2169 p_info->usage.iov_cnt = p_hwfn->p_dev->p_iov_info->total_vfs; 2314 max_vf = p_iov->first_vf_in_pf + p_iov->total_vfs;
|
H A D | ecore_sp_commands.c | 435 p_ramrod->num_vfs = (u8)p_iov->total_vfs;
|
H A D | ecore_cxt.c | 1334 p_mngr->vf_count = p_hwfn->p_dev->p_iov_info->total_vfs; 1717 p_iov->first_vf_in_pf + p_iov->total_vfs);
|
H A D | qlnx_os.c | 8635 for (i = 0; i < p_hwfn->p_dev->p_iov_info->total_vfs; i++) {
|
H A D | ecore_dev.c | 1850 return IS_ECORE_SRIOV(p_hwfn->p_dev) ? p_hwfn->p_dev->p_iov_info->total_vfs : 0;
|
/freebsd-11-stable/sys/dev/pci/ |
H A D | pci_iov.c | 678 uint16_t num_vfs, total_vfs; local 700 total_vfs = IOV_READ(dinfo, PCIR_SRIOV_TOTAL_VFS, 2); 701 if (num_vfs > total_vfs) {
|
/freebsd-11-stable/usr.sbin/pciconf/ |
H A D | cap.c | 898 uint16_t iov_ctl, total_vfs, num_vfs, vf_offset, vf_stride, vf_did; local 910 total_vfs = read_config(fd, &p->pc_sel, ptr + PCIR_SRIOV_TOTAL_VFS, 2); 913 printf("%d VFs configured out of %d supported\n", num_vfs, total_vfs);
|
Completed in 240 milliseconds