Home
last modified time | relevance | path

Searched hist:b1750723c99c5a4d9b452b5e51a9fd3227fceecb (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/ipa/
H A Dgsi.cdiff b1750723c99c5a4d9b452b5e51a9fd3227fceecb Fri Feb 05 16:10:55 CST 2021 Alex Elder <elder@linaro.org> net: ipa: synchronize NAPI only for suspend

When stopping a channel, gsi_channel_stop() will ensure NAPI
polling is complete when it calls napi_disable(). So there is no
need to call napi_synchronize() in that case.

Move the call to napi_synchronize() out of __gsi_channel_stop()
and into gsi_channel_suspend(), so it's only used where needed.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>