Skip to content

net: ipa: fix two replenish bugs

Alex Elder linux-arm-msm lkml netdev 2 versions – Applied

Status from this message: This series was applied to netdev/net.git (master)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 0 repliesApplied 3/3
  2. v12 patches 7 repliesSuperseded

Patches in v2 All 3 applied

#Subject and filesSizeRepliesApplied
1/3net: ipa: fix atomic update in ipa_endpoint_replenish()drivers/net/ipa/ipa_endpoint.c+3 -40 repliesApplied
2/3net: ipa: use a bitmap for endpoint replenish_enableddrivers/net/ipa/ipa_endpoint.c drivers/net/ipa/ipa_endpoint.h+17 -60 repliesApplied
3/3net: ipa: prevent concurrent replenishdrivers/net/ipa/ipa_endpoint.c drivers/net/ipa/ipa_endpoint.h+15 -00 repliesApplied

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchMatthias Kaehlcke
1/3R-b
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

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

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(-)
Signature · 1 line
2.32.0