]> git.baikalelectronics.ru Git - kernel.git/commit
net: ipa: introduce gsi_trans_tx_committed()
authorAlex Elder <elder@linaro.org>
Mon, 13 Jun 2022 17:17:56 +0000 (12:17 -0500)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Jun 2022 08:07:58 +0000 (09:07 +0100)
commit5b872f27c1624348c21c19976c910b9c170fc806
treee2558615379c83a257ddcd2cfd8df8c4c4316d4a
parent566beacb115f89a8e12348a82c41dfcce4d96f5f
net: ipa: introduce gsi_trans_tx_committed()

Create a new function that encapsulates recording information needed
for TX channel statistics when a transaction is committed.

Record the accumulated length in the transaction before the call
(for both RX and TX), so it can be used when updating TX statistics.

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