/kernel/linux/linux-6.6/net/sched/ |
H A D | act_ct.c | 289 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, ¶ms->zone, zones_params); in tcf_ct_flow_table_get() 324 if (ct_ft && refcount_inc_not_zero(&ct_ft in tcf_ct_flow_table_get() 362 tcf_ct_flow_table_get_ref(struct tcf_ct_flow_table *ct_ft) tcf_ct_flow_table_get_ref() argument 369 struct tcf_ct_flow_table *ct_ft; tcf_ct_flow_table_cleanup_work() local 385 tcf_ct_flow_table_put(struct tcf_ct_flow_table *ct_ft) tcf_ct_flow_table_put() argument 412 tcf_ct_flow_table_add(struct tcf_ct_flow_table *ct_ft, struct nf_conn *ct, bool tcp, bool bidirectional) tcf_ct_flow_table_add() argument 454 tcf_ct_flow_table_process_conn(struct tcf_ct_flow_table *ct_ft, struct nf_conn *ct, enum ip_conntrack_info ctinfo) tcf_ct_flow_table_process_conn() argument [all...] |
/kernel/linux/linux-5.10/net/sched/ |
H A 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 in tcf_ct_flow_table_get() 324 struct tcf_ct_flow_table *ct_ft; tcf_ct_flow_table_cleanup_work() local 346 struct tcf_ct_flow_table *ct_ft = params->ct_ft; tcf_ct_flow_table_put() local 355 tcf_ct_flow_table_add(struct tcf_ct_flow_table *ct_ft, struct nf_conn *ct, bool tcp) tcf_ct_flow_table_add() argument 388 tcf_ct_flow_table_process_conn(struct tcf_ct_flow_table *ct_ft, struct nf_conn *ct, enum ip_conntrack_info ctinfo) tcf_ct_flow_table_process_conn() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/ |
H A D | tc_conntrack.c | 473 struct nf_flowtable *ct_ft) in efx_tc_ct_register_zone() 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() 472 efx_tc_ct_register_zone(struct efx_nic *efx, u16 zone, struct nf_flowtable *ct_ft) efx_tc_ct_register_zone() argument
|
H A D | tc_conntrack.h | 35 struct nf_flowtable *ct_ft);
|
/kernel/linux/linux-5.10/include/net/tc_act/ |
H A D | tc_ct.h | 29 struct tcf_ct_flow_table *ct_ft; member
|
/kernel/linux/linux-6.6/include/net/tc_act/ |
H A D | tc_ct.h | 30 struct tcf_ct_flow_table *ct_ft; member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | tc_ct.c | 1329 static int tc_ct_pre_ct_add_rules(struct mlx5_ct_ft *ct_ft, in tc_ct_pre_ct_add_rules() argument 1333 struct mlx5_tc_ct_priv *ct_priv = ct_ft->ct_priv; in tc_ct_pre_ct_add_rules() 1350 zone = ct_ft->zone & MLX5_CT_ZONE_MASK; in tc_ct_pre_ct_add_rules() 1418 tc_ct_pre_ct_del_rules(struct mlx5_ct_ft *ct_ft, in tc_ct_pre_ct_del_rules() argument 1421 struct mlx5_tc_ct_priv *ct_priv = ct_ft->ct_priv; in tc_ct_pre_ct_del_rules() 1430 mlx5_tc_ct_alloc_pre_ct(struct mlx5_ct_ft *ct_ft, in mlx5_tc_ct_alloc_pre_ct() argument 1435 struct mlx5_tc_ct_priv *ct_priv = ct_ft->ct_priv; in mlx5_tc_ct_alloc_pre_ct() 1507 err = tc_ct_pre_ct_add_rules(ct_ft, pre_ct, nat); in mlx5_tc_ct_alloc_pre_ct() 1526 mlx5_tc_ct_free_pre_ct(struct mlx5_ct_ft *ct_ft, in mlx5_tc_ct_free_pre_ct() argument 1529 tc_ct_pre_ct_del_rules(ct_ft, pre_c in mlx5_tc_ct_free_pre_ct() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | tc_ct.c | 1555 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_c in mlx5_tc_ct_free_pre_ct() [all...] |