Home
last modified time | relevance | path

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

/openbmc/linux/net/sched/
H A Dact_ct.c296 static void tcf_ct_flow_table_get_ref(struct tcf_ct_flow_table *ct_ft);
300 struct tcf_ct_flow_table *ct_ft = in tcf_ct_nf_get() local
303 tcf_ct_flow_table_get_ref(ct_ft); in tcf_ct_nf_get()
306 static void tcf_ct_flow_table_put(struct tcf_ct_flow_table *ct_ft);
310 struct tcf_ct_flow_table *ct_ft = in tcf_ct_nf_put() local
313 tcf_ct_flow_table_put(ct_ft); in tcf_ct_nf_put()
327 struct tcf_ct_flow_table *ct_ft; in tcf_ct_flow_table_get() local
331 ct_ft = rhashtable_lookup_fast(&zones_ht, &key, zones_params); in tcf_ct_flow_table_get()
332 if (ct_ft && refcount_inc_not_zero(&ct_ft->ref)) in tcf_ct_flow_table_get()
335 ct_ft = kzalloc(sizeof(*ct_ft), GFP_KERNEL); in tcf_ct_flow_table_get()
[all …]
/openbmc/linux/drivers/net/ethernet/sfc/
H A 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()
H A Dtc_conntrack.h35 struct nf_flowtable *ct_ft);
/openbmc/linux/include/net/tc_act/
H A Dtc_ct.h30 struct tcf_ct_flow_table *ct_ft; member
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtc_ct.c1556 static int tc_ct_pre_ct_add_rules(struct mlx5_ct_ft *ct_ft, in tc_ct_pre_ct_add_rules() argument
1560 struct mlx5_tc_ct_priv *ct_priv = ct_ft->ct_priv; in tc_ct_pre_ct_add_rules()
1577 zone = ct_ft->zone & MLX5_CT_ZONE_MASK; in tc_ct_pre_ct_add_rules()
1644 tc_ct_pre_ct_del_rules(struct mlx5_ct_ft *ct_ft, in tc_ct_pre_ct_del_rules() argument
1647 struct mlx5_tc_ct_priv *ct_priv = ct_ft->ct_priv; in tc_ct_pre_ct_del_rules()
1656 mlx5_tc_ct_alloc_pre_ct(struct mlx5_ct_ft *ct_ft, in mlx5_tc_ct_alloc_pre_ct() argument
1661 struct mlx5_tc_ct_priv *ct_priv = ct_ft->ct_priv; in mlx5_tc_ct_alloc_pre_ct()
1733 err = tc_ct_pre_ct_add_rules(ct_ft, pre_ct, nat); in mlx5_tc_ct_alloc_pre_ct()
1752 mlx5_tc_ct_free_pre_ct(struct mlx5_ct_ft *ct_ft, in mlx5_tc_ct_free_pre_ct() argument
1755 tc_ct_pre_ct_del_rules(ct_ft, pre_ct); in mlx5_tc_ct_free_pre_ct()