/Linux-v6.1/drivers/net/ethernet/marvell/prestera/ |
D | prestera_acl.c | 25 u32 chain_index; member 102 int prestera_acl_chain_to_client(u32 chain_index, bool ingress, u32 *client) in prestera_acl_chain_to_client() argument 112 if (chain_index > 0) in prestera_acl_chain_to_client() 119 if (chain_index >= ARRAY_SIZE(ingress_client_map)) in prestera_acl_chain_to_client() 122 *client = ingress_client_map[chain_index]; in prestera_acl_chain_to_client() 126 static bool prestera_acl_chain_is_supported(u32 chain_index, bool ingress) in prestera_acl_chain_is_supported() argument 130 return chain_index == 0; in prestera_acl_chain_is_supported() 132 return (chain_index & ~PRESTERA_ACL_CHAIN_MASK) == 0; in prestera_acl_chain_is_supported() 138 u32 chain_index) in prestera_acl_ruleset_create() argument 144 if (!prestera_acl_chain_is_supported(chain_index, block->ingress)) in prestera_acl_ruleset_create() [all …]
|
D | prestera_flower.c | 13 u32 chain_index; member 36 u32 chain_index, in prestera_flower_parse_goto_action() argument 41 if (act->chain_index <= chain_index) in prestera_flower_parse_goto_action() 49 act->chain_index); in prestera_flower_parse_goto_action() 64 u32 chain_index, in prestera_flower_parse_actions() argument 83 err = prestera_acl_chain_to_client(chain_index, block->ingress, in prestera_flower_parse_actions() 124 chain_index, in prestera_flower_parse_actions() 360 f->common.chain_index, in prestera_flower_parse() 394 int prestera_flower_prio_get(struct prestera_flow_block *block, u32 chain_index, in prestera_flower_prio_get() argument 399 ruleset = prestera_acl_ruleset_lookup(block->sw->acl, block, chain_index); in prestera_flower_prio_get() [all …]
|
D | prestera_acl.h | 133 u32 chain_index; member 157 unsigned long cookie, u32 chain_index); 183 u32 chain_index); 187 u32 chain_index); 207 int prestera_acl_chain_to_client(u32 chain_index, bool ingress, u32 *client);
|
D | prestera_flower.h | 22 int prestera_flower_prio_get(struct prestera_flow_block *block, u32 chain_index,
|
D | prestera_matchall.c | 21 err = prestera_flower_prio_get(block, f->common.chain_index, in prestera_mall_prio_check()
|
/Linux-v6.1/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_flower.c | 130 u32 chain_index = act->chain_index; in mlxsw_sp_flower_parse_actions() local 135 chain_index, in mlxsw_sp_flower_parse_actions() 609 err = mlxsw_sp_mall_prio_get(block, f->common.chain_index, in mlxsw_sp_flower_mall_prio_check() 643 f->common.chain_index, in mlxsw_sp_flower_replace() 688 f->common.chain_index, in mlxsw_sp_flower_destroy() 716 f->common.chain_index, in mlxsw_sp_flower_stats() 754 f->common.chain_index, in mlxsw_sp_flower_tmplt_create() 769 f->common.chain_index, in mlxsw_sp_flower_tmplt_destroy() 780 u32 chain_index, unsigned int *p_min_prio, in mlxsw_sp_flower_prio_get() argument 786 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 | 982 struct mlxsw_sp_flow_block *block, u32 chain_index, 986 struct mlxsw_sp_flow_block *block, u32 chain_index, 1227 int mlxsw_sp_mall_prio_get(struct mlxsw_sp_flow_block *block, u32 chain_index, 1248 u32 chain_index, unsigned int *p_min_prio,
|
/Linux-v6.1/net/sched/ |
D | cls_api.c | 367 u32 chain_index) in tcf_chain_create() argument 379 chain->index = chain_index; in tcf_chain_create() 462 u32 chain_index) in tcf_chain_lookup() argument 469 if (chain->index == chain_index) in tcf_chain_lookup() 477 u32 chain_index) in tcf_chain_lookup_rcu() argument 482 if (chain->index == chain_index) in tcf_chain_lookup_rcu() 493 u32 chain_index, bool create, in __tcf_chain_get() argument 500 chain = tcf_chain_lookup(block, chain_index); in __tcf_chain_get() 506 chain = tcf_chain_create(block, chain_index); in __tcf_chain_get() 532 static struct tcf_chain *tcf_chain_get(struct tcf_block *block, u32 chain_index, in tcf_chain_get() argument [all …]
|
D | act_gact.c | 252 entry->chain_index = tcf_gact_goto_chain_index(act); in tcf_gact_offload_act_setup()
|
D | act_api.c | 74 u32 chain_index; in tcf_action_check_ctrlact() local 86 chain_index = action & TC_ACT_EXT_VAL_MASK; in tcf_action_check_ctrlact() 93 *newchain = tcf_chain_get_by_act(tp->chain->block, chain_index); in tcf_action_check_ctrlact()
|
D | cls_flower.c | 2503 cls_flower.common.chain_index = chain->index; in fl_hw_create_tmplt() 2525 cls_flower.common.chain_index = chain->index; in fl_hw_destroy_tmplt()
|
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/ |
D | goto.c | 18 u32 dest_chain = act->chain_index; in validate_goto_chain() 81 attr->dest_chain = act->chain_index; in tc_act_parse_goto()
|
/Linux-v6.1/drivers/net/ethernet/mscc/ |
D | ocelot_flower.c | 249 chain = f->common.chain_index; in ocelot_flower_parse_action() 452 filter->goto_target = a->chain_index; in ocelot_flower_parse_action() 863 int chain = f->common.chain_index; in ocelot_cls_flower_replace() 934 block_id = ocelot_chain_to_block(f->common.chain_index, ingress); in ocelot_cls_flower_destroy() 972 block_id = ocelot_chain_to_block(f->common.chain_index, ingress); in ocelot_cls_flower_stats()
|
/Linux-v6.1/drivers/net/ethernet/netronome/nfp/flower/ |
D | conntrack.c | 107 if (flow->common.chain_index && exist_ct_clear) in is_post_ct_flow() 1246 if (post_ct_entry->chain_index != pre_ct_entry->chain_index) in nfp_ct_do_tc_merge() 1465 entry->chain_index = flow->common.chain_index; in nfp_fl_ct_add_flow() 1759 ct_entry->chain_index = ct_goto->chain_index; in nfp_fl_ct_handle_pre_ct() 1805 ct_entry->chain_index = flow->common.chain_index; in nfp_fl_ct_handle_post_ct()
|
D | conntrack.h | 127 u32 chain_index; member
|
D | offload.c | 1313 if (flow->common.chain_index) in offload_pre_check()
|
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/en/rep/ |
D | tc.c | 219 if (tmp.common.chain_index != 0) in mlx5e_rep_setup_ft_cb() 222 tmp.common.chain_index = mlx5_chains_get_nf_ft_chain(esw_chains(esw)); in mlx5e_rep_setup_ft_cb() 400 tmp.common.chain_index) in mlx5e_rep_indr_setup_ft_cb() 403 tmp.common.chain_index = mlx5_chains_get_nf_ft_chain(esw_chains(esw)); in mlx5e_rep_indr_setup_ft_cb()
|
/Linux-v6.1/include/net/ |
D | pkt_cls.h | 46 u32 chain_index); 702 if (common->chain_index) { in tc_cls_can_offload_and_chain0() 744 cls_common->chain_index = tp->chain->index; in tc_cls_common_offload_init()
|
D | flow_offload.h | 228 u32 chain_index; /* FLOW_ACTION_GOTO */ member 579 u32 chain_index; member
|
/Linux-v6.1/drivers/net/ethernet/freescale/enetc/ |
D | enetc_qos.c | 1084 if (f->common.chain_index >= priv->psfp_cap.max_streamid) { in enetc_psfp_parse_clsflower() 1103 filter->sid.index = f->common.chain_index; in enetc_psfp_parse_clsflower() 1383 if (f->common.chain_index >= priv->psfp_cap.max_streamid) { in enetc_psfp_destroy_clsflower() 1388 filter = enetc_get_stream_by_index(f->common.chain_index); in enetc_psfp_destroy_clsflower() 1415 filter = enetc_get_stream_by_index(f->common.chain_index); in enetc_psfp_get_stats()
|
/Linux-v6.1/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac_selftests.c | 1121 cls_u32.common.chain_index = 0; in stmmac_test_rxp() 1367 cls->common.chain_index = 0; in __stmmac_test_l3filt() 1495 cls->common.chain_index = 0; in __stmmac_test_l4filt()
|
/Linux-v6.1/drivers/net/ethernet/sfc/ |
D | tc.c | 226 if (tc->common.chain_index) { in efx_tc_flower_replace()
|
/Linux-v6.1/drivers/net/wireless/ralink/rt2x00/ |
D | rt2800lib.c | 9196 u8 chain_index = 0, record_index = 0; in rt2800_rf_configrecover() local 9199 for (chain_index = 0; chain_index < 2; chain_index++) { in rt2800_rf_configrecover() 9201 bank = rf_record[chain_index][record_index].bank; in rt2800_rf_configrecover() 9202 rf_register = rf_record[chain_index][record_index].reg; in rt2800_rf_configrecover() 9203 value = rf_record[chain_index][record_index].value; in rt2800_rf_configrecover()
|