Home
last modified time | relevance | path

Searched refs:nvfs (Results 1 – 6 of 6) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx4/
Dmain.c1374 int nvfs; in mlx4_mf_bond() local
1394 nvfs = bitmap_weight(slaves_port1.slaves, dev->persist->num_vfs + 1) + in mlx4_mf_bond()
1398 if (nvfs > MAX_MF_BOND_ALLOWED_SLAVES) { in mlx4_mf_bond()
1400 nvfs, MAX_MF_BOND_ALLOWED_SLAVES); in mlx4_mf_bond()
3294 int *nvfs) in mlx4_check_dev_cap() argument
3296 int requested_vfs = nvfs[0] + nvfs[1] + nvfs[2]; in mlx4_check_dev_cap()
3336 int total_vfs, int *nvfs, struct mlx4_priv *priv, in mlx4_load_one() argument
3459 if (mlx4_check_dev_cap(dev, dev_cap, nvfs)) in mlx4_load_one()
3494 if (mlx4_check_dev_cap(dev, dev_cap, nvfs)) in mlx4_load_one()
3566 memcpy(dev->persist->nvfs, nvfs, sizeof(dev->persist->nvfs)); in mlx4_load_one()
[all …]
/linux-6.1.9/drivers/infiniband/hw/bnxt_re/
Dmain.c184 u32 nvfs; in bnxt_re_limit_vf_res() local
192 nvfs = num_vf; in bnxt_re_limit_vf_res()
207 nvfs = num_vf; in bnxt_re_limit_vf_res()
211 vf_res->max_mrw_per_vf = (mrws / nvfs); in bnxt_re_limit_vf_res()
/linux-6.1.9/drivers/net/ethernet/fungible/funeth/
Dfuneth_main.c1966 static int funeth_sriov_configure(struct pci_dev *pdev, int nvfs) in funeth_sriov_configure() argument
1972 if (nvfs == 0) { in funeth_sriov_configure()
1986 rc = pci_enable_sriov(pdev, nvfs); in funeth_sriov_configure()
1991 rc = fun_init_vports(ed, nvfs); in funeth_sriov_configure()
1998 return nvfs; in funeth_sriov_configure()
/linux-6.1.9/drivers/net/ethernet/marvell/octeontx2/af/
Drvu.c445 int pf, vf, nvfs; in is_pf_func_valid() local
458 nvfs = (cfg >> 12) & 0xFF; in is_pf_func_valid()
459 if (vf >= nvfs) in is_pf_func_valid()
/linux-6.1.9/include/linux/mlx4/
Ddevice.h858 int nvfs[MLX4_MAX_PORTS + 1]; member
/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_main.c3202 unsigned int i, vf, nvfs; in cxgb4_mgmt_fill_vf_station_mac_addr() local
3227 for (vf = 0, nvfs = pci_sriov_get_totalvfs(adap->pdev); in cxgb4_mgmt_fill_vf_station_mac_addr()
3228 vf < nvfs; vf++) { in cxgb4_mgmt_fill_vf_station_mac_addr()
3229 macaddr[5] = adap->pf * nvfs + vf; in cxgb4_mgmt_fill_vf_station_mac_addr()