• Alex Elder's avatar
    net: ipa: move more code out of gsi_channel_update() · 81765eea
    Alex Elder authored
    Move the processing done for TX channels in gsi_channel_update()
    into gsi_evt_ring_rx_update().  The called function is called for
    both RX and TX channels, so rename it to be gsi_evt_ring_update().
    As a result, this code no longer assumes events in an event ring are
    associated with just one channel.
    
    Because all events in a ring are handled in that function, we can
    move the call to gsi_trans_move_complete() there, and can ring the
    event ring doorbell there as well after all new events in the ring
    have been processed.
    Signed-off-by: default avatarAlex Elder <elder@linaro.org>
    Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
    81765eea
gsi.c 65.5 KB