Searched refs:nvfs (Results 1 – 6 of 6) sorted by relevance
| /Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
| D | eswitch.h | 575 #define mlx5_esw_for_each_vf_vport(esw, i, vport, nvfs) \ argument 578 (i) <= (nvfs); (i)++) 580 #define mlx5_esw_for_each_vf_vport_reverse(esw, i, vport, nvfs) \ argument 581 for ((i) = (nvfs); \ 593 #define mlx5_esw_for_each_vf_rep(esw, i, rep, nvfs) \ argument 596 (i) <= (nvfs); (i)++) 598 #define mlx5_esw_for_each_vf_rep_reverse(esw, i, rep, nvfs) \ argument 599 for ((i) = (nvfs); \ 603 #define mlx5_esw_for_each_vf_vport_num(esw, vport, nvfs) \ argument 604 for ((vport) = MLX5_VPORT_FIRST_VF; (vport) <= (nvfs); (vport)++) [all …]
|
| /Linux-v5.10/drivers/net/ethernet/mellanox/mlx4/ |
| D | main.c | 1373 int nvfs; in mlx4_mf_bond() local 1393 nvfs = bitmap_weight(slaves_port1.slaves, dev->persist->num_vfs + 1) + in mlx4_mf_bond() 1397 if (nvfs > MAX_MF_BOND_ALLOWED_SLAVES) { in mlx4_mf_bond() 1399 nvfs, MAX_MF_BOND_ALLOWED_SLAVES); in mlx4_mf_bond() 3285 int *nvfs) in mlx4_check_dev_cap() argument 3287 int requested_vfs = nvfs[0] + nvfs[1] + nvfs[2]; in mlx4_check_dev_cap() 3327 int total_vfs, int *nvfs, struct mlx4_priv *priv, in mlx4_load_one() argument 3448 if (mlx4_check_dev_cap(dev, dev_cap, nvfs)) in mlx4_load_one() 3483 if (mlx4_check_dev_cap(dev, dev_cap, nvfs)) in mlx4_load_one() 3554 memcpy(dev->persist->nvfs, nvfs, sizeof(dev->persist->nvfs)); in mlx4_load_one() [all …]
|
| /Linux-v5.10/drivers/infiniband/hw/bnxt_re/ |
| D | main.c | 177 u32 nvfs; in bnxt_re_limit_vf_res() local 185 nvfs = num_vf; in bnxt_re_limit_vf_res() 200 nvfs = num_vf; in bnxt_re_limit_vf_res() 204 vf_res->max_mrw_per_vf = (mrws / nvfs); in bnxt_re_limit_vf_res()
|
| /Linux-v5.10/drivers/net/ethernet/marvell/octeontx2/af/ |
| D | rvu.c | 380 int pf, vf, nvfs; in is_pf_func_valid() local 393 nvfs = (cfg >> 12) & 0xFF; in is_pf_func_valid() 394 if (vf >= nvfs) in is_pf_func_valid()
|
| /Linux-v5.10/include/linux/mlx4/ |
| D | device.h | 858 int nvfs[MLX4_MAX_PORTS + 1]; member
|
| /Linux-v5.10/drivers/net/ethernet/chelsio/cxgb4/ |
| D | cxgb4_main.c | 3199 unsigned int i, vf, nvfs; in cxgb4_mgmt_fill_vf_station_mac_addr() local 3226 for (vf = 0, nvfs = pci_sriov_get_totalvfs(adap->pdev); in cxgb4_mgmt_fill_vf_station_mac_addr() 3227 vf < nvfs; vf++) { in cxgb4_mgmt_fill_vf_station_mac_addr() 3228 macaddr[5] = adap->pf * nvfs + vf; in cxgb4_mgmt_fill_vf_station_mac_addr()
|