Home
last modified time | relevance | path

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

/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()
/drivers/net/ethernet/mscc/
Docelot_flower.c175 chain = f->common.chain_index; in ocelot_flower_parse_action()
323 filter->goto_target = a->chain_index; in ocelot_flower_parse_action()
696 int chain = f->common.chain_index; in ocelot_cls_flower_replace()
731 block_id = ocelot_chain_to_block(f->common.chain_index, ingress); in ocelot_cls_flower_destroy()
755 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.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()
/drivers/net/ethernet/freescale/enetc/
Denetc_qos.c1099 if (f->common.chain_index >= priv->psfp_cap.max_streamid) { in enetc_psfp_parse_clsflower()
1118 filter->sid.index = f->common.chain_index; in enetc_psfp_parse_clsflower()
1394 if (f->common.chain_index >= priv->psfp_cap.max_streamid) { in enetc_psfp_destroy_clsflower()
1399 filter = enetc_get_stream_by_index(f->common.chain_index); in enetc_psfp_destroy_clsflower()
1426 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.c2267 if (netif_is_bareudp(filter_dev) && f->common.chain_index == 0) in skip_key_basic()
3487 u32 dest_chain = act->chain_index; in validate_goto_chain()
3628 attr->dest_chain = act->chain_index; in parse_tc_nic_actions()
4468 attr->dest_chain = act->chain_index; in parse_tc_fdb_actions()
4683 attr->chain = f->common.chain_index; in mlx5e_flow_attr_init()
/drivers/net/ethernet/netronome/nfp/flower/
Doffload.c1748 if (flower->common.chain_index) in nfp_flower_setup_indr_block_cb()