Searched refs:nvfs (Results 1 – 6 of 6) sorted by relevance
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx4/ |
D | main.c | 1375 int nvfs; in mlx4_mf_bond() local 1395 nvfs = bitmap_weight(slaves_port1.slaves, dev->persist->num_vfs + 1) + in mlx4_mf_bond() 1399 if (nvfs > MAX_MF_BOND_ALLOWED_SLAVES) { in mlx4_mf_bond() 1401 nvfs, MAX_MF_BOND_ALLOWED_SLAVES); in mlx4_mf_bond() 3264 int *nvfs) in mlx4_check_dev_cap() argument 3266 int requested_vfs = nvfs[0] + nvfs[1] + nvfs[2]; in mlx4_check_dev_cap() 3306 int total_vfs, int *nvfs, struct mlx4_priv *priv, in mlx4_load_one() argument 3427 if (mlx4_check_dev_cap(dev, dev_cap, nvfs)) in mlx4_load_one() 3462 if (mlx4_check_dev_cap(dev, dev_cap, nvfs)) in mlx4_load_one() 3533 memcpy(dev->persist->nvfs, nvfs, sizeof(dev->persist->nvfs)); in mlx4_load_one() [all …]
|
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/ |
D | eswitch.h | 195 int mlx5_eswitch_enable_sriov(struct mlx5_eswitch *esw, int nvfs, int mode); 275 int mlx5_eswitch_inline_mode_get(struct mlx5_eswitch *esw, int nvfs, u8 *mode); 315 static inline int mlx5_eswitch_enable_sriov(struct mlx5_eswitch *esw, int nvfs, int mode) { return… in mlx5_eswitch_enable_sriov() argument
|
D | eswitch.c | 1600 int mlx5_eswitch_enable_sriov(struct mlx5_eswitch *esw, int nvfs, int mode) in mlx5_eswitch_enable_sriov() argument 1617 esw_info(esw->dev, "E-Switch enable SRIOV: nvfs(%d) mode (%d)\n", nvfs, mode); in mlx5_eswitch_enable_sriov() 1625 err = esw_offloads_init(esw, nvfs + 1); in mlx5_eswitch_enable_sriov() 1640 for (i = 0; i <= nvfs; i++) in mlx5_eswitch_enable_sriov()
|
D | eswitch_offloads.c | 1201 int mlx5_eswitch_inline_mode_get(struct mlx5_eswitch *esw, int nvfs, u8 *mode) in mlx5_eswitch_inline_mode_get() argument 1225 for (vport = 1; vport <= nvfs; vport++) { in mlx5_eswitch_inline_mode_get()
|
/Linux-v4.19/include/linux/mlx4/ |
D | device.h | 869 int nvfs[MLX4_MAX_PORTS + 1]; member
|
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_main.c | 2644 unsigned int i, vf, nvfs; in cxgb4_mgmt_fill_vf_station_mac_addr() local 2671 for (vf = 0, nvfs = pci_sriov_get_totalvfs(adap->pdev); in cxgb4_mgmt_fill_vf_station_mac_addr() 2672 vf < nvfs; vf++) { in cxgb4_mgmt_fill_vf_station_mac_addr()
|