| /Linux-v5.15/drivers/net/ethernet/mellanox/mlxsw/ |
| D | spectrum_flower.c | 90 u32 chain_index = act->chain_index; in mlxsw_sp_flower_parse_actions() local 95 chain_index, in mlxsw_sp_flower_parse_actions() 563 err = mlxsw_sp_mall_prio_get(block, f->common.chain_index, in mlxsw_sp_flower_mall_prio_check() 597 f->common.chain_index, in mlxsw_sp_flower_replace() 642 f->common.chain_index, in mlxsw_sp_flower_destroy() 670 f->common.chain_index, in mlxsw_sp_flower_stats() 708 f->common.chain_index, in mlxsw_sp_flower_tmplt_create() 723 f->common.chain_index, in mlxsw_sp_flower_tmplt_destroy() 734 u32 chain_index, unsigned int *p_min_prio, in mlxsw_sp_flower_prio_get() argument 740 chain_index, in mlxsw_sp_flower_prio_get()
|
| D | spectrum_acl.c | 45 u32 chain_index; member 161 struct mlxsw_sp_flow_block *block, u32 chain_index, in mlxsw_sp_acl_ruleset_create() argument 176 ruleset->ht_key.chain_index = chain_index; in mlxsw_sp_acl_ruleset_create() 233 struct mlxsw_sp_flow_block *block, u32 chain_index, in __mlxsw_sp_acl_ruleset_lookup() argument 240 ht_key.chain_index = chain_index; in __mlxsw_sp_acl_ruleset_lookup() 248 struct mlxsw_sp_flow_block *block, u32 chain_index, in mlxsw_sp_acl_ruleset_lookup() argument 258 ruleset = __mlxsw_sp_acl_ruleset_lookup(acl, block, chain_index, ops); in mlxsw_sp_acl_ruleset_lookup() 266 struct mlxsw_sp_flow_block *block, u32 chain_index, in mlxsw_sp_acl_ruleset_get() argument 278 ruleset = __mlxsw_sp_acl_ruleset_lookup(acl, block, chain_index, ops); in mlxsw_sp_acl_ruleset_get() 283 return mlxsw_sp_acl_ruleset_create(mlxsw_sp, block, chain_index, ops, in mlxsw_sp_acl_ruleset_get() [all …]
|
| D | spectrum_matchall.c | 218 if (f->common.chain_index) { in mlxsw_sp_mall_replace() 228 err = mlxsw_sp_flower_prio_get(mlxsw_sp, block, f->common.chain_index, in mlxsw_sp_mall_replace() 365 int mlxsw_sp_mall_prio_get(struct mlxsw_sp_flow_block *block, u32 chain_index, in mlxsw_sp_mall_prio_get() argument 368 if (chain_index || list_empty(&block->mall.list)) in mlxsw_sp_mall_prio_get()
|
| D | spectrum.h | 917 struct mlxsw_sp_flow_block *block, u32 chain_index, 921 struct mlxsw_sp_flow_block *block, u32 chain_index, 1157 int mlxsw_sp_mall_prio_get(struct mlxsw_sp_flow_block *block, u32 chain_index, 1178 u32 chain_index, unsigned int *p_min_prio,
|
| D | spectrum_qdisc.c | 1707 if (f->common.chain_index) { in mlxsw_sp_qevent_mall_replace()
|
| /Linux-v5.15/net/sched/ |
| D | cls_api.c | 349 u32 chain_index) in tcf_chain_create() argument 361 chain->index = chain_index; in tcf_chain_create() 444 u32 chain_index) in tcf_chain_lookup() argument 451 if (chain->index == chain_index) in tcf_chain_lookup() 459 u32 chain_index) in tcf_chain_lookup_rcu() argument 464 if (chain->index == chain_index) in tcf_chain_lookup_rcu() 475 u32 chain_index, bool create, in __tcf_chain_get() argument 482 chain = tcf_chain_lookup(block, chain_index); in __tcf_chain_get() 488 chain = tcf_chain_create(block, chain_index); in __tcf_chain_get() 514 static struct tcf_chain *tcf_chain_get(struct tcf_block *block, u32 chain_index, in tcf_chain_get() argument [all …]
|
| D | act_api.c | 72 u32 chain_index; in tcf_action_check_ctrlact() local 84 chain_index = action & TC_ACT_EXT_VAL_MASK; in tcf_action_check_ctrlact() 91 *newchain = tcf_chain_get_by_act(tp->chain->block, chain_index); in tcf_action_check_ctrlact()
|
| D | cls_flower.c | 2333 cls_flower.common.chain_index = chain->index; in fl_hw_create_tmplt() 2355 cls_flower.common.chain_index = chain->index; in fl_hw_destroy_tmplt()
|
| /Linux-v5.15/drivers/net/ethernet/mscc/ |
| D | ocelot_flower.c | 161 chain = f->common.chain_index; in ocelot_flower_parse_action() 313 filter->goto_target = a->chain_index; in ocelot_flower_parse_action() 686 int chain = f->common.chain_index; in ocelot_cls_flower_replace() 721 block_id = ocelot_chain_to_block(f->common.chain_index, ingress); in ocelot_cls_flower_destroy() 745 block_id = ocelot_chain_to_block(f->common.chain_index, ingress); in ocelot_cls_flower_stats()
|
| /Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/en/rep/ |
| D | tc.c | 214 if (tmp.common.chain_index != 0) in mlx5e_rep_setup_ft_cb() 217 tmp.common.chain_index = mlx5_chains_get_nf_ft_chain(esw_chains(esw)); in mlx5e_rep_setup_ft_cb() 389 tmp.common.chain_index) in mlx5e_rep_indr_setup_ft_cb() 392 tmp.common.chain_index = mlx5_chains_get_nf_ft_chain(esw_chains(esw)); in mlx5e_rep_indr_setup_ft_cb()
|
| /Linux-v5.15/drivers/net/ethernet/netronome/nfp/flower/ |
| D | conntrack.c | 1007 if (post_ct_entry->chain_index != pre_ct_entry->chain_index) in nfp_ct_do_tc_merge() 1166 entry->chain_index = flow->common.chain_index; in nfp_fl_ct_add_flow() 1453 ct_entry->chain_index = ct_goto->chain_index; in nfp_fl_ct_handle_pre_ct() 1499 ct_entry->chain_index = flow->common.chain_index; in nfp_fl_ct_handle_post_ct()
|
| D | conntrack.h | 122 u32 chain_index; member
|
| D | offload.c | 1281 if (flow->common.chain_index) in offload_pre_check()
|
| /Linux-v5.15/drivers/net/ethernet/marvell/prestera/ |
| D | prestera_flow.c | 32 if (f->common.chain_index != 0) in prestera_flow_block_flower_cb()
|
| /Linux-v5.15/include/net/ |
| D | pkt_cls.h | 46 u32 chain_index); 659 if (common->chain_index) { in tc_cls_can_offload_and_chain0() 701 cls_common->chain_index = tp->chain->index; in tc_cls_common_offload_init()
|
| D | flow_offload.h | 204 u32 chain_index; /* FLOW_ACTION_GOTO */ member 540 u32 chain_index; member
|
| /Linux-v5.15/drivers/net/ethernet/freescale/enetc/ |
| D | enetc_qos.c | 1089 if (f->common.chain_index >= priv->psfp_cap.max_streamid) { in enetc_psfp_parse_clsflower() 1108 filter->sid.index = f->common.chain_index; in enetc_psfp_parse_clsflower() 1389 if (f->common.chain_index >= priv->psfp_cap.max_streamid) { in enetc_psfp_destroy_clsflower() 1394 filter = enetc_get_stream_by_index(f->common.chain_index); in enetc_psfp_destroy_clsflower() 1421 filter = enetc_get_stream_by_index(f->common.chain_index); in enetc_psfp_get_stats()
|
| /Linux-v5.15/drivers/net/ethernet/stmicro/stmmac/ |
| D | stmmac_selftests.c | 1120 cls_u32.common.chain_index = 0; in stmmac_test_rxp() 1368 cls->common.chain_index = 0; in __stmmac_test_l3filt() 1496 cls->common.chain_index = 0; in __stmmac_test_l4filt()
|
| /Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/ |
| D | en_tc.c | 2051 if (netif_is_bareudp(filter_dev) && f->common.chain_index == 0) in skip_key_basic() 3318 u32 dest_chain = act->chain_index; in validate_goto_chain() 3457 attr->dest_chain = act->chain_index; in parse_tc_nic_actions() 4004 attr->dest_chain = act->chain_index; in parse_tc_fdb_actions() 4243 attr->chain = f->common.chain_index; in mlx5e_flow_attr_init()
|
| /Linux-v5.15/drivers/net/ethernet/broadcom/bnxt/ |
| D | bnxt_tc.c | 1871 if (flower->common.chain_index) in bnxt_tc_setup_indr_block_cb()
|
| /Linux-v5.15/net/dsa/ |
| D | slave.c | 1141 if (cls->common.chain_index) in dsa_slave_setup_tc_cls_matchall()
|