Searched refs:total_vfs (Results 1 - 10 of 10) sorted by relevance

/freebsd-11-stable/sys/dev/mlx4/mlx4_core/
H A Dmlx4_main.c3100 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 Decore_sriov.c204 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 Decore_iov_api.h168 u16 total_vfs; /* total VFs associated with the PF */ member in struct:ecore_hw_sriov_info
H A Decore_int.c2143 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 Decore_sp_commands.c435 p_ramrod->num_vfs = (u8)p_iov->total_vfs;
H A Decore_cxt.c1334 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 Dqlnx_os.c8635 for (i = 0; i < p_hwfn->p_dev->p_iov_info->total_vfs; i++) {
H A Decore_dev.c1850 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 Dpci_iov.c678 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 Dcap.c898 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