Home
last modified time | relevance | path

Searched refs:chain_index (Results 1 – 17 of 17) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_flower.c89 u32 chain_index = act->chain_index; in mlxsw_sp_flower_parse_actions() local
94 chain_index, in mlxsw_sp_flower_parse_actions()
540 err = mlxsw_sp_mall_prio_get(block, f->common.chain_index, in mlxsw_sp_flower_mall_prio_check()
574 f->common.chain_index, in mlxsw_sp_flower_replace()
619 f->common.chain_index, in mlxsw_sp_flower_destroy()
647 f->common.chain_index, in mlxsw_sp_flower_stats()
685 f->common.chain_index, in mlxsw_sp_flower_tmplt_create()
700 f->common.chain_index, in mlxsw_sp_flower_tmplt_destroy()
711 u32 chain_index, unsigned int *p_min_prio, in mlxsw_sp_flower_prio_get() argument
717 chain_index, in mlxsw_sp_flower_prio_get()
Dspectrum_acl.c45 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 …]
Dspectrum_matchall.c192 if (f->common.chain_index) { in mlxsw_sp_mall_replace()
202 err = mlxsw_sp_flower_prio_get(mlxsw_sp, block, f->common.chain_index, in mlxsw_sp_mall_replace()
345 int mlxsw_sp_mall_prio_get(struct mlxsw_sp_flow_block *block, u32 chain_index, in mlxsw_sp_mall_prio_get() argument
348 if (chain_index || list_empty(&block->mall.list)) in mlxsw_sp_mall_prio_get()
Dspectrum.h862 struct mlxsw_sp_flow_block *block, u32 chain_index,
866 struct mlxsw_sp_flow_block *block, u32 chain_index,
1077 int mlxsw_sp_mall_prio_get(struct mlxsw_sp_flow_block *block, u32 chain_index,
1098 u32 chain_index, unsigned int *p_min_prio,
Dspectrum_qdisc.c1549 if (f->common.chain_index) { in mlxsw_sp_qevent_mall_replace()
/kernel/linux/linux-5.10/net/sched/
Dcls_api.c349 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 …]
Dact_api.c56 u32 chain_index; in tcf_action_check_ctrlact() local
68 chain_index = action & TC_ACT_EXT_VAL_MASK; in tcf_action_check_ctrlact()
75 *newchain = tcf_chain_get_by_act(tp->chain->block, chain_index); in tcf_action_check_ctrlact()
Dcls_flower.c2314 cls_flower.common.chain_index = chain->index; in fl_hw_create_tmplt()
2336 cls_flower.common.chain_index = chain->index; in fl_hw_destroy_tmplt()
/kernel/linux/linux-5.10/drivers/net/ethernet/mscc/
Docelot_flower.c161 chain = f->common.chain_index; in ocelot_flower_parse_action()
308 filter->goto_target = a->chain_index; in ocelot_flower_parse_action()
681 int chain = f->common.chain_index; in ocelot_cls_flower_replace()
716 block_id = ocelot_chain_to_block(f->common.chain_index, ingress); in ocelot_cls_flower_destroy()
740 block_id = ocelot_chain_to_block(f->common.chain_index, ingress); in ocelot_cls_flower_stats()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en/rep/
Dtc.c212 if (tmp.common.chain_index != 0) in mlx5e_rep_setup_ft_cb()
215 tmp.common.chain_index = mlx5_chains_get_nf_ft_chain(esw_chains(esw)); in mlx5e_rep_setup_ft_cb()
384 tmp.common.chain_index) in mlx5e_rep_indr_setup_ft_cb()
387 tmp.common.chain_index = mlx5_chains_get_nf_ft_chain(esw_chains(esw)); in mlx5e_rep_indr_setup_ft_cb()
/kernel/linux/linux-5.10/include/net/
Dpkt_cls.h46 u32 chain_index);
663 if (common->chain_index) { in tc_cls_can_offload_and_chain0()
705 cls_common->chain_index = tp->chain->index; in tc_cls_common_offload_init()
Dflow_offload.h203 u32 chain_index; /* FLOW_ACTION_GOTO */ member
533 u32 chain_index; member
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/enetc/
Denetc_qos.c1094 if (f->common.chain_index >= priv->psfp_cap.max_streamid) { in enetc_psfp_parse_clsflower()
1113 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()
/kernel/linux/linux-5.10/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_selftests.c1120 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()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
Den_tc.c2261 if (netif_is_bareudp(filter_dev) && f->common.chain_index == 0) in skip_key_basic()
3470 u32 dest_chain = act->chain_index; in validate_goto_chain()
3611 attr->dest_chain = act->chain_index; in parse_tc_nic_actions()
4451 attr->dest_chain = act->chain_index; in parse_tc_fdb_actions()
4666 attr->chain = f->common.chain_index; in mlx5e_flow_attr_init()
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/flower/
Doffload.c1748 if (flower->common.chain_index) in nfp_flower_setup_indr_block_cb()
/kernel/linux/linux-5.10/net/dsa/
Dslave.c1098 if (cls->common.chain_index) in dsa_slave_setup_tc_cls_matchall()