Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dvport.c1188 bool ec_vf_func = mlx5_core_is_ec_vf_vport(dev, vport); in mlx5_vport_get_other_func_cap() local
1194 MLX5_SET(query_hca_cap_in, in, function_id, mlx5_vport_to_func_id(dev, vport, ec_vf_func)); in mlx5_vport_get_other_func_cap()
1196 MLX5_SET(query_hca_cap_in, in, ec_vf_function, ec_vf_func); in mlx5_vport_get_other_func_cap()
1204 bool ec_vf_func = mlx5_core_is_ec_vf_vport(dev, vport); in mlx5_vport_set_other_func_cap() local
1219 mlx5_vport_to_func_id(dev, vport, ec_vf_func)); in mlx5_vport_set_other_func_cap()
1221 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.h380 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
382 return ec_vf_func ? vport - mlx5_core_ec_vf_vport_base(dev) + 1 in mlx5_vport_to_func_id()
H A Dpci_irq.c47 bool ec_vf_func) in mlx5_core_func_to_vport() argument
49 if (!ec_vf_func) in mlx5_core_func_to_vport()
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/
H A Ddr_cmd.c37 bool ec_vf_func = other_vport ? mlx5_core_is_ec_vf_vport(mdev, vport_number) : false; in mlx5dr_cmd_query_gvmi() local
50 MLX5_SET(query_hca_cap_in, in, function_id, mlx5_vport_to_func_id(mdev, vport_number, ec_vf_func)); in mlx5dr_cmd_query_gvmi()
51 MLX5_SET(query_hca_cap_in, in, ec_vf_function, ec_vf_func); in mlx5dr_cmd_query_gvmi()