Home
last modified time | relevance | path

Searched refs:mlx5_core_ec_sriov_enabled (Results 1 – 5 of 5) sorted by relevance

/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/
Dsriov.c108 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()
Dmlx5_core.h352 static inline u16 mlx5_core_ec_sriov_enabled(const struct mlx5_core_dev *dev) in mlx5_core_ec_sriov_enabled() function
362 if (!mlx5_core_ec_sriov_enabled(dev)) in mlx5_core_is_ec_vf_vport()
Deswitch.c1298 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()
Dpci_irq.c118 ec_vf_function = mlx5_core_ec_sriov_enabled(dev); in mlx5_set_msix_vec_count()
Deswitch_offloads.c1242 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()