/linux-6.6.21/drivers/net/ethernet/mellanox/mlxsw/ ! |
D | spectrum_flow.c | 135 static int mlxsw_sp_flow_block_mall_cb(struct mlxsw_sp_flow_block *flow_block, in mlxsw_sp_flow_block_mall_cb() argument 138 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_flow_block_mlxsw_sp(flow_block); in mlxsw_sp_flow_block_mall_cb() 142 return mlxsw_sp_mall_replace(mlxsw_sp, flow_block, f); in mlxsw_sp_flow_block_mall_cb() 144 mlxsw_sp_mall_destroy(flow_block, f); in mlxsw_sp_flow_block_mall_cb() 151 static int mlxsw_sp_flow_block_flower_cb(struct mlxsw_sp_flow_block *flow_block, in mlxsw_sp_flow_block_flower_cb() argument 154 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_flow_block_mlxsw_sp(flow_block); in mlxsw_sp_flow_block_flower_cb() 158 return mlxsw_sp_flower_replace(mlxsw_sp, flow_block, f); in mlxsw_sp_flow_block_flower_cb() 160 mlxsw_sp_flower_destroy(mlxsw_sp, flow_block, f); in mlxsw_sp_flow_block_flower_cb() 163 return mlxsw_sp_flower_stats(mlxsw_sp, flow_block, f); in mlxsw_sp_flow_block_flower_cb() 165 return mlxsw_sp_flower_tmplt_create(mlxsw_sp, flow_block, f); in mlxsw_sp_flow_block_flower_cb() [all …]
|
D | spectrum2_mr_tcam.c | 12 struct mlxsw_sp_flow_block *flow_block; member 64 mr_tcam->flow_block, in mlxsw_sp2_mr_tcam_ipv4_init() 114 mr_tcam->flow_block, in mlxsw_sp2_mr_tcam_ipv6_init() 292 mr_tcam->flow_block = mlxsw_sp_flow_block_create(mlxsw_sp, NULL); in mlxsw_sp2_mr_tcam_init() 293 if (!mr_tcam->flow_block) in mlxsw_sp2_mr_tcam_init() 309 mlxsw_sp_flow_block_destroy(mr_tcam->flow_block); in mlxsw_sp2_mr_tcam_init() 319 mlxsw_sp_flow_block_destroy(mr_tcam->flow_block); in mlxsw_sp2_mr_tcam_fini()
|
/linux-6.6.21/drivers/net/dsa/sja1105/ ! |
D | sja1105_flower.c | 12 list_for_each_entry(rule, &priv->flow_block.rules, list) in sja1105_rule_find() 24 if (!priv->flow_block.l2_policer_used[i]) in sja1105_find_free_l2_policer() 93 priv->flow_block.l2_policer_used[rule->bcast_pol.sharindx] = true; in sja1105_setup_bcast_policer() 94 list_add(&rule->list, &priv->flow_block.rules); in sja1105_setup_bcast_policer() 165 priv->flow_block.l2_policer_used[rule->tc_pol.sharindx] = true; in sja1105_setup_tc_policer() 166 list_add(&rule->list, &priv->flow_block.rules); in sja1105_setup_tc_policer() 491 priv->flow_block.l2_policer_used[old_sharindx] = false; in sja1105_cls_flower_del() 525 INIT_LIST_HEAD(&priv->flow_block.rules); in sja1105_flower_setup() 528 priv->flow_block.l2_policer_used[port] = true; in sja1105_flower_setup() 537 list_for_each_safe(pos, n, &priv->flow_block.rules) { in sja1105_flower_teardown()
|
D | sja1105_vl.c | 102 list_for_each_entry(rule, &priv->flow_block.rules, list) { in sja1105_compose_gating_subschedule() 124 list_for_each_entry(rule, &priv->flow_block.rules, list) { in sja1105_compose_gating_subschedule() 326 list_for_each_entry(rule, &priv->flow_block.rules, list) { in sja1105_init_virtual_links() 396 list_for_each_entry(rule, &priv->flow_block.rules, list) { in sja1105_init_virtual_links() 534 list_add(&rule->list, &priv->flow_block.rules); in sja1105_vl_redirect() 629 list_add(&rule->list, &priv->flow_block.rules); in sja1105_vl_gate()
|
D | sja1105.h | 264 struct sja1105_flow_block flow_block; member
|
D | sja1105_main.c | 2441 list_for_each_entry(rule, &priv->flow_block.rules, list) { in sja1105_vlan_filtering()
|
/linux-6.6.21/include/net/netfilter/ ! |
D | nf_flow_table.h | 83 struct flow_block flow_block; member 227 struct flow_block *block = &flow_table->flow_block; in nf_flow_table_offload_add_cb() 260 struct flow_block *block = &flow_table->flow_block; in nf_flow_table_offload_del_cb()
|
D | nf_tables.h | 1149 struct flow_block flow_block; member
|
/linux-6.6.21/net/core/ ! |
D | flow_offload.c | 289 struct flow_block_cb *flow_block_cb_lookup(struct flow_block *block, in flow_block_cb_lookup() 516 static void flow_block_indr_init(struct flow_block_cb *flow_block, in flow_block_indr_init() argument 522 flow_block->indr.binder_type = bo->binder_type; in flow_block_indr_init() 523 flow_block->indr.data = data; in flow_block_indr_init() 524 flow_block->indr.cb_priv = cb_priv; in flow_block_indr_init() 525 flow_block->indr.dev = dev; in flow_block_indr_init() 526 flow_block->indr.sch = sch; in flow_block_indr_init() 527 flow_block->indr.cleanup = cleanup; in flow_block_indr_init()
|
/linux-6.6.21/include/net/ ! |
D | flow_offload.h | 492 struct flow_block { struct 504 struct flow_block *block; argument 552 struct flow_block_cb *flow_block_cb_lookup(struct flow_block *block, 635 static inline void flow_block_init(struct flow_block *flow_block) in flow_block_init() argument 637 INIT_LIST_HEAD(&flow_block->cb_list); in flow_block_init()
|
D | sch_generic.h | 476 struct flow_block flow_block; member
|
/linux-6.6.21/drivers/net/ethernet/sfc/ ! |
D | tc_bindings.c | 20 struct flow_block *block; 60 struct net_device *otherdev, struct flow_block *block) in efx_tc_create_binding()
|
/linux-6.6.21/net/netfilter/ ! |
D | nf_tables_offload.c | 281 &basechain->flow_block.cb_list); in nft_flow_offload_cmd() 317 list_splice(&bo->cb_list, &basechain->flow_block.cb_list); in nft_flow_offload_bind() 375 bo->block = &basechain->flow_block; in nft_flow_block_offload_init() 379 bo->cb_list_head = &basechain->flow_block.cb_list; in nft_flow_block_offload_init()
|
D | nf_flow_table_offload.c | 879 &offload->flowtable->flow_block.cb_list); in flow_offload_tuple_add() 888 &offload->flowtable->flow_block.cb_list); in flow_offload_tuple_del() 942 &offload->flowtable->flow_block.cb_list); in flow_offload_tuple_stats() 1108 list_splice(&bo->cb_list, &flowtable->flow_block.cb_list); in nf_flow_table_block_setup() 1133 bo->block = &flowtable->flow_block; in nf_flow_table_block_offload_init() 1137 bo->cb_list_head = &flowtable->flow_block.cb_list; in nf_flow_table_block_offload_init()
|
D | nf_flow_table_core.c | 550 flow_block_init(&flowtable->flow_block); in nf_flow_table_init()
|
D | nf_tables_api.c | 2384 flow_block_init(&basechain->flow_block); in nft_basechain_init()
|
/linux-6.6.21/net/sched/ ! |
D | cls_api.c | 751 struct flow_block *flow_block, in tcf_block_offload_init() argument 757 bo->block = flow_block; in tcf_block_offload_init() 761 bo->cb_list_head = &flow_block->cb_list; in tcf_block_offload_init() 778 &block->flow_block, tcf_block_shared(block), in tc_block_indr_cleanup() 803 &block->flow_block, tcf_block_shared(block), in tcf_block_offload_cmd() 998 flow_block_init(&block->flow_block); in tcf_block_create() 1592 list_splice(&bo->cb_list, &block->flow_block.cb_list); in tcf_block_bind() 3487 list_for_each_entry(block_cb, &block->flow_block.cb_list, list) { in __tc_setup_cb_call()
|
D | act_ct.c | 370 struct flow_block *block; in tcf_ct_flow_table_cleanup_work() 376 block = &ct_ft->nf_ft.flow_block; in tcf_ct_flow_table_cleanup_work()
|