net: ipa: replenish after delivering payload
authorAlex Elder <elder@linaro.org>
Thu, 3 Feb 2022 17:09:26 +0000 (11:09 -0600)
committerDavid S. Miller <davem@davemloft.net>
Fri, 4 Feb 2022 10:16:08 +0000 (10:16 +0000)
commit5d6ac24fb10f04681ff584cd1bb5c2ac22ebe417
tree715273fa3351412e63819a548c99bf204e6753be
parent09b337dedacaaab81ffc40c297e1bb9b3af6efa4
net: ipa: replenish after delivering payload

Replenishing is now solely driven by whether transactions are
available for a channel, and it doesn't really matter whether
we replenish before or after we deliver received packets to the
network stack.

Replenishing before delivering the payload adds a little latency.
Eliminate that by requesting a replenish after the payload is
delivered.

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