net: ipa: use Qtime for IPA v4.5 head-of-line time limit
authorAlex Elder <elder@linaro.org>
Mon, 30 Nov 2020 23:37:12 +0000 (17:37 -0600)
committerJakub Kicinski <kuba@kernel.org>
Wed, 2 Dec 2020 02:05:28 +0000 (18:05 -0800)
commit63e5afc86aeb1a55bdfd8fe6dd5f6fb5fb90ed1a
tree93702bc6a8e1b8db87101eb12938ccaf7f6133eb
parent1954704136d3d3f168fc38ebe4024d7574faf1ef
net: ipa: use Qtime for IPA v4.5 head-of-line time limit

Extend ipa_reg_init_hol_block_timer_val() so it properly calculates
the head-of-line block timeout to use for IPA v4.5.

Introduce hol_block_timer_qtime_val() to compute the value to use
for IPA v4.5, where Qtime is used as the basis of the timer.  Call
that function from hol_block_timer_val() for IPA v4.5.

Both of these are private functions, so shorten their names a bit so
they don't take up so much space on the line.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ipa/ipa_endpoint.c