summaryrefslogtreecommitdiff
path: root/drivers/net/bonding/bond_alb.c
diff options
context:
space:
mode:
authorAlex Elder <elder@linaro.org>2022-02-03 20:09:27 +0300
committerDavid S. Miller <davem@davemloft.net>2022-02-04 13:16:08 +0300
commit9654d8c462ce24fc39bbecccc4c9b972f5c1b5f5 (patch)
tree3eb002149563610279593eaa4d64865348471cea /drivers/net/bonding/bond_alb.c
parent5d6ac24fb10f04681ff584cd1bb5c2ac22ebe417 (diff)
downloadlinux-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 'drivers/net/bonding/bond_alb.c')
0 files changed, 0 insertions, 0 deletions