net: ipa: kill replenish_backlog
authorAlex Elder <elder@linaro.org>
Thu, 3 Feb 2022 17:09:25 +0000 (11:09 -0600)
committerDavid S. Miller <davem@davemloft.net>
Fri, 4 Feb 2022 10:16:08 +0000 (10:16 +0000)
commit09b337dedacaaab81ffc40c297e1bb9b3af6efa4
treea7e0749f2cc73936bd3de04d02998734fffb3f3d
parent5fc7f9ba2e510fe725f0fff6ddfe824f7184da03
net: ipa: kill replenish_backlog

We no longer use the replenish_backlog atomic variable to decide
when we've got work to do providing receive buffers to hardware.
Basically, we try to keep the hardware as full as possible, all the
time.  We keep supplying buffers until the hardware has no more
space for them.

As a result, we can get rid of the replenish_backlog field and the
atomic operations performed on it.

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