Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_router.c220 char ricnt_pl[MLXSW_REG_RICNT_LEN]; in mlxsw_sp_rif_counter_value_get() local
232 mlxsw_reg_ricnt_pack(ricnt_pl, *p_counter_index, in mlxsw_sp_rif_counter_value_get()
234 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(ricnt), ricnt_pl); in mlxsw_sp_rif_counter_value_get()
237 *cnt = mlxsw_reg_ricnt_good_unicast_packets_get(ricnt_pl); in mlxsw_sp_rif_counter_value_get()
244 char ricnt_pl[MLXSW_REG_RICNT_LEN]; in mlxsw_sp_rif_counter_clear() local
246 mlxsw_reg_ricnt_pack(ricnt_pl, counter_index, in mlxsw_sp_rif_counter_clear()
248 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(ricnt), ricnt_pl); in mlxsw_sp_rif_counter_clear()