Messages in this thread | | | From | Alex Elder <> | Subject | [PATCH net v2 0/3] net: ipa: fix two replenish bugs | Date | Wed, 12 Jan 2022 07:30:09 -0600 |
| |
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
| |