]> git.baikalelectronics.ru Git - kernel.git/commit
net: ipa: pass GSI pointer to gsi_evt_ring_rx_update()
authorAlex Elder <elder@linaro.org>
Wed, 15 Jun 2022 16:59:27 +0000 (11:59 -0500)
committerJakub Kicinski <kuba@kernel.org>
Fri, 17 Jun 2022 03:44:03 +0000 (20:44 -0700)
commite5d1f9957ee95c218bc6efe00caca6f7b54c79b3
tree2193549ff94f01e34a598db85f84d18b49054bf3
parent8fd6eae9fded16edd769c5c096f5ea45e6715a13
net: ipa: pass GSI pointer to gsi_evt_ring_rx_update()

The only reason the event ring's channel pointer is needed in
gsi_evt_ring_rx_update() is so we can get at its GSI pointer.

We can pass the GSI pointer as an argument, along with the event
ring ID, and thereby avoid using the event ring channel pointer.
This is another step toward no longer assuming an event ring
services a single channel.

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