Home
last modified time | relevance | path

Searched refs:act_block (Results 1 – 5 of 5) sorted by relevance

/Linux-v4.19/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_acl.c446 rulei->act_block = mlxsw_afa_block_create(acl->mlxsw_sp->afa); in mlxsw_sp_acl_rulei_create()
447 if (IS_ERR(rulei->act_block)) { in mlxsw_sp_acl_rulei_create()
448 err = PTR_ERR(rulei->act_block); in mlxsw_sp_acl_rulei_create()
460 mlxsw_afa_block_destroy(rulei->act_block); in mlxsw_sp_acl_rulei_destroy()
466 return mlxsw_afa_block_commit(rulei->act_block); in mlxsw_sp_acl_rulei_commit()
494 return mlxsw_afa_block_continue(rulei->act_block); in mlxsw_sp_acl_rulei_act_continue()
500 return mlxsw_afa_block_jump(rulei->act_block, group_id); in mlxsw_sp_acl_rulei_act_jump()
505 return mlxsw_afa_block_terminate(rulei->act_block); in mlxsw_sp_acl_rulei_act_terminate()
510 return mlxsw_afa_block_append_drop(rulei->act_block); in mlxsw_sp_acl_rulei_act_drop()
515 return mlxsw_afa_block_append_trap(rulei->act_block, in mlxsw_sp_acl_rulei_act_trap()
[all …]
Dspectrum2_acl_tcam.c27 struct mlxsw_afa_block *act_block; member
195 entry->act_block = rulei->act_block; in mlxsw_sp2_acl_tcam_entry_add()
220 return mlxsw_afa_block_activity_get(entry->act_block, activity); in mlxsw_sp2_acl_tcam_entry_activity_get()
Dspectrum_acl_ctcam.c75 act_set = mlxsw_afa_block_first_set(rulei->act_block); in mlxsw_sp_acl_ctcam_region_entry_insert()
Dspectrum_acl_atcam.c397 kvdl_index = mlxsw_afa_block_first_kvdl_index(rulei->act_block); in mlxsw_sp_acl_atcam_region_entry_insert()
Dspectrum.h481 struct mlxsw_afa_block *act_block; member