net: ipa: reduce aggregation time limit
authorAlex Elder <elder@linaro.org>
Mon, 29 Jun 2020 21:55:22 +0000 (16:55 -0500)
committerDavid S. Miller <davem@davemloft.net>
Wed, 1 Jul 2020 22:27:09 +0000 (15:27 -0700)
commit1d86652b13e8404ee42b6575d97ed228e92547d6
treec699a71f0ac72ed19949a049b4b20372c9de9423
parent317a5740b70568f71ecdcf0db1aefad2e4b74811
net: ipa: reduce aggregation time limit

Halve the time limit used when aggregation is enabled on an RX
endpoint, to half a millisecond.

Use DIV_ROUND_CLOSEST() to compute the value that represents the
time period, to get better accuracy in the event the time limit is
not an even multiple of the granularity.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ipa/ipa_endpoint.c