[PATCH net v2 0/3] net: ipa: fix two replenish bugs

From: Alex Elder
Date: Wed Jan 12 2022 - 08:30:26 EST


This series contains two fixes for bugs in the IPA receive buffer
replenishing code. The (new) second patch defines a bitmap to
represent endpoint the replenish enabled flag. Its purpose is to
prepare for the third patch, which adds an additional flag.

Version 2 of this series uses bitmap operations in the second bug
fix rather than an atomic variable, as suggested by Jakub.

-Alex

Alex Elder (3):
net: ipa: fix atomic update in ipa_endpoint_replenish()
net: ipa: use a bitmap for endpoint replenish_enabled
net: ipa: prevent concurrent replenish

drivers/net/ipa/ipa_endpoint.c | 28 ++++++++++++++++++++--------
drivers/net/ipa/ipa_endpoint.h | 17 +++++++++++++++--
2 files changed, 35 insertions(+), 10 deletions(-)

--
2.32.0