Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_fs.c893 struct ttc_params *ttc_params) in mlx5e_set_inner_ttc_params() argument
895 struct mlx5_flow_table_attr *ft_attr = &ttc_params->ft_attr; in mlx5e_set_inner_ttc_params()
898 memset(ttc_params, 0, sizeof(*ttc_params)); in mlx5e_set_inner_ttc_params()
899 ttc_params->ns_type = MLX5_FLOW_NAMESPACE_KERNEL; in mlx5e_set_inner_ttc_params()
904 ttc_params->dests[tt].type = MLX5_FLOW_DESTINATION_TYPE_TIR; in mlx5e_set_inner_ttc_params()
905 ttc_params->dests[tt].tir_num = in mlx5e_set_inner_ttc_params()
915 struct ttc_params *ttc_params, bool tunnel) in mlx5e_set_ttc_params() argument
918 struct mlx5_flow_table_attr *ft_attr = &ttc_params->ft_attr; in mlx5e_set_ttc_params()
921 memset(ttc_params, 0, sizeof(*ttc_params)); in mlx5e_set_ttc_params()
922 ttc_params->ns_type = MLX5_FLOW_NAMESPACE_KERNEL; in mlx5e_set_ttc_params()
[all …]
H A Den_rep.c960 struct ttc_params ttc_params = {}; in mlx5e_create_rep_ttc_table() local
968 mlx5e_set_ttc_params(priv->fs, priv->rx_res, &ttc_params, false); in mlx5e_create_rep_ttc_table()
972 ttc_params.ft_attr.level = MLX5E_TTC_FT_LEVEL + 1; in mlx5e_create_rep_ttc_table()
974 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.c831 struct ttc_params *ttc_params) in mlx5e_hairpin_set_ttc_params() argument
833 struct mlx5_flow_table_attr *ft_attr = &ttc_params->ft_attr; in mlx5e_hairpin_set_ttc_params()
836 memset(ttc_params, 0, sizeof(*ttc_params)); in mlx5e_hairpin_set_ttc_params()
838 ttc_params->ns_type = MLX5_FLOW_NAMESPACE_KERNEL; in mlx5e_hairpin_set_ttc_params()
840 ttc_params->dests[tt].type = MLX5_FLOW_DESTINATION_TYPE_TIR; in mlx5e_hairpin_set_ttc_params()
841 ttc_params->dests[tt].tir_num = in mlx5e_hairpin_set_ttc_params()
854 struct ttc_params ttc_params; in mlx5e_hairpin_rss_init() local
866 mlx5e_hairpin_set_ttc_params(hp, &ttc_params); in mlx5e_hairpin_rss_init()
867 hp->ttc = mlx5_create_ttc_table(priv->mdev, &ttc_params); in mlx5e_hairpin_rss_init()
/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.c311 struct ttc_params *params, in mlx5_generate_ttc_table_rules()
496 struct ttc_params *params, in mlx5_generate_inner_ttc_table_rules()
613 struct ttc_params *params) in mlx5_create_inner_ttc_table()
683 struct ttc_params *params) in mlx5_create_ttc_table()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dfs.h129 struct ttc_params *ttc_params, bool tunnel);