Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/lag/
Dport_sel.c450 struct ttc_params *ttc_params) in mlx5_lag_set_inner_ttc_params() argument
457 ttc_params->ns = mlx5_get_flow_namespace(dev, in mlx5_lag_set_inner_ttc_params()
459 ft_attr = &ttc_params->ft_attr; in mlx5_lag_set_inner_ttc_params()
463 ttc_params->dests[tt].type = in mlx5_lag_set_inner_ttc_params()
465 ttc_params->dests[tt].ft = port_sel->inner.definers[tt]->ft; in mlx5_lag_set_inner_ttc_params()
467 SET_IGNORE_DESTS_BITS(port_sel->tt_map, ttc_params->ignore_dests); in mlx5_lag_set_inner_ttc_params()
471 struct ttc_params *ttc_params) in mlx5_lag_set_outer_ttc_params() argument
478 ttc_params->ns = mlx5_get_flow_namespace(dev, in mlx5_lag_set_outer_ttc_params()
480 ft_attr = &ttc_params->ft_attr; in mlx5_lag_set_outer_ttc_params()
484 ttc_params->dests[tt].type = in mlx5_lag_set_outer_ttc_params()
[all …]
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dfs_ttc.h42 struct ttc_params { struct
55 struct ttc_params *params); argument
59 struct ttc_params *params);
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()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Den_fs.c887 struct ttc_params *ttc_params) in mlx5e_set_inner_ttc_params() argument
889 struct mlx5_flow_table_attr *ft_attr = &ttc_params->ft_attr; in mlx5e_set_inner_ttc_params()
892 memset(ttc_params, 0, sizeof(*ttc_params)); in mlx5e_set_inner_ttc_params()
893 ttc_params->ns = mlx5_get_flow_namespace(fs->mdev, in mlx5e_set_inner_ttc_params()
899 ttc_params->dests[tt].type = MLX5_FLOW_DESTINATION_TYPE_TIR; in mlx5e_set_inner_ttc_params()
900 ttc_params->dests[tt].tir_num = in mlx5e_set_inner_ttc_params()
910 struct ttc_params *ttc_params, bool tunnel) in mlx5e_set_ttc_params() argument
913 struct mlx5_flow_table_attr *ft_attr = &ttc_params->ft_attr; in mlx5e_set_ttc_params()
916 memset(ttc_params, 0, sizeof(*ttc_params)); in mlx5e_set_ttc_params()
917 ttc_params->ns = mlx5_get_flow_namespace(fs->mdev, in mlx5e_set_ttc_params()
[all …]
Den_rep.c793 struct ttc_params ttc_params = {}; in mlx5e_create_rep_ttc_table() local
801 mlx5e_set_ttc_params(priv->fs, priv->rx_res, &ttc_params, false); in mlx5e_create_rep_ttc_table()
805 ttc_params.ft_attr.level = MLX5E_TTC_FT_LEVEL + 1; in mlx5e_create_rep_ttc_table()
807 mlx5e_fs_set_ttc(priv->fs, mlx5_create_ttc_table(priv->mdev, &ttc_params), false); in mlx5e_create_rep_ttc_table()
Den_tc.c792 struct ttc_params *ttc_params) in mlx5e_hairpin_set_ttc_params() argument
794 struct mlx5_flow_table_attr *ft_attr = &ttc_params->ft_attr; in mlx5e_hairpin_set_ttc_params()
797 memset(ttc_params, 0, sizeof(*ttc_params)); in mlx5e_hairpin_set_ttc_params()
799 ttc_params->ns = mlx5_get_flow_namespace(hp->func_mdev, in mlx5e_hairpin_set_ttc_params()
802 ttc_params->dests[tt].type = MLX5_FLOW_DESTINATION_TYPE_TIR; in mlx5e_hairpin_set_ttc_params()
803 ttc_params->dests[tt].tir_num = in mlx5e_hairpin_set_ttc_params()
816 struct ttc_params ttc_params; in mlx5e_hairpin_rss_init() local
828 mlx5e_hairpin_set_ttc_params(hp, &ttc_params); in mlx5e_hairpin_rss_init()
829 hp->ttc = mlx5_create_ttc_table(priv->mdev, &ttc_params); in mlx5e_hairpin_rss_init()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/
Dfs.h127 struct ttc_params *ttc_params, bool tunnel);