Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_acl_erp.c390 char perpt_pl[MLXSW_REG_PERPT_LEN]; in mlxsw_sp_acl_erp_table_erp_add() local
395 mlxsw_reg_perpt_pack(perpt_pl, erpt_bank, erpt_index, key_size, erp->id, in mlxsw_sp_acl_erp_table_erp_add()
398 mlxsw_reg_perpt_erp_vector_pack(perpt_pl, erp_table->erp_index_bitmap, in mlxsw_sp_acl_erp_table_erp_add()
400 mlxsw_reg_perpt_erp_vector_set(perpt_pl, erp->index, true); in mlxsw_sp_acl_erp_table_erp_add()
401 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(perpt), perpt_pl); in mlxsw_sp_acl_erp_table_erp_add()
410 char perpt_pl[MLXSW_REG_PERPT_LEN]; in mlxsw_sp_acl_erp_table_erp_del() local
415 mlxsw_reg_perpt_pack(perpt_pl, erpt_bank, erpt_index, key_size, erp->id, in mlxsw_sp_acl_erp_table_erp_del()
417 mlxsw_reg_perpt_erp_vector_pack(perpt_pl, erp_table->erp_index_bitmap, in mlxsw_sp_acl_erp_table_erp_del()
419 mlxsw_reg_perpt_erp_vector_set(perpt_pl, erp->index, false); in mlxsw_sp_acl_erp_table_erp_del()
420 mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(perpt), perpt_pl); in mlxsw_sp_acl_erp_table_erp_del()