Skip to content

QRTR flow control improvements

Bjorn Andersson linux-arm-msm lkml netdev 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest5 patches 1 replyIn review
  2. v35 patches 2 repliesSuperseded
  3. v25 patches 1 replySuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v15 patches3 repliesSuperseded

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5net: qrtr: Move resume-tx transmission to recvmsgnet/qrtr/qrtr.c+33 -270 replies
2/5net: qrtr: Implement outgoing flow controlnet/qrtr/qrtr.c+187 -70 replies
3/5net: qrtr: Migrate node lookup tree to spinlocknet/qrtr/qrtr.c+14 -60 replies
4/5net: qrtr: Make qrtr_port_lookup() use RCUnet/qrtr/qrtr.c+6 -20 replies
5/5net: qrtr: Remove receive workernet/qrtr/qrtr.c+17 -400 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [PATCH v4 0/5] QRTR flow control improvements

In order to prevent overconsumption of resources on the remote side QRTR implements a flow control mechanism.

Move the handling of the incoming confirm_rx to the receiving process to ensure incoming flow is controlled. Then implement outgoing flow control, using the recommended algorithm of counting outstanding non-confirmed messages and blocking when hitting a limit. The last three patches refactors the node assignment and port lookup, in order to remove the worker in the receive path.

Bjorn Andersson (5):
net: qrtr: Move resume-tx transmission to recvmsg
net: qrtr: Implement outgoing flow control
net: qrtr: Migrate node lookup tree to spinlock
net: qrtr: Make qrtr_port_lookup() use RCU
net: qrtr: Remove receive worker

 net/qrtr/qrtr.c | 319 +++++++++++++++++++++++++++++++++++++-----------
 1 file changed, 247 insertions(+), 72 deletions(-)
Signature · 1 line
2.24.0