]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite1316c0ec29b68353fc9a6bbb2b177e6ed9c9963
treea7e0749f2cc73936bd3de04d02998734fffb3f3d
parentb960eab90000c933b3048cd142f55fe12baba6f4
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