Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/
A Dvport.c1189 bool ec_vf_func = mlx5_core_is_ec_vf_vport(dev, vport); in mlx5_vport_get_other_func_cap() local
1195 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()
1197 MLX5_SET(query_hca_cap_in, in, ec_vf_function, ec_vf_func); in mlx5_vport_get_other_func_cap()
1205 bool ec_vf_func = mlx5_core_is_ec_vf_vport(dev, vport); in mlx5_vport_set_other_func_cap() local
1220 mlx5_vport_to_func_id(dev, vport, ec_vf_func)); in mlx5_vport_set_other_func_cap()
1222 MLX5_SET(set_hca_cap_in, set_ctx, ec_vf_function, ec_vf_func); in mlx5_vport_set_other_func_cap()
A Dmlx5_core.h386 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
388 return ec_vf_func ? vport - mlx5_core_ec_vf_vport_base(dev) + 1 in mlx5_vport_to_func_id()
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()
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/
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()
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
A Dmlx5hws_cmd.c1270 bool ec_vf_func = other_function ? mlx5_core_is_ec_vf_vport(mdev, vport_number) : false; in mlx5hws_cmd_query_gvmi() local
1284 mlx5_vport_to_func_id(mdev, vport_number, ec_vf_func)); in mlx5hws_cmd_query_gvmi()
1285 MLX5_SET(query_hca_cap_in, in, ec_vf_function, ec_vf_func); in mlx5hws_cmd_query_gvmi()

Completed in 14 milliseconds