Searched refs:afa_block (Results 1 – 7 of 7) sorted by relevance
/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A 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 …]
|
H A D | spectrum2_acl_tcam.c | 73 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 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()
|
H A D | spectrum2_mr_tcam.c | 213 struct mlxsw_afa_block *afa_block, in mlxsw_sp2_mr_tcam_route_create() argument 228 (unsigned long) route_priv, afa_block, in mlxsw_sp2_mr_tcam_route_create() 271 struct mlxsw_afa_block *afa_block) in mlxsw_sp2_mr_tcam_route_update() argument 287 return mlxsw_sp_acl_rule_action_replace(mlxsw_sp, rule, afa_block); in mlxsw_sp2_mr_tcam_route_update()
|
H A D | spectrum_acl.c | 316 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 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()
|
H A D | spectrum.h | 1002 struct mlxsw_afa_block *afa_block); 1071 struct mlxsw_afa_block *afa_block, 1081 struct mlxsw_afa_block *afa_block); 1349 struct mlxsw_afa_block *afa_block, 1356 struct mlxsw_afa_block *afa_block);
|