diff options
author | Alex Elder <elder@linaro.org> | 2022-02-03 20:09:27 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-02-04 13:16:08 +0300 |
commit | 9654d8c462ce24fc39bbecccc4c9b972f5c1b5f5 (patch) | |
tree | 3eb002149563610279593eaa4d64865348471cea /net/6lowpan | |
parent | 5d6ac24fb10f04681ff584cd1bb5c2ac22ebe417 (diff) | |
download | linux-9654d8c462ce24fc39bbecccc4c9b972f5c1b5f5.tar.xz |
net: ipa: determine replenish doorbell differently
Rather than tracking the number of receive buffer transactions that
have been submitted without a doorbell, just track the total number
of transactions that have been issued. Then ring the doorbell when
that number modulo the replenish batch size is 0.
The effect is roughly the same, but the new count is slightly more
interesting, and this approach will someday allow the replenish
batch size to be tuned at runtime.
Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/6lowpan')
0 files changed, 0 insertions, 0 deletions