aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorAlex Elder <[email protected]>2024-01-30 13:22:59 -0600
committerJakub Kicinski <[email protected]>2024-02-01 20:50:36 -0800
commit844ecc4aa78e2f291071025cf76a98287b38856a (patch)
tree1efe56cfb0fb01c2c2b61cd0c22f84641079b824 /lib/memory-notifier-error-inject.c
parent102c28b83ddf021c9902dc59e6436278a0975916 (diff)
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions