]> 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)
commit375ac00108b0b83539cffbeefe610b08b81f7edc
tree4a5dba3ba61a4b8adfbf9151c68519fbaf98641b
parent15f992b0450b43d7fa578d671812a197d136a1ee
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