afa_block 695 drivers/net/ethernet/mellanox/mlxsw/spectrum.h struct mlxsw_afa_block *afa_block); afa_block 739 drivers/net/ethernet/mellanox/mlxsw/spectrum.h struct mlxsw_afa_block *afa_block, afa_block 749 drivers/net/ethernet/mellanox/mlxsw/spectrum.h struct mlxsw_afa_block *afa_block); afa_block 918 drivers/net/ethernet/mellanox/mlxsw/spectrum.h struct mlxsw_afa_block *afa_block, afa_block 925 drivers/net/ethernet/mellanox/mlxsw/spectrum.h struct mlxsw_afa_block *afa_block); afa_block 31 drivers/net/ethernet/mellanox/mlxsw/spectrum1_mr_tcam.c struct mlxsw_afa_block *afa_block) afa_block 44 drivers/net/ethernet/mellanox/mlxsw/spectrum1_mr_tcam.c mlxsw_afa_block_first_set(afa_block)); afa_block 54 drivers/net/ethernet/mellanox/mlxsw/spectrum1_mr_tcam.c mlxsw_afa_block_first_set(afa_block)); afa_block 125 drivers/net/ethernet/mellanox/mlxsw/spectrum1_mr_tcam.c struct mlxsw_afa_block *afa_block, afa_block 138 drivers/net/ethernet/mellanox/mlxsw/spectrum1_mr_tcam.c key, afa_block); afa_block 164 drivers/net/ethernet/mellanox/mlxsw/spectrum1_mr_tcam.c struct mlxsw_afa_block *afa_block) afa_block 169 drivers/net/ethernet/mellanox/mlxsw/spectrum1_mr_tcam.c key, afa_block); afa_block 73 drivers/net/ethernet/mellanox/mlxsw/spectrum2_acl_tcam.c struct mlxsw_afa_block *afa_block; afa_block 90 drivers/net/ethernet/mellanox/mlxsw/spectrum2_acl_tcam.c afa_block = mlxsw_afa_block_create(mlxsw_sp->afa); afa_block 91 drivers/net/ethernet/mellanox/mlxsw/spectrum2_acl_tcam.c if (IS_ERR(afa_block)) { afa_block 92 drivers/net/ethernet/mellanox/mlxsw/spectrum2_acl_tcam.c err = PTR_ERR(afa_block); afa_block 95 drivers/net/ethernet/mellanox/mlxsw/spectrum2_acl_tcam.c err = mlxsw_afa_block_continue(afa_block); afa_block 98 drivers/net/ethernet/mellanox/mlxsw/spectrum2_acl_tcam.c enc_actions = mlxsw_afa_block_cur_set(afa_block); afa_block 116 drivers/net/ethernet/mellanox/mlxsw/spectrum2_acl_tcam.c mlxsw_afa_block_destroy(afa_block); afa_block 123 drivers/net/ethernet/mellanox/mlxsw/spectrum2_acl_tcam.c mlxsw_afa_block_destroy(afa_block); afa_block 209 drivers/net/ethernet/mellanox/mlxsw/spectrum2_mr_tcam.c struct mlxsw_afa_block *afa_block, afa_block 224 drivers/net/ethernet/mellanox/mlxsw/spectrum2_mr_tcam.c (unsigned long) route_priv, afa_block, afa_block 267 drivers/net/ethernet/mellanox/mlxsw/spectrum2_mr_tcam.c struct mlxsw_afa_block *afa_block) afa_block 283 drivers/net/ethernet/mellanox/mlxsw/spectrum2_mr_tcam.c return mlxsw_sp_acl_rule_action_replace(mlxsw_sp, rule, afa_block); afa_block 440 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl.c struct mlxsw_afa_block *afa_block) afa_block 449 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl.c if (afa_block) { afa_block 450 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl.c rulei->act_block = afa_block; afa_block 636 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl.c struct mlxsw_afa_block *afa_block, afa_block 653 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl.c rule->rulei = mlxsw_sp_acl_rulei_create(mlxsw_sp->acl, afa_block); afa_block 744 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl.c struct mlxsw_afa_block *afa_block) afa_block 751 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl.c rulei->act_block = afa_block; afa_block 104 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_ctcam.c struct mlxsw_afa_block *afa_block, afa_block 114 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_ctcam.c act_set = mlxsw_afa_block_first_set(afa_block); afa_block 182 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr_tcam.c struct mlxsw_afa_block *afa_block; afa_block 198 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr_tcam.c struct mlxsw_afa_block *afa_block; afa_block 201 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr_tcam.c afa_block = mlxsw_afa_block_create(mlxsw_sp->afa); afa_block 202 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr_tcam.c if (IS_ERR(afa_block)) afa_block 203 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr_tcam.c return afa_block; afa_block 205 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr_tcam.c err = mlxsw_afa_block_append_allocated_counter(afa_block, afa_block 212 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr_tcam.c err = mlxsw_afa_block_append_trap(afa_block, afa_block 226 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr_tcam.c err = mlxsw_afa_block_append_mcrouter(afa_block, irif_index, afa_block 233 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr_tcam.c err = mlxsw_afa_block_append_trap_and_forward(afa_block, afa_block 244 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr_tcam.c err = mlxsw_afa_block_commit(afa_block); afa_block 247 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr_tcam.c return afa_block; afa_block 249 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr_tcam.c mlxsw_afa_block_destroy(afa_block); afa_block 254 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr_tcam.c mlxsw_sp_mr_tcam_afa_block_destroy(struct mlxsw_afa_block *afa_block) afa_block 256 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr_tcam.c mlxsw_afa_block_destroy(afa_block); afa_block 306 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr_tcam.c route->afa_block = mlxsw_sp_mr_tcam_afa_block_create(mlxsw_sp, afa_block 312 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr_tcam.c if (IS_ERR(route->afa_block)) { afa_block 313 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr_tcam.c err = PTR_ERR(route->afa_block); afa_block 325 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr_tcam.c &route->key, route->afa_block, afa_block 334 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr_tcam.c mlxsw_sp_mr_tcam_afa_block_destroy(route->afa_block); afa_block 352 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr_tcam.c mlxsw_sp_mr_tcam_afa_block_destroy(route->afa_block); afa_block 374 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr_tcam.c struct mlxsw_afa_block *afa_block; afa_block 378 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr_tcam.c afa_block = mlxsw_sp_mr_tcam_afa_block_create(mlxsw_sp, route_action, afa_block 383 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr_tcam.c if (IS_ERR(afa_block)) afa_block 384 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr_tcam.c return PTR_ERR(afa_block); afa_block 387 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr_tcam.c err = ops->route_update(mlxsw_sp, route->priv, &route->key, afa_block); afa_block 392 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr_tcam.c mlxsw_sp_mr_tcam_afa_block_destroy(route->afa_block); afa_block 393 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr_tcam.c route->afa_block = afa_block; afa_block 397 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr_tcam.c mlxsw_sp_mr_tcam_afa_block_destroy(afa_block); afa_block 406 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr_tcam.c struct mlxsw_afa_block *afa_block; afa_block 410 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr_tcam.c afa_block = mlxsw_sp_mr_tcam_afa_block_create(mlxsw_sp, afa_block 416 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr_tcam.c if (IS_ERR(afa_block)) afa_block 417 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr_tcam.c return PTR_ERR(afa_block); afa_block 420 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr_tcam.c err = ops->route_update(mlxsw_sp, route->priv, &route->key, afa_block); afa_block 425 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr_tcam.c mlxsw_sp_mr_tcam_afa_block_destroy(route->afa_block); afa_block 426 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr_tcam.c route->afa_block = afa_block; afa_block 430 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr_tcam.c mlxsw_sp_mr_tcam_afa_block_destroy(afa_block); afa_block 470 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr_tcam.c struct mlxsw_afa_block *afa_block; afa_block 490 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr_tcam.c afa_block = mlxsw_sp_mr_tcam_afa_block_create(mlxsw_sp, route->action, afa_block 495 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr_tcam.c if (IS_ERR(afa_block)) { afa_block 496 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr_tcam.c err = PTR_ERR(afa_block); afa_block 501 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr_tcam.c err = ops->route_update(mlxsw_sp, route->priv, &route->key, afa_block); afa_block 505 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr_tcam.c mlxsw_sp_mr_tcam_afa_block_destroy(route->afa_block); afa_block 507 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr_tcam.c route->afa_block = afa_block; afa_block 512 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr_tcam.c mlxsw_sp_mr_tcam_afa_block_destroy(afa_block); afa_block 526 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr_tcam.c struct mlxsw_afa_block *afa_block; afa_block 536 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr_tcam.c afa_block = mlxsw_sp_mr_tcam_afa_block_create(mlxsw_sp, afa_block 542 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr_tcam.c if (IS_ERR(afa_block)) { afa_block 543 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr_tcam.c err = PTR_ERR(afa_block); afa_block 548 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr_tcam.c err = ops->route_update(mlxsw_sp, route->priv, &route->key, afa_block); afa_block 552 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr_tcam.c mlxsw_sp_mr_tcam_afa_block_destroy(route->afa_block); afa_block 554 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr_tcam.c route->afa_block = afa_block; afa_block 562 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr_tcam.c mlxsw_sp_mr_tcam_afa_block_destroy(afa_block);