]> git.baikalelectronics.ru Git - kernel.git/commit
net: ipa: rework gsi_channel_tx_update()
authorAlex Elder <elder@linaro.org>
Mon, 13 Jun 2022 17:17:59 +0000 (12:17 -0500)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Jun 2022 08:07:58 +0000 (09:07 +0100)
commit4a8b0da2f27dff4acfde677e878c8c69d51dffc5
tree227053febf4393eeb051a4354a912a0bc6e03128
parentc61e85bd33bc670d572c32bbe616a984aca9474f
net: ipa: rework gsi_channel_tx_update()

Rename gsi_channel_tx_update() to be gsi_trans_tx_completed(), and
pass it just the transaction pointer, deriving the channel from the
transaction.  Update the comments above the function to provide a
more concise description of how statistics for TX endpoints are
maintained and used.

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