Home
last modified time | relevance | path

Searched refs:ct_ft (Results 1 – 5 of 5) sorted by relevance

/linux-6.6.21/net/sched/
Dact_ct.c289 static void tcf_ct_flow_table_get_ref(struct tcf_ct_flow_table *ct_ft);
293 struct tcf_ct_flow_table *ct_ft = in tcf_ct_nf_get() local
296 tcf_ct_flow_table_get_ref(ct_ft); in tcf_ct_nf_get()
299 static void tcf_ct_flow_table_put(struct tcf_ct_flow_table *ct_ft);
303 struct tcf_ct_flow_table *ct_ft = in tcf_ct_nf_put() local
306 tcf_ct_flow_table_put(ct_ft); in tcf_ct_nf_put()
319 struct tcf_ct_flow_table *ct_ft; in tcf_ct_flow_table_get() local
323 ct_ft = rhashtable_lookup_fast(&zones_ht, &params->zone, zones_params); in tcf_ct_flow_table_get()
324 if (ct_ft && refcount_inc_not_zero(&ct_ft->ref)) in tcf_ct_flow_table_get()
327 ct_ft = kzalloc(sizeof(*ct_ft), GFP_KERNEL); in tcf_ct_flow_table_get()
[all …]
/linux-6.6.21/drivers/net/ethernet/sfc/
Dtc_conntrack.h35 struct nf_flowtable *ct_ft);
Dtc_conntrack.c473 struct nf_flowtable *ct_ft) in efx_tc_ct_register_zone() argument
493 WARN_ON_ONCE(old->nf_ft != ct_ft); in efx_tc_ct_register_zone()
498 ct_zone->nf_ft = ct_ft; in efx_tc_ct_register_zone()
502 rc = nf_flow_table_offload_add_cb(ct_ft, efx_tc_flow_block, ct_zone); in efx_tc_ct_register_zone()
/linux-6.6.21/include/net/tc_act/
Dtc_ct.h30 struct tcf_ct_flow_table *ct_ft; member
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_ct.c1555 static int tc_ct_pre_ct_add_rules(struct mlx5_ct_ft *ct_ft, in tc_ct_pre_ct_add_rules() argument
1559 struct mlx5_tc_ct_priv *ct_priv = ct_ft->ct_priv; in tc_ct_pre_ct_add_rules()
1576 zone = ct_ft->zone & MLX5_CT_ZONE_MASK; in tc_ct_pre_ct_add_rules()
1643 tc_ct_pre_ct_del_rules(struct mlx5_ct_ft *ct_ft, in tc_ct_pre_ct_del_rules() argument
1646 struct mlx5_tc_ct_priv *ct_priv = ct_ft->ct_priv; in tc_ct_pre_ct_del_rules()
1655 mlx5_tc_ct_alloc_pre_ct(struct mlx5_ct_ft *ct_ft, in mlx5_tc_ct_alloc_pre_ct() argument
1660 struct mlx5_tc_ct_priv *ct_priv = ct_ft->ct_priv; in mlx5_tc_ct_alloc_pre_ct()
1732 err = tc_ct_pre_ct_add_rules(ct_ft, pre_ct, nat); in mlx5_tc_ct_alloc_pre_ct()
1751 mlx5_tc_ct_free_pre_ct(struct mlx5_ct_ft *ct_ft, in mlx5_tc_ct_free_pre_ct() argument
1754 tc_ct_pre_ct_del_rules(ct_ft, pre_ct); in mlx5_tc_ct_free_pre_ct()