diff options
author | 2022-02-03 11:09:24 -0600 | |
---|---|---|
committer | 2022-02-04 10:16:08 +0000 | |
commit | 5fc7f9ba2e510fe725f0fff6ddfe824f7184da03 (patch) | |
tree | 05e915a95ff8af560faa4844e382b7e41653fbbb /net/sched/cls_api.c | |
parent | net: ipa: don't use replenish_backlog (diff) | |
download | linux-rng-5fc7f9ba2e510fe725f0fff6ddfe824f7184da03.tar.xz linux-rng-5fc7f9ba2e510fe725f0fff6ddfe824f7184da03.zip |
net: ipa: introduce gsi_channel_trans_idle()
Create a new function that returns true if all transactions for a
channel are available for use.
Use it in ipa_endpoint_replenish_enable() to see whether to start
replenishing, and in ipa_endpoint_replenish() to determine whether
it's necessary after a failure to schedule delayed work to ensure a
future replenish attempt occurs.
Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/cls_api.c')
0 files changed, 0 insertions, 0 deletions