Home
last modified time | relevance | path

Searched refs:ec_vf_func (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dvport.c1300 bool ec_vf_func = false; in mlx5_vport_get_other_func_cap() local
1307 ec_vf_func = mlx5_core_is_ec_vf_vport(dev, vport); in mlx5_vport_get_other_func_cap()
1308 function_id = mlx5_vport_to_func_id(dev, vport, ec_vf_func); in mlx5_vport_get_other_func_cap()
1313 ec_vf_func = false; in mlx5_vport_get_other_func_cap()
1322 MLX5_SET(query_hca_cap_in, in, ec_vf_function, ec_vf_func); in mlx5_vport_get_other_func_cap()
1361 bool ec_vf_func = false; in mlx5_vport_set_other_func_cap() local
1375 ec_vf_func = mlx5_core_is_ec_vf_vport(dev, vport); in mlx5_vport_set_other_func_cap()
1376 function_id = mlx5_vport_to_func_id(dev, vport, ec_vf_func); in mlx5_vport_set_other_func_cap()
1381 ec_vf_func = false; in mlx5_vport_set_other_func_cap()
1391 MLX5_SET(set_hca_cap_in, set_ctx, ec_vf_function, ec_vf_func); in mlx5_vport_set_other_func_cap()
H A Dmlx5_core.h496 static inline int mlx5_vport_to_func_id(const struct mlx5_core_dev *dev, u16 vport, bool ec_vf_func) in mlx5_vport_to_func_id() argument
498 return ec_vf_func ? vport - mlx5_core_ec_vf_vport_base(dev) + 1 in mlx5_vport_to_func_id()
H A Dpci_irq.c48 bool ec_vf_func) in mlx5_core_func_to_vport() argument
50 if (!ec_vf_func) in mlx5_core_func_to_vport()