Home
last modified time | relevance | path

Searched refs:ttc_params (Results 1 – 7 of 7) sorted by relevance

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/lag/
H A Dport_sel.c454 struct ttc_params *ttc_params) in mlx5_lag_set_inner_ttc_params() argument
463 ft_attr = &ttc_params->ft_attr; in mlx5_lag_set_inner_ttc_params()
467 ttc_params->dests[tt].type = in mlx5_lag_set_inner_ttc_params()
475 struct ttc_params *ttc_params) in mlx5_lag_set_outer_ttc_params() argument
484 ft_attr = &ttc_params->ft_attr; in mlx5_lag_set_outer_ttc_params()
488 ttc_params->dests[tt].type = in mlx5_lag_set_outer_ttc_params()
494 ttc_params->inner_ttc = port_sel->tunnel; in mlx5_lag_set_outer_ttc_params()
499 ttc_params->tunnel_dests[tt].type = in mlx5_lag_set_outer_ttc_params()
501 ttc_params->tunnel_dests[tt].ft = in mlx5_lag_set_outer_ttc_params()
510 struct ttc_params ttc_params = {}; in mlx5_lag_create_ttc_table() local
[all …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dfs_ttc.h42 struct ttc_params { struct
55 struct ttc_params *params); argument
59 struct ttc_params *params);
H A Dfs_ttc.c236 struct ttc_params *params, in mlx5_generate_ttc_table_rules()
397 struct ttc_params *params, in mlx5_generate_inner_ttc_table_rules()
497 struct ttc_params *params) in mlx5_create_inner_ttc_table()
547 struct ttc_params *params) in mlx5_create_ttc_table()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_fs.c893 struct ttc_params *ttc_params) in mlx5e_set_inner_ttc_params() argument
898 memset(ttc_params, 0, sizeof(*ttc_params)); in mlx5e_set_inner_ttc_params()
906 ttc_params->dests[tt].tir_num = in mlx5e_set_inner_ttc_params()
916 struct ttc_params *ttc_params, bool tunnel) in mlx5e_set_ttc_params() argument
922 memset(ttc_params, 0, sizeof(*ttc_params)); in mlx5e_set_ttc_params()
930 ttc_params->dests[tt].tir_num = in mlx5e_set_ttc_params()
936 ttc_params->inner_ttc = tunnel; in mlx5e_set_ttc_params()
943 ttc_params->tunnel_dests[tt].ft = in mlx5e_set_ttc_params()
1278 struct ttc_params ttc_params = {}; in mlx5e_create_inner_ttc_table() local
1285 &ttc_params); in mlx5e_create_inner_ttc_table()
[all …]
H A Den_rep.c902 struct ttc_params ttc_params = {}; in mlx5e_create_rep_ttc_table() local
910 mlx5e_set_ttc_params(priv->fs, priv->rx_res, &ttc_params, false); in mlx5e_create_rep_ttc_table()
914 ttc_params.ft_attr.level = MLX5E_TTC_FT_LEVEL + 1; in mlx5e_create_rep_ttc_table()
916 mlx5e_fs_set_ttc(priv->fs, mlx5_create_ttc_table(priv->mdev, &ttc_params), false); in mlx5e_create_rep_ttc_table()
H A Den_tc.c829 struct ttc_params *ttc_params) in mlx5e_hairpin_set_ttc_params() argument
831 struct mlx5_flow_table_attr *ft_attr = &ttc_params->ft_attr; in mlx5e_hairpin_set_ttc_params()
834 memset(ttc_params, 0, sizeof(*ttc_params)); in mlx5e_hairpin_set_ttc_params()
836 ttc_params->ns = mlx5_get_flow_namespace(hp->func_mdev, in mlx5e_hairpin_set_ttc_params()
839 ttc_params->dests[tt].type = MLX5_FLOW_DESTINATION_TYPE_TIR; in mlx5e_hairpin_set_ttc_params()
840 ttc_params->dests[tt].tir_num = in mlx5e_hairpin_set_ttc_params()
853 struct ttc_params ttc_params; in mlx5e_hairpin_rss_init() local
865 mlx5e_hairpin_set_ttc_params(hp, &ttc_params); in mlx5e_hairpin_rss_init()
866 hp->ttc = mlx5_create_ttc_table(priv->mdev, &ttc_params); in mlx5e_hairpin_rss_init()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dfs.h129 struct ttc_params *ttc_params, bool tunnel);