Home
last modified time | relevance | path

Searched refs:mlxsw_sp_flow_block (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_flow.c12 struct mlxsw_sp_flow_block *
15 struct mlxsw_sp_flow_block *block; in mlxsw_sp_flow_block_create()
27 void mlxsw_sp_flow_block_destroy(struct mlxsw_sp_flow_block *block) in mlxsw_sp_flow_block_destroy()
34 mlxsw_sp_flow_block_lookup(struct mlxsw_sp_flow_block *block, in mlxsw_sp_flow_block_lookup()
47 mlxsw_sp_flow_block_ruleset_bound(const struct mlxsw_sp_flow_block *block) in mlxsw_sp_flow_block_ruleset_bound()
53 struct mlxsw_sp_flow_block *block, in mlxsw_sp_flow_block_bind()
108 struct mlxsw_sp_flow_block *block, in mlxsw_sp_flow_block_unbind()
135 static int mlxsw_sp_flow_block_mall_cb(struct mlxsw_sp_flow_block *flow_block, in mlxsw_sp_flow_block_mall_cb()
151 static int mlxsw_sp_flow_block_flower_cb(struct mlxsw_sp_flow_block *flow_block, in mlxsw_sp_flow_block_flower_cb()
177 struct mlxsw_sp_flow_block *flow_block = cb_priv; in mlxsw_sp_flow_block_cb()
[all …]
H A Dspectrum.h353 struct mlxsw_sp_flow_block *ing_flow_block;
354 struct mlxsw_sp_flow_block *eg_flow_block;
886 struct mlxsw_sp_flow_block { struct
911 mlxsw_sp_flow_block_mlxsw_sp(struct mlxsw_sp_flow_block *block) in mlxsw_sp_flow_block_mlxsw_sp() argument
917 mlxsw_sp_flow_block_rule_count(const struct mlxsw_sp_flow_block *block) in mlxsw_sp_flow_block_rule_count()
923 mlxsw_sp_flow_block_disable_inc(struct mlxsw_sp_flow_block *block) in mlxsw_sp_flow_block_disable_inc()
930 mlxsw_sp_flow_block_disable_dec(struct mlxsw_sp_flow_block *block) in mlxsw_sp_flow_block_disable_dec()
937 mlxsw_sp_flow_block_disabled(const struct mlxsw_sp_flow_block *block) in mlxsw_sp_flow_block_disabled()
943 mlxsw_sp_flow_block_is_egress_bound(const struct mlxsw_sp_flow_block *block) in mlxsw_sp_flow_block_is_egress_bound()
949 mlxsw_sp_flow_block_is_ingress_bound(const struct mlxsw_sp_flow_block *block) in mlxsw_sp_flow_block_is_ingress_bound()
[all …]
H A Dspectrum_matchall.c14 mlxsw_sp_mall_entry_find(struct mlxsw_sp_flow_block *block, unsigned long cookie) in mlxsw_sp_mall_entry_find()
184 static void mlxsw_sp_mall_prio_update(struct mlxsw_sp_flow_block *block) in mlxsw_sp_mall_prio_update()
201 struct mlxsw_sp_flow_block *block, in mlxsw_sp_mall_replace()
310 void mlxsw_sp_mall_destroy(struct mlxsw_sp_flow_block *block, in mlxsw_sp_mall_destroy()
334 int mlxsw_sp_mall_port_bind(struct mlxsw_sp_flow_block *block, in mlxsw_sp_mall_port_bind()
356 void mlxsw_sp_mall_port_unbind(struct mlxsw_sp_flow_block *block, in mlxsw_sp_mall_port_unbind()
365 int mlxsw_sp_mall_prio_get(struct mlxsw_sp_flow_block *block, u32 chain_index, in mlxsw_sp_mall_prio_get()
H A Dspectrum_flower.c59 struct mlxsw_sp_flow_block *block, in mlxsw_sp_flower_parse_actions()
296 const struct mlxsw_sp_flow_block *block, in mlxsw_sp_flower_parse_meta_iif()
339 struct mlxsw_sp_flow_block *block) in mlxsw_sp_flower_parse_meta()
558 struct mlxsw_sp_flow_block *block, in mlxsw_sp_flower_parse()
702 static int mlxsw_sp_flower_mall_prio_check(struct mlxsw_sp_flow_block *block, in mlxsw_sp_flower_mall_prio_check()
731 struct mlxsw_sp_flow_block *block, in mlxsw_sp_flower_replace()
782 struct mlxsw_sp_flow_block *block, in mlxsw_sp_flower_destroy()
804 struct mlxsw_sp_flow_block *block, in mlxsw_sp_flower_stats()
843 struct mlxsw_sp_flow_block *block, in mlxsw_sp_flower_tmplt_create()
864 struct mlxsw_sp_flow_block *block, in mlxsw_sp_flower_tmplt_destroy()
[all …]
H A Dspectrum_acl.c50 struct mlxsw_sp_flow_block *block;
107 struct mlxsw_sp_flow_block *block, in mlxsw_sp_acl_ruleset_bind()
118 struct mlxsw_sp_flow_block *block, in mlxsw_sp_acl_ruleset_unbind()
131 struct mlxsw_sp_flow_block *block) in mlxsw_sp_acl_ruleset_block_bind()
156 struct mlxsw_sp_flow_block *block) in mlxsw_sp_acl_ruleset_block_unbind()
167 struct mlxsw_sp_flow_block *block, u32 chain_index, in mlxsw_sp_acl_ruleset_create()
239 struct mlxsw_sp_flow_block *block, u32 chain_index, in __mlxsw_sp_acl_ruleset_lookup()
254 struct mlxsw_sp_flow_block *block, u32 chain_index, in mlxsw_sp_acl_ruleset_lookup()
272 struct mlxsw_sp_flow_block *block, u32 chain_index, in mlxsw_sp_acl_ruleset_get()
450 struct mlxsw_sp_flow_block *block, in mlxsw_sp_acl_rulei_act_mirror()
[all …]
H A Dspectrum2_mr_tcam.c12 struct mlxsw_sp_flow_block *flow_block;