Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_acl.c50 u32 chain_index; member
298 struct mlxsw_sp_acl_block *block, u32 chain_index, in mlxsw_sp_acl_ruleset_create() argument
313 ruleset->ht_key.chain_index = chain_index; in mlxsw_sp_acl_ruleset_create()
369 struct mlxsw_sp_acl_block *block, u32 chain_index, in __mlxsw_sp_acl_ruleset_lookup() argument
376 ht_key.chain_index = chain_index; in __mlxsw_sp_acl_ruleset_lookup()
384 struct mlxsw_sp_acl_block *block, u32 chain_index, in mlxsw_sp_acl_ruleset_lookup() argument
394 ruleset = __mlxsw_sp_acl_ruleset_lookup(acl, block, chain_index, ops); in mlxsw_sp_acl_ruleset_lookup()
402 struct mlxsw_sp_acl_block *block, u32 chain_index, in mlxsw_sp_acl_ruleset_get() argument
414 ruleset = __mlxsw_sp_acl_ruleset_lookup(acl, block, chain_index, ops); in mlxsw_sp_acl_ruleset_get()
419 return mlxsw_sp_acl_ruleset_create(mlxsw_sp, block, chain_index, ops, in mlxsw_sp_acl_ruleset_get()
[all …]
Dspectrum_flower.c59 u32 chain_index = act->chain_index; in mlxsw_sp_flower_parse_actions() local
64 chain_index, in mlxsw_sp_flower_parse_actions()
465 f->common.chain_index, in mlxsw_sp_flower_replace()
510 f->common.chain_index, in mlxsw_sp_flower_destroy()
536 f->common.chain_index, in mlxsw_sp_flower_stats()
573 f->common.chain_index, in mlxsw_sp_flower_tmplt_create()
588 f->common.chain_index, in mlxsw_sp_flower_tmplt_destroy()
Dspectrum.h682 struct mlxsw_sp_acl_block *block, u32 chain_index,
686 struct mlxsw_sp_acl_block *block, u32 chain_index,
/Linux-v5.4/net/sched/
Dcls_api.c369 u32 chain_index) in tcf_chain_create() argument
381 chain->index = chain_index; in tcf_chain_create()
464 u32 chain_index) in tcf_chain_lookup() argument
471 if (chain->index == chain_index) in tcf_chain_lookup()
481 u32 chain_index, bool create, in __tcf_chain_get() argument
488 chain = tcf_chain_lookup(block, chain_index); in __tcf_chain_get()
494 chain = tcf_chain_create(block, chain_index); in __tcf_chain_get()
520 static struct tcf_chain *tcf_chain_get(struct tcf_block *block, u32 chain_index, in tcf_chain_get() argument
523 return __tcf_chain_get(block, chain_index, create, false); in tcf_chain_get()
526 struct tcf_chain *tcf_chain_get_by_act(struct tcf_block *block, u32 chain_index) in tcf_chain_get_by_act() 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.c1869 cls_flower.common.chain_index = chain->index; in fl_hw_create_tmplt()
1891 cls_flower.common.chain_index = chain->index; in fl_hw_destroy_tmplt()
/Linux-v5.4/include/net/
Dflow_offload.h164 u32 chain_index; /* FLOW_ACTION_GOTO */ member
354 u32 chain_index; member
Dpkt_cls.h40 u32 chain_index);
587 if (common->chain_index) { in tc_cls_can_offload_and_chain0()
629 cls_common->chain_index = tp->chain->index; in tc_cls_common_offload_init()
/Linux-v5.4/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_selftests.c1070 cls_u32.common.chain_index = 0; in stmmac_test_rxp()
1316 cls->common.chain_index = 0; in __stmmac_test_l3filt()
1439 cls->common.chain_index = 0; in __stmmac_test_l4filt()
/Linux-v5.4/drivers/net/ethernet/netronome/nfp/flower/
Doffload.c1554 if (flower->common.chain_index) in nfp_flower_setup_indr_block_cb()
/Linux-v5.4/net/dsa/
Dslave.c951 if (cls->common.chain_index) in dsa_slave_setup_tc_cls_matchall()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
Den_tc.c3382 u32 dest_chain = act->chain_index; in parse_tc_fdb_actions()
3563 esw_attr->chain = f->common.chain_index; in mlx5e_flow_esw_attr_init()
/Linux-v5.4/drivers/net/ethernet/intel/iavf/
Diavf_main.c3055 if (cls_flower->common.chain_index) in iavf_setup_tc_cls_flower()