Home
last modified time | relevance | path

Searched refs:afa_block (Results 1 – 7 of 7) sorted by relevance

/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_mr_tcam.c202 if (IS_ERR(afa_block)) in mlxsw_sp_mr_tcam_afa_block_create()
203 return afa_block; in mlxsw_sp_mr_tcam_afa_block_create()
247 return afa_block; in mlxsw_sp_mr_tcam_afa_block_create()
383 if (IS_ERR(afa_block)) in mlxsw_sp_mr_tcam_route_action_update()
393 route->afa_block = afa_block; in mlxsw_sp_mr_tcam_route_action_update()
416 if (IS_ERR(afa_block)) in mlxsw_sp_mr_tcam_route_min_mtu_update()
426 route->afa_block = afa_block; in mlxsw_sp_mr_tcam_route_min_mtu_update()
495 if (IS_ERR(afa_block)) { in mlxsw_sp_mr_tcam_route_erif_del()
507 route->afa_block = afa_block; in mlxsw_sp_mr_tcam_route_erif_del()
542 if (IS_ERR(afa_block)) { in mlxsw_sp_mr_tcam_route_update()
[all …]
H A Dspectrum2_acl_tcam.c73 struct mlxsw_afa_block *afa_block; in mlxsw_sp2_acl_tcam_init() local
97 afa_block = mlxsw_afa_block_create(mlxsw_sp->afa); in mlxsw_sp2_acl_tcam_init()
98 if (IS_ERR(afa_block)) { in mlxsw_sp2_acl_tcam_init()
99 err = PTR_ERR(afa_block); in mlxsw_sp2_acl_tcam_init()
102 err = mlxsw_afa_block_continue(afa_block); in mlxsw_sp2_acl_tcam_init()
105 enc_actions = mlxsw_afa_block_cur_set(afa_block); in mlxsw_sp2_acl_tcam_init()
126 mlxsw_afa_block_destroy(afa_block); in mlxsw_sp2_acl_tcam_init()
133 mlxsw_afa_block_destroy(afa_block); in mlxsw_sp2_acl_tcam_init()
H A Dspectrum1_mr_tcam.c31 struct mlxsw_afa_block *afa_block) in mlxsw_sp1_mr_tcam_route_replace() argument
44 mlxsw_afa_block_first_set(afa_block)); in mlxsw_sp1_mr_tcam_route_replace()
54 mlxsw_afa_block_first_set(afa_block)); in mlxsw_sp1_mr_tcam_route_replace()
125 struct mlxsw_afa_block *afa_block, in mlxsw_sp1_mr_tcam_route_create() argument
138 key, afa_block); in mlxsw_sp1_mr_tcam_route_create()
164 struct mlxsw_afa_block *afa_block) in mlxsw_sp1_mr_tcam_route_update() argument
169 key, afa_block); in mlxsw_sp1_mr_tcam_route_update()
H A Dspectrum2_mr_tcam.c209 struct mlxsw_afa_block *afa_block, in mlxsw_sp2_mr_tcam_route_create() argument
224 (unsigned long) route_priv, afa_block, in mlxsw_sp2_mr_tcam_route_create()
267 struct mlxsw_afa_block *afa_block) in mlxsw_sp2_mr_tcam_route_update() argument
283 return mlxsw_sp_acl_rule_action_replace(mlxsw_sp, rule, afa_block); in mlxsw_sp2_mr_tcam_route_update()
H A Dspectrum_acl_ctcam.c104 struct mlxsw_afa_block *afa_block, in mlxsw_sp_acl_ctcam_region_entry_action_replace() argument
114 act_set = mlxsw_afa_block_first_set(afa_block); in mlxsw_sp_acl_ctcam_region_entry_action_replace()
H A Dspectrum_acl.c316 struct mlxsw_afa_block *afa_block) in mlxsw_sp_acl_rulei_create() argument
325 if (afa_block) { in mlxsw_sp_acl_rulei_create()
326 rulei->act_block = afa_block; in mlxsw_sp_acl_rulei_create()
817 struct mlxsw_afa_block *afa_block, in mlxsw_sp_acl_rule_create() argument
834 rule->rulei = mlxsw_sp_acl_rulei_create(mlxsw_sp->acl, afa_block); in mlxsw_sp_acl_rule_create()
926 struct mlxsw_afa_block *afa_block) in mlxsw_sp_acl_rule_action_replace() argument
933 rulei->act_block = afa_block; in mlxsw_sp_acl_rule_action_replace()
H A Dspectrum.h1000 struct mlxsw_afa_block *afa_block);
1069 struct mlxsw_afa_block *afa_block,
1079 struct mlxsw_afa_block *afa_block);
1347 struct mlxsw_afa_block *afa_block,
1354 struct mlxsw_afa_block *afa_block);