Searched refs:afa_block (Results 1 – 7 of 7) sorted by relevance
/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_mr_tcam.c | 182 struct mlxsw_afa_block *afa_block; member 198 struct mlxsw_afa_block *afa_block; in mlxsw_sp_mr_tcam_afa_block_create() local 201 afa_block = mlxsw_afa_block_create(mlxsw_sp->afa); in mlxsw_sp_mr_tcam_afa_block_create() 202 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() 205 err = mlxsw_afa_block_append_allocated_counter(afa_block, in mlxsw_sp_mr_tcam_afa_block_create() 212 err = mlxsw_afa_block_append_trap(afa_block, in mlxsw_sp_mr_tcam_afa_block_create() 226 err = mlxsw_afa_block_append_mcrouter(afa_block, irif_index, in mlxsw_sp_mr_tcam_afa_block_create() 233 err = mlxsw_afa_block_append_trap_and_forward(afa_block, in mlxsw_sp_mr_tcam_afa_block_create() 244 err = mlxsw_afa_block_commit(afa_block); in mlxsw_sp_mr_tcam_afa_block_create() [all …]
|
D | spectrum2_acl_tcam.c | 73 struct mlxsw_afa_block *afa_block; in mlxsw_sp2_acl_tcam_init() local 90 afa_block = mlxsw_afa_block_create(mlxsw_sp->afa); in mlxsw_sp2_acl_tcam_init() 91 if (IS_ERR(afa_block)) { in mlxsw_sp2_acl_tcam_init() 92 err = PTR_ERR(afa_block); in mlxsw_sp2_acl_tcam_init() 95 err = mlxsw_afa_block_continue(afa_block); in mlxsw_sp2_acl_tcam_init() 98 enc_actions = mlxsw_afa_block_cur_set(afa_block); in mlxsw_sp2_acl_tcam_init() 116 mlxsw_afa_block_destroy(afa_block); in mlxsw_sp2_acl_tcam_init() 123 mlxsw_afa_block_destroy(afa_block); in mlxsw_sp2_acl_tcam_init()
|
D | spectrum1_mr_tcam.c | 31 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()
|
D | spectrum2_mr_tcam.c | 209 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()
|
D | spectrum_acl.c | 310 struct mlxsw_afa_block *afa_block) in mlxsw_sp_acl_rulei_create() argument 319 if (afa_block) { in mlxsw_sp_acl_rulei_create() 320 rulei->act_block = afa_block; in mlxsw_sp_acl_rulei_create() 720 struct mlxsw_afa_block *afa_block, in mlxsw_sp_acl_rule_create() argument 737 rule->rulei = mlxsw_sp_acl_rulei_create(mlxsw_sp->acl, afa_block); in mlxsw_sp_acl_rule_create() 829 struct mlxsw_afa_block *afa_block) in mlxsw_sp_acl_rule_action_replace() argument 836 rulei->act_block = afa_block; in mlxsw_sp_acl_rule_action_replace()
|
D | spectrum_acl_ctcam.c | 104 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()
|
D | spectrum.h | 933 struct mlxsw_afa_block *afa_block); 998 struct mlxsw_afa_block *afa_block, 1008 struct mlxsw_afa_block *afa_block); 1269 struct mlxsw_afa_block *afa_block, 1276 struct mlxsw_afa_block *afa_block);
|