mlxsw_sp1_ptp_shaper_params
if (mlxsw_sp1_ptp_shaper_params[i].ethtool_speed == speed) {
static const struct mlxsw_sp1_ptp_shaper_params
mlxsw_sp1_ptp_shaper_params[] = {
#define MLXSW_SP1_PTP_SHAPER_PARAMS_LEN ARRAY_SIZE(mlxsw_sp1_ptp_shaper_params)
const struct mlxsw_sp1_ptp_shaper_params *params;
params = &mlxsw_sp1_ptp_shaper_params[i];