Searched refs:mlx5_core_ec_sriov_enabled (Results 1 – 5 of 5) sorted by relevance
108 vport_num = mlx5_core_ec_sriov_enabled(dev) ? in mlx5_device_enable_sriov()162 if (mlx5_core_ec_sriov_enabled(dev)) in mlx5_device_disable_sriov()307 sriov->max_ec_vfs = mlx5_core_ec_sriov_enabled(dev) ? pci_sriov_get_totalvfs(dev->pdev) : 0; in mlx5_sriov_init()
352 static inline u16 mlx5_core_ec_sriov_enabled(const struct mlx5_core_dev *dev) in mlx5_core_ec_sriov_enabled() function362 if (!mlx5_core_ec_sriov_enabled(dev)) in mlx5_core_is_ec_vf_vport()
1298 if (mlx5_core_ec_sriov_enabled(esw->dev)) { in mlx5_eswitch_enable_pf_vf_vports()1314 if (mlx5_core_ec_sriov_enabled(esw->dev)) in mlx5_eswitch_enable_pf_vf_vports()1335 if (mlx5_core_ec_sriov_enabled(esw->dev)) in mlx5_eswitch_disable_pf_vf_vports()1385 if (mlx5_core_ec_sriov_enabled(esw->dev)) in mlx5_eswitch_update_num_of_vfs()1550 } else if (mlx5_core_ec_sriov_enabled(esw->dev)) { in mlx5_eswitch_enable()1587 } else if (mlx5_core_ec_sriov_enabled(esw->dev)) { in mlx5_eswitch_disable_sriov()1788 if (mlx5_core_ec_sriov_enabled(esw->dev)) { in mlx5_esw_vports_init()
118 ec_vf_function = mlx5_core_ec_sriov_enabled(dev); in mlx5_set_msix_vec_count()
1242 if (mlx5_core_ec_sriov_enabled(esw->dev)) { in esw_add_fdb_peer_miss_rules()1303 if (mlx5_core_ec_sriov_enabled(esw->dev)) { in esw_del_fdb_peer_miss_rules()3514 if (mlx5_core_ec_sriov_enabled(esw->dev)) in esw_offloads_enable()3791 if (mlx5_core_ec_sriov_enabled(esw->dev)) { in mlx5_esw_vports_inline_set()