• Alex Elder's avatar
    net: ipa: specify RX aggregation time limit in config data · beb90cba
    Alex Elder authored
    Don't assume that a 500 microsecond time limit should be used for
    all receive endpoints that support aggregation.  Instead, specify
    the time limit to use in the configuration data.
    
    Set a 500 microsecond limit for all existing RX endpoints, as before.
    
    Checking for overflow for the time limit field is a bit complicated.
    Rather than duplicate a lot of code in ipa_endpoint_data_valid_one(),
    call WARN() if any value is found to be too large when encoding it.
    Signed-off-by: default avatarAlex Elder <elder@linaro.org>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    beb90cba
ipa_data-v4.11.c 8.84 KB