Searched refs:ct_ft (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.10/net/sched/ |
D | act_ct.c | 280 struct tcf_ct_flow_table *ct_ft; in tcf_ct_flow_table_get() local 284 ct_ft = rhashtable_lookup_fast(&zones_ht, ¶ms->zone, zones_params); in tcf_ct_flow_table_get() 285 if (ct_ft && refcount_inc_not_zero(&ct_ft->ref)) in tcf_ct_flow_table_get() 288 ct_ft = kzalloc(sizeof(*ct_ft), GFP_KERNEL); in tcf_ct_flow_table_get() 289 if (!ct_ft) in tcf_ct_flow_table_get() 291 refcount_set(&ct_ft->ref, 1); in tcf_ct_flow_table_get() 293 ct_ft->zone = params->zone; in tcf_ct_flow_table_get() 294 err = rhashtable_insert_fast(&zones_ht, &ct_ft->node, zones_params); in tcf_ct_flow_table_get() 298 ct_ft->nf_ft.type = &flowtable_ct; in tcf_ct_flow_table_get() 299 ct_ft->nf_ft.flags |= NF_FLOWTABLE_HW_OFFLOAD; in tcf_ct_flow_table_get() [all …]
|
/Linux-v5.10/include/net/tc_act/ |
D | tc_ct.h | 29 struct tcf_ct_flow_table *ct_ft; member
|
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | tc_ct.c | 1159 static int tc_ct_pre_ct_add_rules(struct mlx5_ct_ft *ct_ft, in tc_ct_pre_ct_add_rules() argument 1163 struct mlx5_tc_ct_priv *ct_priv = ct_ft->ct_priv; in tc_ct_pre_ct_add_rules() 1180 zone = ct_ft->zone & MLX5_CT_ZONE_MASK; in tc_ct_pre_ct_add_rules() 1248 tc_ct_pre_ct_del_rules(struct mlx5_ct_ft *ct_ft, in tc_ct_pre_ct_del_rules() argument 1251 struct mlx5_tc_ct_priv *ct_priv = ct_ft->ct_priv; in tc_ct_pre_ct_del_rules() 1260 mlx5_tc_ct_alloc_pre_ct(struct mlx5_ct_ft *ct_ft, in mlx5_tc_ct_alloc_pre_ct() argument 1265 struct mlx5_tc_ct_priv *ct_priv = ct_ft->ct_priv; in mlx5_tc_ct_alloc_pre_ct() 1337 err = tc_ct_pre_ct_add_rules(ct_ft, pre_ct, nat); in mlx5_tc_ct_alloc_pre_ct() 1356 mlx5_tc_ct_free_pre_ct(struct mlx5_ct_ft *ct_ft, in mlx5_tc_ct_free_pre_ct() argument 1359 tc_ct_pre_ct_del_rules(ct_ft, pre_ct); in mlx5_tc_ct_free_pre_ct()
|