Searched refs:ec_vf_func (Results 1 – 2 of 2) sorted by relevance
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | vport.c | 1344 bool ec_vf_func = false; in mlx5_query_nic_sw_system_image_guid() 1351 ec_vf_func = mlx5_core_is_ec_vf_vport(dev, vport); in mlx5_query_nic_sw_system_image_guid() 1352 function_id = mlx5_vport_to_func_id(dev, vport, ec_vf_func); in mlx5_query_nic_sw_system_image_guid() 1357 ec_vf_func = false; in mlx5_vport_use_vhca_id_as_func_id() 1366 MLX5_SET(query_hca_cap_in, in, ec_vf_function, ec_vf_func); in mlx5_vport_get_other_func_cap() 1405 bool ec_vf_func = false; in mlx5_vport_get_vhca_id() 1419 ec_vf_func = mlx5_core_is_ec_vf_vport(dev, vport); in mlx5_vport_get_vhca_id() 1420 function_id = mlx5_vport_to_func_id(dev, vport, ec_vf_func); in mlx5_vport_get_vhca_id() 1425 ec_vf_func = false; in mlx5_vport_set_other_func_cap() 1435 MLX5_SET(set_hca_cap_in, set_ctx, ec_vf_function, ec_vf_func); in mlx5_vport_set_other_func_cap() 1368 bool ec_vf_func = false; mlx5_vport_get_other_func_cap() local 1429 bool ec_vf_func = false; mlx5_vport_set_other_func_cap() local [all...] |
| H A D | mlx5_core.h | 506 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 508 return ec_vf_func ? vport - mlx5_core_ec_vf_vport_base(dev) + 1 in mlx5_vport_to_func_id()
|