def METHOD_NAME(value):
    from utilities.common import get_env_int
    if not is_soft_tgen():
        return value
    max_value = get_env_int("SPYTEST_SCAPY_MAX_RATE_PPS", 100)
    return get_min(int(value), max_value)