]> git.baikalelectronics.ru Git - kernel.git/commit
net: ipa: add a transaction committed list
authorAlex Elder <elder@linaro.org>
Tue, 19 Jul 2022 18:10:16 +0000 (13:10 -0500)
committerJakub Kicinski <kuba@kernel.org>
Thu, 21 Jul 2022 04:04:35 +0000 (21:04 -0700)
commitfd088c1f138323875a65eed112bfe47c896bdaf2
tree4a5dba3ba61a4b8adfbf9151c68519fbaf98641b
parent1d1ed0cfcc0f26ae075d1c8848917ae43b8d6428
net: ipa: add a transaction committed list

We currently put a transaction on the pending list when it has
been committed.  But until the channel's doorbell rings, these
transactions aren't actually "owned" by the hardware yet.

Add a new "committed" state (and list), to represent transactions
that have been committed but not yet sent to hardware.  Define
"pending" to mean committed transactions that have been sent
to hardware but have not yet completed.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ipa/gsi.c
drivers/net/ipa/gsi.h
drivers/net/ipa/gsi_trans.c