lkml.org 
[lkml]   [2022]   [Jan]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH net v2 0/3] net: ipa: fix two replenish bugs
Date
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

\
 
 \ /
  Last update: 2022-01-12 14:31    [W:0.144 / U:1.380 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site