diff options
author | Alex Elder <elder@linaro.org> | 2024-01-30 20:22:59 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-02-02 05:50:36 +0100 |
commit | 844ecc4aa78e2f291071025cf76a98287b38856a (patch) | |
tree | 1efe56cfb0fb01c2c2b61cd0c22f84641079b824 /arch | |
parent | net: ipa: stash modem TX and RX endpoints (diff) | |
download | linux-844ecc4aa78e2f291071025cf76a98287b38856a.tar.xz linux-844ecc4aa78e2f291071025cf76a98287b38856a.zip |
net: ipa: begin simplifying TX queue stop
There are a number of flags used in the IPA driver to attempt to
manage race conditions that can occur between runtime resume and
netdev transmit. If we disable TX before requesting power, we can
avoid these races entirely, simplifying things considerably.
This patch implements the main change, disabling transmit always in
the net_device->ndo_start_xmit() callback, then re-enabling it again
whenever we find power is active (or when we drop the skb).
The patches that follow will refactor the "old" code to the point
that most of it can be eliminated.
Signed-off-by: Alex Elder <elder@linaro.org>
Link: https://lore.kernel.org/r/20240130192305.250915-3-elder@linaro.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions