Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/ !
Dspectrum_router.c4476 char *ratrad_pl; in mlxsw_sp_nh_grp_activity_get() local
4479 ratrad_pl = kmalloc(MLXSW_REG_RATRAD_LEN, GFP_KERNEL); in mlxsw_sp_nh_grp_activity_get()
4480 if (!ratrad_pl) in mlxsw_sp_nh_grp_activity_get()
4483 mlxsw_reg_ratrad_pack(ratrad_pl, nh_grp->nhgi->adj_index, in mlxsw_sp_nh_grp_activity_get()
4485 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(ratrad), ratrad_pl); in mlxsw_sp_nh_grp_activity_get()
4490 if (!mlxsw_reg_ratrad_activity_vector_get(ratrad_pl, i)) in mlxsw_sp_nh_grp_activity_get()
4496 kfree(ratrad_pl); in mlxsw_sp_nh_grp_activity_get()