]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: ipa: rearrange transaction initialization
authorAlex Elder <elder@linaro.org>
Tue, 19 Jul 2022 18:10:17 +0000 (13:10 -0500)
committerJakub Kicinski <kuba@kernel.org>
Thu, 21 Jul 2022 04:04:36 +0000 (21:04 -0700)
commit4920065888fa27edf1cb3f2d03c6d1c245e493bf
tree2b2efdd30457f30f8f43f527866eb85099a065f4
parentb63f507c06e6835aaefe89faee220aefedad0a1d
net: ipa: rearrange transaction initialization

The transaction map is really associated with the transaction pool;
move its definition earlier in the gsi_trans_info structure.

Rearrange initialization in gsi_channel_trans_init() so it
sets the tre_avail value first, then initializes the transaction
pool, and finally allocating the transaction map.

Update comments.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ipa/gsi.h
drivers/net/ipa/gsi_trans.c