Searched refs:ttc_params (Results 1 – 5 of 5) sorted by relevance
| /Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/en/ |
| D | fs.h | 256 struct ttc_params { struct 263 void mlx5e_set_ttc_basic_params(struct mlx5e_priv *priv, struct ttc_params *ttc_params); argument 264 void mlx5e_set_ttc_ft_params(struct ttc_params *ttc_params); 265 void mlx5e_set_inner_ttc_ft_params(struct ttc_params *ttc_params); 267 int mlx5e_create_ttc_table(struct mlx5e_priv *priv, struct ttc_params *params, 272 int mlx5e_create_inner_ttc_table(struct mlx5e_priv *priv, struct ttc_params *params,
|
| /Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
| D | en_fs.c | 862 struct ttc_params *params, in mlx5e_generate_ttc_table_rules() 1029 struct ttc_params *params, in mlx5e_generate_inner_ttc_table_rules() 1132 struct ttc_params *ttc_params) in mlx5e_set_ttc_basic_params() argument 1134 ttc_params->any_tt_tirn = priv->direct_tir[0].tirn; in mlx5e_set_ttc_basic_params() 1135 ttc_params->inner_ttc = &priv->fs.inner_ttc; in mlx5e_set_ttc_basic_params() 1138 void mlx5e_set_inner_ttc_ft_params(struct ttc_params *ttc_params) in mlx5e_set_inner_ttc_ft_params() argument 1140 struct mlx5_flow_table_attr *ft_attr = &ttc_params->ft_attr; in mlx5e_set_inner_ttc_ft_params() 1147 void mlx5e_set_ttc_ft_params(struct ttc_params *ttc_params) in mlx5e_set_ttc_ft_params() argument 1150 struct mlx5_flow_table_attr *ft_attr = &ttc_params->ft_attr; in mlx5e_set_ttc_ft_params() 1157 int mlx5e_create_inner_ttc_table(struct mlx5e_priv *priv, struct ttc_params *params, in mlx5e_create_inner_ttc_table() [all …]
|
| D | en_rep.c | 789 struct ttc_params ttc_params = {}; in mlx5e_create_rep_ttc_table() local 796 ttc_params.any_tt_tirn = priv->direct_tir[0].tirn; in mlx5e_create_rep_ttc_table() 797 mlx5e_set_ttc_ft_params(&ttc_params); in mlx5e_create_rep_ttc_table() 801 ttc_params.ft_attr.level = MLX5E_TTC_FT_LEVEL + 1; in mlx5e_create_rep_ttc_table() 804 ttc_params.indir_tirn[tt] = priv->indir_tir[tt].tirn; in mlx5e_create_rep_ttc_table() 806 err = mlx5e_create_ttc_table(priv, &ttc_params, &priv->fs.ttc); in mlx5e_create_rep_ttc_table()
|
| D | en_tc.c | 614 struct ttc_params *ttc_params) in mlx5e_hairpin_set_ttc_params() argument 616 struct mlx5_flow_table_attr *ft_attr = &ttc_params->ft_attr; in mlx5e_hairpin_set_ttc_params() 619 memset(ttc_params, 0, sizeof(*ttc_params)); in mlx5e_hairpin_set_ttc_params() 621 ttc_params->any_tt_tirn = hp->tirn; in mlx5e_hairpin_set_ttc_params() 624 ttc_params->indir_tirn[tt] = hp->indir_tirn[tt]; in mlx5e_hairpin_set_ttc_params() 634 struct ttc_params ttc_params; in mlx5e_hairpin_rss_init() local 645 mlx5e_hairpin_set_ttc_params(hp, &ttc_params); in mlx5e_hairpin_rss_init() 646 err = mlx5e_create_ttc_table(priv, &ttc_params, &hp->ttc); in mlx5e_hairpin_rss_init()
|
| /Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/ipoib/ |
| D | ipoib.c | 323 struct ttc_params ttc_params = {}; in mlx5i_create_flow_steering() local 339 mlx5e_set_ttc_basic_params(priv, &ttc_params); in mlx5i_create_flow_steering() 340 mlx5e_set_inner_ttc_ft_params(&ttc_params); in mlx5i_create_flow_steering() 342 ttc_params.indir_tirn[tt] = priv->inner_indir_tir[tt].tirn; in mlx5i_create_flow_steering() 344 err = mlx5e_create_inner_ttc_table(priv, &ttc_params, &priv->fs.inner_ttc); in mlx5i_create_flow_steering() 351 mlx5e_set_ttc_ft_params(&ttc_params); in mlx5i_create_flow_steering() 353 ttc_params.indir_tirn[tt] = priv->indir_tir[tt].tirn; in mlx5i_create_flow_steering() 355 err = mlx5e_create_ttc_table(priv, &ttc_params, &priv->fs.ttc); in mlx5i_create_flow_steering()
|