Searched refs:ct_ft (Results 1 – 5 of 5) sorted by relevance
/linux/net/sched/ |
H A D | act_ct.c | 294 static void tcf_ct_flow_table_get_ref(struct tcf_ct_flow_table *ct_ft); 298 struct tcf_ct_flow_table *ct_ft = in tcf_ct_nf_get() local 301 tcf_ct_flow_table_get_ref(ct_ft); in tcf_ct_nf_get() 304 static void tcf_ct_flow_table_put(struct tcf_ct_flow_table *ct_ft); 308 struct tcf_ct_flow_table *ct_ft = in tcf_ct_nf_put() local 311 tcf_ct_flow_table_put(ct_ft); in tcf_ct_nf_put() 325 struct tcf_ct_flow_table *ct_ft; in tcf_ct_flow_table_get() local 329 ct_ft = rhashtable_lookup_fast(&zones_ht, &key, zones_params); in tcf_ct_flow_table_get() 330 if (ct_ft && refcount_inc_not_zero(&ct_ft->ref)) in tcf_ct_flow_table_get() 333 ct_ft = kzalloc(sizeof(*ct_ft), GFP_KERNEL); in tcf_ct_flow_table_get() [all …]
|
/linux/drivers/net/ethernet/sfc/ |
H A D | tc_conntrack.c | 560 struct nf_flowtable *ct_ft) in efx_tc_ct_register_zone() argument 580 WARN_ON_ONCE(old->nf_ft != ct_ft); in efx_tc_ct_register_zone() 585 ct_zone->nf_ft = ct_ft; in efx_tc_ct_register_zone() 589 rc = nf_flow_table_offload_add_cb(ct_ft, efx_tc_flow_block, ct_zone); in efx_tc_ct_register_zone()
|
H A D | tc_conntrack.h | 35 struct nf_flowtable *ct_ft);
|
/linux/include/net/tc_act/ |
H A D | tc_ct.h | 31 struct tcf_ct_flow_table *ct_ft; member
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | tc_ct.c | 1606 static int tc_ct_pre_ct_add_rules(struct mlx5_ct_ft *ct_ft, in tc_ct_pre_ct_add_rules() argument 1610 struct mlx5_tc_ct_priv *ct_priv = ct_ft->ct_priv; in tc_ct_pre_ct_add_rules() 1627 zone = ct_ft->zone & MLX5_CT_ZONE_MASK; in tc_ct_pre_ct_add_rules() 1694 tc_ct_pre_ct_del_rules(struct mlx5_ct_ft *ct_ft, in tc_ct_pre_ct_del_rules() argument 1697 struct mlx5_tc_ct_priv *ct_priv = ct_ft->ct_priv; in tc_ct_pre_ct_del_rules() 1706 mlx5_tc_ct_alloc_pre_ct(struct mlx5_ct_ft *ct_ft, in mlx5_tc_ct_alloc_pre_ct() argument 1711 struct mlx5_tc_ct_priv *ct_priv = ct_ft->ct_priv; in mlx5_tc_ct_alloc_pre_ct() 1783 err = tc_ct_pre_ct_add_rules(ct_ft, pre_ct, nat); in mlx5_tc_ct_alloc_pre_ct() 1802 mlx5_tc_ct_free_pre_ct(struct mlx5_ct_ft *ct_ft, in mlx5_tc_ct_free_pre_ct() argument 1805 tc_ct_pre_ct_del_rules(ct_ft, pre_ct); in mlx5_tc_ct_free_pre_ct()
|