Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_acl.c58 u32 chain_index; member
299 struct mlxsw_sp_acl_block *block, u32 chain_index, in mlxsw_sp_acl_ruleset_create() argument
314 ruleset->ht_key.chain_index = chain_index; in mlxsw_sp_acl_ruleset_create()
370 struct mlxsw_sp_acl_block *block, u32 chain_index, in __mlxsw_sp_acl_ruleset_lookup() argument
377 ht_key.chain_index = chain_index; in __mlxsw_sp_acl_ruleset_lookup()
385 struct mlxsw_sp_acl_block *block, u32 chain_index, in mlxsw_sp_acl_ruleset_lookup() argument
395 ruleset = __mlxsw_sp_acl_ruleset_lookup(acl, block, chain_index, ops); in mlxsw_sp_acl_ruleset_lookup()
403 struct mlxsw_sp_acl_block *block, u32 chain_index, in mlxsw_sp_acl_ruleset_get() argument
415 ruleset = __mlxsw_sp_acl_ruleset_lookup(acl, block, chain_index, ops); in mlxsw_sp_acl_ruleset_get()
420 return mlxsw_sp_acl_ruleset_create(mlxsw_sp, block, chain_index, ops, in mlxsw_sp_acl_ruleset_get()
[all …]
Dspectrum_flower.c54 u32 chain_index = tcf_gact_goto_chain_index(a); in mlxsw_sp_flower_parse_actions() local
59 chain_index, in mlxsw_sp_flower_parse_actions()
404 f->common.chain_index, in mlxsw_sp_flower_replace()
449 f->common.chain_index, in mlxsw_sp_flower_destroy()
475 f->common.chain_index, in mlxsw_sp_flower_stats()
512 f->common.chain_index, in mlxsw_sp_flower_tmplt_create()
527 f->common.chain_index, in mlxsw_sp_flower_tmplt_destroy()
Dspectrum.h513 struct mlxsw_sp_acl_block *block, u32 chain_index,
517 struct mlxsw_sp_acl_block *block, u32 chain_index,
/Linux-v4.19/net/sched/
Dcls_api.c202 u32 chain_index) in tcf_chain_create() argument
211 chain->index = chain_index; in tcf_chain_create()
263 u32 chain_index) in tcf_chain_lookup() argument
268 if (chain->index == chain_index) in tcf_chain_lookup()
278 u32 chain_index, bool create, in __tcf_chain_get() argument
281 struct tcf_chain *chain = tcf_chain_lookup(block, chain_index); in __tcf_chain_get()
288 chain = tcf_chain_create(block, chain_index); in __tcf_chain_get()
308 static struct tcf_chain *tcf_chain_get(struct tcf_block *block, u32 chain_index, in tcf_chain_get() argument
311 return __tcf_chain_get(block, chain_index, create, false); in tcf_chain_get()
314 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.c35 u32 chain_index = a->tcfa_action & TC_ACT_EXT_VAL_MASK; in tcf_action_goto_chain_init() local
39 a->goto_chain = tcf_chain_get_by_act(tp->chain->block, chain_index); in tcf_action_goto_chain_init()
Dcls_flower.c1368 cls_flower.common.chain_index = chain->index; in fl_hw_create_tmplt()
1389 cls_flower.common.chain_index = chain->index; in fl_hw_destroy_tmplt()
/Linux-v4.19/include/net/
Dpkt_cls.h44 u32 chain_index);
614 u32 chain_index; member
677 if (common->chain_index) { in tc_cls_can_offload_and_chain0()
719 cls_common->chain_index = tp->chain->index; in tc_cls_common_offload_init()
/Linux-v4.19/net/dsa/
Dslave.c845 if (cls->common.chain_index) in dsa_slave_setup_tc_cls_matchall()
/Linux-v4.19/drivers/net/ethernet/intel/i40evf/
Di40evf_main.c2853 if (cls_flower->common.chain_index) in i40evf_setup_tc_cls_flower()