]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commitb63f507c06e6835aaefe89faee220aefedad0a1d
tree4a5dba3ba61a4b8adfbf9151c68519fbaf98641b
parentd79e4164d0d51f5a39ee7208823335a5fee902e0
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