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)
commitc5bddecbb97bcf0400354dc954cdbd89276e0ddb
tree227053febf4393eeb051a4354a912a0bc6e03128
parentdbad2fa71914a6a1a41bcba8bdc3e9213a982f82
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