LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH v2 0/5] QRTR flow control improvements
@ 2019-05-31  1:17 Bjorn Andersson
  2019-05-31  1:17 ` [PATCH v2 1/5] net: qrtr: Move resume-tx transmission to recvmsg Bjorn Andersson
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Bjorn Andersson @ 2019-05-31  1:17 UTC (permalink / raw)
  To: David S. Miller
  Cc: Arun Kumar Neelakantam, Chris Lew, netdev, linux-kernel, linux-arm-msm

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 | 308 +++++++++++++++++++++++++++++++++++++-----------
 1 file changed, 239 insertions(+), 69 deletions(-)

-- 
2.18.0


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-05-31 21:46 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-31  1:17 [PATCH v2 0/5] QRTR flow control improvements Bjorn Andersson
2019-05-31  1:17 ` [PATCH v2 1/5] net: qrtr: Move resume-tx transmission to recvmsg Bjorn Andersson
2019-05-31  1:17 ` [PATCH v2 2/5] net: qrtr: Implement outgoing flow control Bjorn Andersson
2019-05-31 21:46   ` David Miller
2019-05-31  1:17 ` [PATCH v2 3/5] net: qrtr: Migrate node lookup tree to spinlock Bjorn Andersson
2019-05-31  1:17 ` [PATCH v2 4/5] net: qrtr: Make qrtr_port_lookup() use RCU Bjorn Andersson
2019-05-31  1:17 ` [PATCH v2 5/5] net: qrtr: Remove receive worker Bjorn Andersson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).