Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_flower.c90 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()
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.c218 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()
Dspectrum.h917 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,
Dspectrum_qdisc.c1707 if (f->common.chain_index) { in mlxsw_sp_qevent_mall_replace()
/drivers/net/ethernet/mscc/
Docelot_flower.c175 chain = f->common.chain_index; in ocelot_flower_parse_action()
328 filter->goto_target = a->chain_index; in ocelot_flower_parse_action()
702 int chain = f->common.chain_index; in ocelot_cls_flower_replace()
737 block_id = ocelot_chain_to_block(f->common.chain_index, ingress); in ocelot_cls_flower_destroy()
761 block_id = ocelot_chain_to_block(f->common.chain_index, ingress); in ocelot_cls_flower_stats()
/drivers/net/ethernet/mellanox/mlx5/core/en/rep/
Dtc.c214 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()
/drivers/net/ethernet/netronome/nfp/flower/
Dconntrack.c1007 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()
Dconntrack.h122 u32 chain_index; member
Doffload.c1279 if (flow->common.chain_index) in offload_pre_check()
/drivers/net/ethernet/marvell/prestera/
Dprestera_flow.c32 if (f->common.chain_index != 0) in prestera_flow_block_flower_cb()
/drivers/net/ethernet/freescale/enetc/
Denetc_qos.c1098 if (f->common.chain_index >= priv->psfp_cap.max_streamid) { in enetc_psfp_parse_clsflower()
1117 filter->sid.index = f->common.chain_index; in enetc_psfp_parse_clsflower()
1398 if (f->common.chain_index >= priv->psfp_cap.max_streamid) { in enetc_psfp_destroy_clsflower()
1403 filter = enetc_get_stream_by_index(f->common.chain_index); in enetc_psfp_destroy_clsflower()
1430 filter = enetc_get_stream_by_index(f->common.chain_index); in enetc_psfp_get_stats()
/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_selftests.c1121 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()
/drivers/net/ethernet/mellanox/mlx5/core/
Den_tc.c2143 if (netif_is_bareudp(filter_dev) && f->common.chain_index == 0) in skip_key_basic()
3407 u32 dest_chain = act->chain_index; in validate_goto_chain()
3587 attr->dest_chain = act->chain_index; in parse_tc_nic_actions()
4120 attr->dest_chain = act->chain_index; in parse_tc_fdb_actions()
4335 attr->chain = f->common.chain_index; in mlx5e_flow_attr_init()